-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
types.d.ts
59 lines (52 loc) · 1.27 KB
/
types.d.ts
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import {
Palette as MuiPalette,
PaletteOptions as MuiPaletteOptions,
TypeBackground as MuiTypeBackground,
} from '@mui/material/styles/createPalette';
import { Theme as MaterialUITheme } from '@mui/material/styles';
declare module '@mui/material/styles' {
interface Palette extends MuiPalette {
tertiary: Palette['primary'];
invertFilter: string;
climbing: {
primary: string;
secondary: string;
tertiary: string;
tick: string;
active: string;
inactive: string;
border: string;
selected: string;
};
}
interface PaletteOptions extends MuiPaletteOptions {
tertiary?: MuiPaletteOptions['primary'];
invertFilter?: string;
climbing?: {
primary: string;
secondary: string;
tertiary: string;
tick: string;
active: string;
inactive: string;
border: string;
selected: string;
};
}
interface TypeBackground extends MuiTypeBackground {
elevation?: string;
hover?: string;
searchBox?: string;
searchInput?: string;
searchInputPanel?: string;
}
interface Theme {
palette: Palette;
}
interface ThemeOptions {
palette?: PaletteOptions;
}
}
declare module '@emotion/react' {
export interface Theme extends MaterialUITheme {}
}