index.ts (539B)
1 import type { Theme as MuiTheme } from '@mui/material/styles'; 2 import type { inferRouterInputs, inferRouterOutputs } from '@trpc/server'; 3 import type { AppRouter } from 'server/routers/_app'; 4 import type {} from '@mui/material/themeCssVarsAugmentation'; 5 6 export type RouterInput = inferRouterInputs<AppRouter>; 7 export type RouterOutput = inferRouterOutputs<AppRouter>; 8 9 declare module '@mui/material/styles' { 10 interface Theme { 11 vars: Omit< 12 MuiTheme, 13 'typography' | 'mixins' | 'breakpoints' | 'direction' | 'transitions' 14 >; 15 } 16 }