forked from chaitin/MonkeyCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite-env.d.ts
More file actions
30 lines (26 loc) · 879 Bytes
/
vite-env.d.ts
File metadata and controls
30 lines (26 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/// <reference types="vite/client" />
import type { PaletteColorChannel } from '@mui/material';
declare module '@mui/material/styles' {
interface TypeText {
tertiary: string;
}
interface Palette {
light: Palette['primary'] & PaletteColorChannel;
dark: Palette['primary'] & PaletteColorChannel;
disabled: Palette['primary'] & PaletteColorChannel;
}
// allow configuration using `createTheme`
interface PaletteOptions {
light?: PaletteOptions['primary'] & Partial<PaletteColorChannel>;
dark?: PaletteOptions['primary'] & Partial<PaletteColorChannel>;
disabled?: PaletteOptions['primary'] & Partial<PaletteColorChannel>;
text?: Partial<TypeText>;
}
}
declare module '@mui/material/Button' {
interface ButtonPropsColorOverrides {
light: true;
dark: true;
}
}
import type {} from '@mui/material/themeCssVarsAugmentation';