-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathmaterialUiTheme.d.ts
124 lines (115 loc) · 2.44 KB
/
materialUiTheme.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/* eslint-disable */
import { Theme } from '@material-ui/core/styles/createMuiTheme'
declare module '@mui/material/styles' {
interface PaletteColor {
100: string
200: string
300: string
400: string
500: string
600: string
700: string
800: string
}
interface SimplePaletteColorOptions {
100: string
200: string
300: string
400: string
500: string
600: string
700: string
800: string
}
interface ZIndex {
toast: number
tooltip: number
dialog: number
navBar: number
popper: number
drawer: number
sectionHead: number
}
interface ZIndexOptions {
toast: number
tooltip: number
dialog: number
navBar: number
popper: number
drawer: number
sectionHead: number
}
interface TypographyVariants {
headline: React.CSSProperties
subhead: React.CSSProperties
bodyHl: React.CSSProperties
body: React.CSSProperties
captionHl: React.CSSProperties
captionCode: React.CSSProperties
button: React.CSSProperties
note: React.CSSProperties
noteHl: React.CSSProperties
button: React.CSSProperties
caption: React.CSSProperties
}
// allow configuration using `createTheme`
interface TypographyVariantsOptions {
headline: React.CSSProperties
subhead: React.CSSProperties
bodyHl: React.CSSProperties
body: React.CSSProperties
captionHl: React.CSSProperties
captionCode: React.CSSProperties
button: React.CSSProperties
note: React.CSSProperties
noteHl: React.CSSProperties
button: React.CSSProperties
caption: React.CSSProperties
}
}
declare module '@mui/material/styles/zIndex' {
interface ZIndex {
toast: number
tooltip: number
dialog: number
navBar: number
popper: number
drawer: number
sectionHead: number
}
interface ZIndexOptions {
toast: number
tooltip: number
dialog: number
navBar: number
popper: number
drawer: number
sectionHead: number
}
}
declare module '@mui/material/Typography' {
interface TypographyPropsVariantOverrides {
headline: true
subhead: true
bodyHl: true
body: true
captionHl: true
captionCode: true
button: true
note: true
noteHl: true
button: true
h1: false
h2: false
h3: false
h4: false
h5: false
h6: false
subtitle1: false
subtitle2: false
body1: false
body2: false
caption: true
overline: false
}
}