@m4l/styles 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config.d.ts +13 -0
- package/index.d.ts +1 -0
- package/index.js +1141 -623
- package/package.json +1 -1
- package/theme/defaultThemeOptions.d.ts +1 -2
- package/theme/index.d.ts +4 -2
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +1 -5
- package/theme/overrides/M4LExtendedComponents/M4LIcon.d.ts +1 -2
- package/theme/overrides/M4LExtendedComponents/M4LImageButton.d.ts +35 -1
- package/theme/overrides/M4LExtendedComponents/M4LNavLink.d.ts +10 -0
- package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +5 -1
- package/theme/overrides/M4LExtendedComponents/M4LTypography.d.ts +5 -2
- package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.d.ts +1 -4
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +6 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +10 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +10 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.d.ts +46 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +1 -11
- package/theme/overrides/M4LRHFComponents/M4LRHFTextFieldPassword.d.ts +5 -2
- package/theme/overrides/MUIComponents/Accordion.d.ts +36 -16
- package/theme/overrides/MUIComponents/Autocomplete.d.ts +0 -3
- package/theme/overrides/MUIComponents/ButtonGroup.d.ts +8 -0
- package/theme/overrides/MUIComponents/ControlLabel.d.ts +36 -16
- package/theme/overrides/MUIComponents/DataGrid.d.ts +72 -32
- package/theme/overrides/MUIComponents/Fab.d.ts +1 -1
- package/theme/overrides/MUIComponents/Input.d.ts +72 -32
- package/theme/overrides/MUIComponents/LoadingButton.d.ts +36 -16
- package/theme/overrides/MUIComponents/Paper.d.ts +35 -0
- package/theme/overrides/MUIComponents/Table.d.ts +144 -64
- package/theme/overrides/MUIComponents/Tabs.d.ts +36 -16
- package/theme/overrides/MUIComponents/Typography.d.ts +5 -0
- package/theme/palette.d.ts +169 -30
- package/theme/shadows.d.ts +5 -50
- package/theme/typography.d.ts +146 -18
- package/types/types.d.ts +65 -1
- package/utils/getColorPresets.d.ts +9 -105
- package/utils/getColorState.d.ts +15 -0
- package/utils/getFontValue.d.ts +1 -1
- package/utils/index.d.ts +1 -0
package/index.js
CHANGED
|
@@ -1,46 +1,249 @@
|
|
|
1
|
-
import { alpha as
|
|
2
|
-
import {
|
|
1
|
+
import { alpha as t, useTheme as m } from "@mui/material/styles";
|
|
2
|
+
import { alpha as n } from "@mui/system";
|
|
3
3
|
import { alpha as F } from "@mui/material";
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
import { useResponsive as w } from "@m4l/graphics";
|
|
5
|
+
function c(o, e) {
|
|
6
|
+
return `linear-gradient(to bottom, ${o}, ${e})`;
|
|
6
7
|
}
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
8
|
+
const r = {
|
|
9
|
+
patronusBlue: {
|
|
10
|
+
10: "#CCE6FF",
|
|
11
|
+
20: "#88BCFF",
|
|
12
|
+
30: "#60A7FF",
|
|
13
|
+
40: "#3891FF",
|
|
14
|
+
50: "#0064FF",
|
|
15
|
+
60: "#0039D7",
|
|
16
|
+
70: "#001AA4",
|
|
17
|
+
80: "#00086A",
|
|
18
|
+
90: "#000033"
|
|
19
|
+
},
|
|
20
|
+
crayonBlue: {
|
|
21
|
+
10: "#A5C9FE",
|
|
22
|
+
20: "#88B7FC",
|
|
23
|
+
30: "#6AA4F9",
|
|
24
|
+
40: "#5494F3",
|
|
25
|
+
50: "#2774E6",
|
|
26
|
+
60: "#2367CC",
|
|
27
|
+
70: "#1F5AB3",
|
|
28
|
+
80: "#1A4D99",
|
|
29
|
+
90: "#113366"
|
|
30
|
+
},
|
|
31
|
+
middleYellow: {
|
|
32
|
+
10: "#FFFBCE",
|
|
33
|
+
20: "#FFF79C",
|
|
34
|
+
30: "#FFF46B",
|
|
35
|
+
40: "#FFF039",
|
|
36
|
+
50: "#FFEC08",
|
|
37
|
+
60: "#E5D400",
|
|
38
|
+
70: "#9E9200",
|
|
39
|
+
80: "#696100",
|
|
40
|
+
90: "#353100"
|
|
41
|
+
},
|
|
42
|
+
acidGreen: {
|
|
43
|
+
10: "#CDFFC2",
|
|
44
|
+
20: "#A8FF97",
|
|
45
|
+
30: "#83FF6B",
|
|
46
|
+
40: "#5EFF40",
|
|
47
|
+
50: "#39FF14",
|
|
48
|
+
60: "#47CC2D",
|
|
49
|
+
70: "#229E0A",
|
|
50
|
+
80: "#176E05",
|
|
51
|
+
90: "#0B3D00"
|
|
52
|
+
},
|
|
53
|
+
grassGreen: {
|
|
54
|
+
10: "#FDFFE6",
|
|
55
|
+
20: "#D0E4A3",
|
|
56
|
+
30: "#AFDA85",
|
|
57
|
+
40: "#87D06A",
|
|
58
|
+
50: "#4BB543",
|
|
59
|
+
60: "#438C2D",
|
|
60
|
+
70: "#3A631E",
|
|
61
|
+
80: "#2A3B11",
|
|
62
|
+
90: "#0F1206"
|
|
63
|
+
},
|
|
64
|
+
candyRed: {
|
|
65
|
+
10: "#FFD6D6",
|
|
66
|
+
20: "#EE9B9B",
|
|
67
|
+
30: "#EB7F7F",
|
|
68
|
+
40: "#E86463",
|
|
69
|
+
50: "#D73733",
|
|
70
|
+
60: "#AE1916",
|
|
71
|
+
70: "#850502",
|
|
72
|
+
80: "#5C0500",
|
|
73
|
+
90: "#330400"
|
|
74
|
+
},
|
|
75
|
+
turquiBlue: {
|
|
76
|
+
10: "#B5D9EA",
|
|
77
|
+
20: "#92BBCD",
|
|
78
|
+
30: "#709DB1 ",
|
|
79
|
+
40: "#4D7E94",
|
|
80
|
+
50: "#2A6077",
|
|
81
|
+
60: "#255569",
|
|
82
|
+
70: "#214A5A",
|
|
83
|
+
80: "#1C3E4C",
|
|
84
|
+
90: "#18333D"
|
|
85
|
+
},
|
|
86
|
+
blazeOrange: {
|
|
87
|
+
10: "#F8BE9F",
|
|
88
|
+
20: "#FAA777",
|
|
89
|
+
30: "#FC8F50",
|
|
90
|
+
40: "#FD7828",
|
|
91
|
+
50: "#FF6000",
|
|
92
|
+
60: "#DE5300",
|
|
93
|
+
70: "#BD4600",
|
|
94
|
+
80: "#9B3900",
|
|
95
|
+
90: "#6D2A00"
|
|
96
|
+
},
|
|
97
|
+
flameRed: {
|
|
98
|
+
10: "#F4BABA",
|
|
99
|
+
20: "#F59292",
|
|
100
|
+
30: "#F66A6A",
|
|
101
|
+
40: "#F64141",
|
|
102
|
+
50: "#F71919",
|
|
103
|
+
60: "#D31616",
|
|
104
|
+
70: "#AF1212",
|
|
105
|
+
80: "#8A0F0F",
|
|
106
|
+
90: "#660C0C"
|
|
107
|
+
},
|
|
108
|
+
coolGrey: {
|
|
109
|
+
10: "#BAC6CC",
|
|
110
|
+
20: "#A7B4B9",
|
|
111
|
+
30: "#94A1A6",
|
|
112
|
+
40: "#818F93",
|
|
113
|
+
50: "#6E7C80",
|
|
114
|
+
60: "#5C6A6C",
|
|
115
|
+
70: "#495859",
|
|
116
|
+
80: "#364546",
|
|
117
|
+
90: "#233333"
|
|
118
|
+
},
|
|
119
|
+
marbleLight: {
|
|
120
|
+
10: "#FEFFFF",
|
|
121
|
+
20: "#F9FBFB",
|
|
122
|
+
30: "#F4F7F7",
|
|
123
|
+
40: "#EFF3F4",
|
|
124
|
+
50: "#EAEFF0",
|
|
125
|
+
60: "#fff0",
|
|
126
|
+
70: "#fff0",
|
|
127
|
+
80: "#fff0",
|
|
128
|
+
90: "#fff0"
|
|
129
|
+
},
|
|
130
|
+
ashBlak: {
|
|
131
|
+
10: "#2F3737",
|
|
132
|
+
20: "#2A3232",
|
|
133
|
+
30: "#252C2C",
|
|
134
|
+
40: "#212727",
|
|
135
|
+
50: "#1C2121",
|
|
136
|
+
60: "#090A0A",
|
|
137
|
+
70: "#fff0",
|
|
138
|
+
80: "#fff0",
|
|
139
|
+
90: "#fff0"
|
|
140
|
+
}
|
|
141
|
+
}, $ = {
|
|
142
|
+
patronus: {
|
|
143
|
+
4: t(r.patronusBlue[50], 0.04),
|
|
144
|
+
12: t(r.patronusBlue[50], 0.12),
|
|
145
|
+
24: t(r.patronusBlue[50], 0.24),
|
|
146
|
+
36: t(r.patronusBlue[50], 0.36),
|
|
147
|
+
48: t(r.patronusBlue[50], 0.48),
|
|
148
|
+
60: t(r.patronusBlue[50], 0.6),
|
|
149
|
+
72: t(r.patronusBlue[50], 0.72)
|
|
150
|
+
},
|
|
151
|
+
turqui: {
|
|
152
|
+
4: t(r.turquiBlue[50], 0.04),
|
|
153
|
+
12: t(r.turquiBlue[50], 0.12),
|
|
154
|
+
24: t(r.turquiBlue[50], 0.24),
|
|
155
|
+
36: t(r.turquiBlue[50], 0.36),
|
|
156
|
+
48: t(r.turquiBlue[50], 0.48),
|
|
157
|
+
60: t(r.turquiBlue[50], 0.6),
|
|
158
|
+
72: t(r.turquiBlue[50], 0.72)
|
|
159
|
+
},
|
|
160
|
+
grass: {
|
|
161
|
+
4: t(r.grassGreen[50], 0.04),
|
|
162
|
+
12: t(r.grassGreen[50], 0.12),
|
|
163
|
+
24: t(r.grassGreen[50], 0.24),
|
|
164
|
+
36: t(r.grassGreen[50], 0.36),
|
|
165
|
+
48: t(r.grassGreen[50], 0.48),
|
|
166
|
+
60: t(r.grassGreen[50], 0.6),
|
|
167
|
+
72: t(r.grassGreen[50], 0.72)
|
|
168
|
+
},
|
|
169
|
+
candy: {
|
|
170
|
+
4: t(r.candyRed[50], 0.04),
|
|
171
|
+
12: t(r.candyRed[50], 0.12),
|
|
172
|
+
24: t(r.candyRed[50], 0.24),
|
|
173
|
+
36: t(r.candyRed[50], 0.36),
|
|
174
|
+
48: t(r.candyRed[50], 0.48),
|
|
175
|
+
60: t(r.candyRed[50], 0.6),
|
|
176
|
+
72: t(r.candyRed[50], 0.72)
|
|
177
|
+
},
|
|
178
|
+
blaze: {
|
|
179
|
+
4: t(r.blazeOrange[50], 0.04),
|
|
180
|
+
12: t(r.blazeOrange[50], 0.12),
|
|
181
|
+
24: t(r.blazeOrange[50], 0.24),
|
|
182
|
+
36: t(r.blazeOrange[50], 0.36),
|
|
183
|
+
48: t(r.blazeOrange[50], 0.48),
|
|
184
|
+
60: t(r.blazeOrange[50], 0.6),
|
|
185
|
+
72: t(r.blazeOrange[50], 0.72)
|
|
186
|
+
},
|
|
187
|
+
cool: {
|
|
188
|
+
4: t(r.coolGrey[70], 0.04),
|
|
189
|
+
12: t(r.coolGrey[70], 0.12),
|
|
190
|
+
24: t(r.coolGrey[70], 0.24),
|
|
191
|
+
36: t(r.coolGrey[70], 0.36),
|
|
192
|
+
48: t(r.coolGrey[70], 0.48),
|
|
193
|
+
60: t(r.coolGrey[70], 0.6),
|
|
194
|
+
72: t(r.coolGrey[70], 0.72)
|
|
195
|
+
},
|
|
196
|
+
marbel: {
|
|
197
|
+
4: t(r.marbleLight[10], 0.04),
|
|
198
|
+
12: t(r.marbleLight[10], 0.12),
|
|
199
|
+
24: t(r.marbleLight[10], 0.24),
|
|
200
|
+
36: t(r.marbleLight[10], 0.36),
|
|
201
|
+
48: t(r.marbleLight[10], 0.48),
|
|
202
|
+
60: t(r.marbleLight[10], 0.6),
|
|
203
|
+
72: t(r.marbleLight[10], 0.72)
|
|
204
|
+
}
|
|
25
205
|
}, b = {
|
|
26
|
-
lighter:
|
|
27
|
-
light:
|
|
28
|
-
main:
|
|
29
|
-
dark:
|
|
30
|
-
darker:
|
|
206
|
+
lighter: r.patronusBlue[70],
|
|
207
|
+
light: r.patronusBlue[60],
|
|
208
|
+
main: r.patronusBlue[50],
|
|
209
|
+
dark: r.patronusBlue[40],
|
|
210
|
+
darker: r.patronusBlue[20],
|
|
211
|
+
contrastText: r.marbleLight[10]
|
|
212
|
+
}, A = {
|
|
213
|
+
lighter: "#fff0",
|
|
214
|
+
light: "#fff0",
|
|
215
|
+
main: "#fff0",
|
|
216
|
+
dark: "#fff0",
|
|
217
|
+
darker: "#fff0"
|
|
31
218
|
}, y = {
|
|
32
|
-
lighter: "#
|
|
33
|
-
light: "#
|
|
34
|
-
main:
|
|
35
|
-
dark: "#
|
|
36
|
-
darker: "#
|
|
219
|
+
lighter: "#fff0",
|
|
220
|
+
light: "#fff0",
|
|
221
|
+
main: r.crayonBlue[50],
|
|
222
|
+
dark: "#fff0",
|
|
223
|
+
darker: "#fff0",
|
|
224
|
+
opacity: t(r.crayonBlue[50], 0.08)
|
|
37
225
|
}, f = {
|
|
38
|
-
lighter: "#
|
|
39
|
-
light: "#
|
|
40
|
-
main:
|
|
41
|
-
dark: "#
|
|
42
|
-
darker: "#
|
|
43
|
-
|
|
226
|
+
lighter: "#fff0",
|
|
227
|
+
light: "#fff0",
|
|
228
|
+
main: r.acidGreen[60],
|
|
229
|
+
dark: "#fff0",
|
|
230
|
+
darker: "#fff0",
|
|
231
|
+
opacity: t(r.acidGreen[60], 0.08)
|
|
232
|
+
}, h = {
|
|
233
|
+
lighter: "#fff0",
|
|
234
|
+
light: "#fff0",
|
|
235
|
+
main: r.middleYellow[60],
|
|
236
|
+
dark: "#fff0",
|
|
237
|
+
darker: "#fff0",
|
|
238
|
+
opacity: t(r.middleYellow[60], 0.08)
|
|
239
|
+
}, M = {
|
|
240
|
+
lighter: "#fff0",
|
|
241
|
+
light: "#fff0",
|
|
242
|
+
main: r.flameRed[40],
|
|
243
|
+
dark: "#fff0",
|
|
244
|
+
darker: "#fff0",
|
|
245
|
+
opacity: t(r.flameRed[40], 0.08)
|
|
246
|
+
}, x = {
|
|
44
247
|
0: "#FFFFFF",
|
|
45
248
|
100: "#F9FAFB",
|
|
46
249
|
200: "#F4F6F8",
|
|
@@ -51,340 +254,481 @@ const g = {
|
|
|
51
254
|
700: "#454F5B",
|
|
52
255
|
800: "#212B36",
|
|
53
256
|
900: "#161C24",
|
|
54
|
-
5008:
|
|
55
|
-
50012:
|
|
56
|
-
50016:
|
|
57
|
-
50024:
|
|
58
|
-
50032:
|
|
59
|
-
50048:
|
|
60
|
-
50056:
|
|
61
|
-
50080:
|
|
257
|
+
5008: t("#919EAB", 0.08),
|
|
258
|
+
50012: t("#919EAB", 0.12),
|
|
259
|
+
50016: t("#919EAB", 0.16),
|
|
260
|
+
50024: t("#919EAB", 0.24),
|
|
261
|
+
50032: t("#919EAB", 0.32),
|
|
262
|
+
50048: t("#919EAB", 0.48),
|
|
263
|
+
50056: t("#919EAB", 0.56),
|
|
264
|
+
50080: t("#919EAB", 0.8)
|
|
62
265
|
}, T = {
|
|
63
|
-
primary:
|
|
64
|
-
info:
|
|
65
|
-
success:
|
|
66
|
-
warning:
|
|
67
|
-
error:
|
|
266
|
+
primary: c(b.light, b.main),
|
|
267
|
+
info: c(y.light, y.main),
|
|
268
|
+
success: c(f.light, f.main),
|
|
269
|
+
warning: c(h.light, h.main),
|
|
270
|
+
error: c(M.light, M.main)
|
|
68
271
|
}, D = {
|
|
69
272
|
violet: ["#826AF9", "#9E86FF", "#D0AEFF", "#F7D2FF"],
|
|
70
273
|
blue: ["#2D99FF", "#83CFFF", "#A5F3FF", "#CCFAFF"],
|
|
71
274
|
green: ["#2CD9C5", "#60F1C8", "#A4F7CC", "#C0F2DC"],
|
|
72
275
|
yellow: ["#FFE700", "#FFEF5A", "#FFF7AE", "#FFF3D6"],
|
|
73
276
|
red: ["#FF6C40", "#FF8F6D", "#FFBD98", "#FFF2D4"]
|
|
74
|
-
},
|
|
277
|
+
}, I = {
|
|
278
|
+
normal: r.crayonBlue[50],
|
|
279
|
+
hover: r.crayonBlue[70]
|
|
280
|
+
}, z = {
|
|
281
|
+
normal: r.acidGreen[60],
|
|
282
|
+
hover: r.acidGreen[70]
|
|
283
|
+
}, G = {
|
|
284
|
+
normal: r.flameRed[40],
|
|
285
|
+
hover: r.flameRed[60]
|
|
286
|
+
}, E = {
|
|
287
|
+
normal: r.flameRed[60],
|
|
288
|
+
hover: r.flameRed[70]
|
|
289
|
+
}, H = {
|
|
290
|
+
default: t(r.coolGrey[50], 0.24),
|
|
291
|
+
transition: t(r.coolGrey[50], 0.08)
|
|
292
|
+
}, l = {
|
|
293
|
+
info: { ...I },
|
|
294
|
+
success: { ...z },
|
|
295
|
+
error: { ...G },
|
|
296
|
+
warning: { ...E },
|
|
297
|
+
skeleton: { ...H }
|
|
298
|
+
}, k = {
|
|
75
299
|
common: { black: "#000", white: "#fff" },
|
|
76
|
-
primary: { ...
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
300
|
+
primary: { ...b },
|
|
301
|
+
state: {
|
|
302
|
+
...l
|
|
303
|
+
},
|
|
304
|
+
patronus: { ...r },
|
|
305
|
+
opacity: { ...$ },
|
|
306
|
+
secondary: { ...A, contrastText: "#fff" },
|
|
307
|
+
info: { ...y, contrastText: "#fff" },
|
|
308
|
+
success: { ...f, contrastText: x[800] },
|
|
309
|
+
warning: { ...h, contrastText: x[800] },
|
|
310
|
+
error: { ...M, contrastText: "#fff" },
|
|
311
|
+
grey: x,
|
|
83
312
|
gradients: T,
|
|
84
313
|
chart: D,
|
|
85
|
-
divider:
|
|
314
|
+
divider: x[50024],
|
|
86
315
|
action: {
|
|
87
|
-
hover: a[5008],
|
|
88
|
-
selected: a[50016],
|
|
89
|
-
disabled: a[50080],
|
|
90
|
-
disabledBackground: a[50024],
|
|
91
|
-
focus: a[50024],
|
|
92
316
|
hoverOpacity: 0.08,
|
|
93
317
|
disabledOpacity: 0.48
|
|
94
318
|
}
|
|
95
|
-
},
|
|
319
|
+
}, d = {
|
|
96
320
|
light: {
|
|
97
|
-
...
|
|
321
|
+
...k,
|
|
98
322
|
mode: "light",
|
|
99
|
-
text: { primary:
|
|
323
|
+
text: { primary: r.ashBlak[10], secondary: r.coolGrey[40], disabled: r.coolGrey[10] },
|
|
100
324
|
background: {
|
|
101
|
-
paper: "#
|
|
102
|
-
default:
|
|
103
|
-
neutral:
|
|
104
|
-
|
|
105
|
-
header: "#F6F7F9"
|
|
325
|
+
paper: "#fff0",
|
|
326
|
+
default: r.marbleLight[10],
|
|
327
|
+
neutral: r.marbleLight[30],
|
|
328
|
+
background: r.marbleLight[50]
|
|
106
329
|
},
|
|
107
|
-
action: { active: a[600], ...c.action },
|
|
108
330
|
grid: { sectionHeader: "#F6F7F9", divider: "#EDEFF2", rowHover: "#FAFBFC" }
|
|
109
331
|
},
|
|
110
332
|
dark: {
|
|
111
|
-
...
|
|
333
|
+
...k,
|
|
112
334
|
mode: "dark",
|
|
113
|
-
text: { primary:
|
|
335
|
+
text: { primary: r.marbleLight[30], secondary: r.coolGrey[20], disabled: r.coolGrey[50] },
|
|
114
336
|
background: {
|
|
115
|
-
paper:
|
|
116
|
-
default:
|
|
117
|
-
neutral:
|
|
118
|
-
|
|
119
|
-
header: "#29313A"
|
|
337
|
+
paper: "#fff0",
|
|
338
|
+
default: r.ashBlak[10],
|
|
339
|
+
neutral: r.ashBlak[30],
|
|
340
|
+
background: r.ashBlak[50]
|
|
120
341
|
},
|
|
121
|
-
action: { active: a[500], ...c.action },
|
|
122
342
|
grid: { sectionHeader: "#29313A", divider: "#3E464F", rowHover: "#1F262F" }
|
|
123
343
|
}
|
|
124
|
-
},
|
|
344
|
+
}, g = [
|
|
125
345
|
{
|
|
126
|
-
name: "
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
346
|
+
name: "patronus",
|
|
347
|
+
lighter: r.patronusBlue[70],
|
|
348
|
+
light: r.patronusBlue[60],
|
|
349
|
+
main: r.patronusBlue[50],
|
|
350
|
+
dark: r.patronusBlue[40],
|
|
351
|
+
darker: r.patronusBlue[20],
|
|
352
|
+
contrastText: r.marbleLight[10]
|
|
132
353
|
},
|
|
133
354
|
{
|
|
134
|
-
name: "
|
|
135
|
-
lighter:
|
|
136
|
-
light:
|
|
137
|
-
main:
|
|
138
|
-
dark:
|
|
139
|
-
darker:
|
|
140
|
-
contrastText:
|
|
355
|
+
name: "turqui",
|
|
356
|
+
lighter: r.turquiBlue[80],
|
|
357
|
+
light: r.turquiBlue[60],
|
|
358
|
+
main: r.turquiBlue[40],
|
|
359
|
+
dark: r.turquiBlue[50],
|
|
360
|
+
darker: r.turquiBlue[20],
|
|
361
|
+
contrastText: r.marbleLight[10]
|
|
141
362
|
},
|
|
142
363
|
{
|
|
143
|
-
name: "
|
|
144
|
-
lighter:
|
|
145
|
-
light:
|
|
146
|
-
main:
|
|
147
|
-
dark:
|
|
148
|
-
darker:
|
|
149
|
-
contrastText:
|
|
364
|
+
name: "grass",
|
|
365
|
+
lighter: r.grassGreen[80],
|
|
366
|
+
light: r.grassGreen[50],
|
|
367
|
+
main: r.grassGreen[60],
|
|
368
|
+
dark: r.grassGreen[40],
|
|
369
|
+
darker: r.grassGreen[20],
|
|
370
|
+
contrastText: r.marbleLight[10]
|
|
150
371
|
},
|
|
151
372
|
{
|
|
152
|
-
name: "
|
|
153
|
-
lighter:
|
|
154
|
-
light:
|
|
155
|
-
main:
|
|
156
|
-
dark:
|
|
157
|
-
darker:
|
|
158
|
-
contrastText:
|
|
373
|
+
name: "candy",
|
|
374
|
+
lighter: r.candyRed[70],
|
|
375
|
+
light: r.candyRed[60],
|
|
376
|
+
main: r.candyRed[50],
|
|
377
|
+
dark: r.candyRed[40],
|
|
378
|
+
darker: r.candyRed[30],
|
|
379
|
+
contrastText: r.marbleLight[10]
|
|
159
380
|
},
|
|
160
381
|
{
|
|
161
|
-
name: "
|
|
162
|
-
lighter:
|
|
163
|
-
light:
|
|
164
|
-
main:
|
|
165
|
-
dark:
|
|
166
|
-
darker:
|
|
167
|
-
contrastText:
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
name: "red",
|
|
171
|
-
lighter: "#FFE3D5",
|
|
172
|
-
light: "#FFC1AC",
|
|
173
|
-
main: "#FF3030",
|
|
174
|
-
dark: "#B71833",
|
|
175
|
-
darker: "#7A0930",
|
|
176
|
-
contrastText: "#fff"
|
|
382
|
+
name: "blaze",
|
|
383
|
+
lighter: r.blazeOrange[80],
|
|
384
|
+
light: r.blazeOrange[50],
|
|
385
|
+
main: r.blazeOrange[60],
|
|
386
|
+
dark: r.blazeOrange[40],
|
|
387
|
+
darker: r.blazeOrange[20],
|
|
388
|
+
contrastText: r.marbleLight[10]
|
|
177
389
|
}
|
|
178
|
-
],
|
|
179
|
-
function
|
|
390
|
+
], P = g[0], W = g[1], q = g[2], _ = g[3], N = g[4];
|
|
391
|
+
function ir(o) {
|
|
180
392
|
return {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
}[r];
|
|
393
|
+
patronus: P,
|
|
394
|
+
turqui: W,
|
|
395
|
+
grass: q,
|
|
396
|
+
candy: _,
|
|
397
|
+
blaze: N
|
|
398
|
+
}[o];
|
|
188
399
|
}
|
|
189
|
-
|
|
190
|
-
|
|
400
|
+
const nr = (o, e) => {
|
|
401
|
+
let a = {};
|
|
402
|
+
switch (o) {
|
|
403
|
+
case "patronus":
|
|
404
|
+
a = {
|
|
405
|
+
light: {
|
|
406
|
+
active12: n(r.patronusBlue[50], 0.12),
|
|
407
|
+
active: r.patronusBlue[50],
|
|
408
|
+
focus: r.patronusBlue[70],
|
|
409
|
+
hover: r.patronusBlue[60],
|
|
410
|
+
default: n(r.coolGrey[70], 0.12),
|
|
411
|
+
...l
|
|
412
|
+
},
|
|
413
|
+
dark: {
|
|
414
|
+
active12: n(r.patronusBlue[50], 0.12),
|
|
415
|
+
active: r.patronusBlue[50],
|
|
416
|
+
focus: r.patronusBlue[70],
|
|
417
|
+
hover: r.patronusBlue[60],
|
|
418
|
+
default: n(r.marbleLight[10], 0.12),
|
|
419
|
+
...l
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
break;
|
|
423
|
+
case "turqui":
|
|
424
|
+
a = {
|
|
425
|
+
light: {
|
|
426
|
+
active12: n(r.turquiBlue[50], 0.12),
|
|
427
|
+
active: r.turquiBlue[50],
|
|
428
|
+
focus: r.turquiBlue[70],
|
|
429
|
+
hover: r.turquiBlue[60],
|
|
430
|
+
default: n(r.coolGrey[70], 0.12),
|
|
431
|
+
...l
|
|
432
|
+
},
|
|
433
|
+
dark: {
|
|
434
|
+
active12: n(r.patronusBlue[50], 0.12),
|
|
435
|
+
active: r.patronusBlue[50],
|
|
436
|
+
focus: r.patronusBlue[30],
|
|
437
|
+
hover: r.patronusBlue[40],
|
|
438
|
+
default: n(r.marbleLight[10], 0.12),
|
|
439
|
+
...l
|
|
440
|
+
}
|
|
441
|
+
};
|
|
442
|
+
break;
|
|
443
|
+
case "grass":
|
|
444
|
+
a = {
|
|
445
|
+
light: {
|
|
446
|
+
active12: n(r.grassGreen[50], 0.12),
|
|
447
|
+
active: r.grassGreen[50],
|
|
448
|
+
focus: r.grassGreen[70],
|
|
449
|
+
hover: r.grassGreen[60],
|
|
450
|
+
default: n(r.coolGrey[70], 0.12),
|
|
451
|
+
...l
|
|
452
|
+
},
|
|
453
|
+
dark: {
|
|
454
|
+
active12: n(r.grassGreen[50], 0.12),
|
|
455
|
+
active: r.grassGreen[50],
|
|
456
|
+
focus: r.grassGreen[30],
|
|
457
|
+
hover: r.grassGreen[40],
|
|
458
|
+
default: n(r.marbleLight[10], 0.12),
|
|
459
|
+
...l
|
|
460
|
+
}
|
|
461
|
+
};
|
|
462
|
+
break;
|
|
463
|
+
case "candy":
|
|
464
|
+
a = {
|
|
465
|
+
light: {
|
|
466
|
+
active12: n(r.candyRed[50], 0.12),
|
|
467
|
+
active: r.candyRed[50],
|
|
468
|
+
focus: r.candyRed[70],
|
|
469
|
+
hover: r.candyRed[60],
|
|
470
|
+
default: n(r.coolGrey[70], 0.12),
|
|
471
|
+
...l
|
|
472
|
+
},
|
|
473
|
+
dark: {
|
|
474
|
+
active12: n(r.candyRed[50], 0.12),
|
|
475
|
+
active: r.candyRed[50],
|
|
476
|
+
focus: r.candyRed[30],
|
|
477
|
+
hover: r.candyRed[40],
|
|
478
|
+
default: n(r.marbleLight[10], 0.12),
|
|
479
|
+
...l
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
break;
|
|
483
|
+
case "blaze":
|
|
484
|
+
a = {
|
|
485
|
+
light: {
|
|
486
|
+
active12: n(r.blazeOrange[50], 0.12),
|
|
487
|
+
active: r.blazeOrange[50],
|
|
488
|
+
focus: r.blazeOrange[70],
|
|
489
|
+
hover: r.blazeOrange[60],
|
|
490
|
+
default: n(r.coolGrey[70], 0.12),
|
|
491
|
+
...l
|
|
492
|
+
},
|
|
493
|
+
dark: {
|
|
494
|
+
active12: n(r.patronusBlue[50], 0.12),
|
|
495
|
+
active: r.patronusBlue[50],
|
|
496
|
+
focus: r.patronusBlue[70],
|
|
497
|
+
hover: r.patronusBlue[60],
|
|
498
|
+
default: n(r.marbleLight[10], 0.12),
|
|
499
|
+
...l
|
|
500
|
+
}
|
|
501
|
+
};
|
|
502
|
+
break;
|
|
503
|
+
default:
|
|
504
|
+
a = {
|
|
505
|
+
light: {
|
|
506
|
+
active12: n(r.turquiBlue[50], 0.12),
|
|
507
|
+
active: r.turquiBlue[50],
|
|
508
|
+
focus: r.turquiBlue[70],
|
|
509
|
+
hover: r.turquiBlue[60],
|
|
510
|
+
default: n(r.coolGrey[70], 0.12),
|
|
511
|
+
...l
|
|
512
|
+
},
|
|
513
|
+
dark: {
|
|
514
|
+
active12: n(r.patronusBlue[50], 0.12),
|
|
515
|
+
active: r.patronusBlue[50],
|
|
516
|
+
focus: r.patronusBlue[30],
|
|
517
|
+
hover: r.patronusBlue[40],
|
|
518
|
+
default: n(r.marbleLight[10], 0.12),
|
|
519
|
+
...l
|
|
520
|
+
}
|
|
521
|
+
};
|
|
522
|
+
break;
|
|
523
|
+
}
|
|
524
|
+
return e === "light" ? { ...a.light } : { ...a.dark };
|
|
525
|
+
};
|
|
526
|
+
function Y(o) {
|
|
527
|
+
return Math.round(parseFloat(o) * 16);
|
|
191
528
|
}
|
|
192
|
-
function
|
|
193
|
-
return `${
|
|
529
|
+
function s(o) {
|
|
530
|
+
return `${o / 16}rem`;
|
|
194
531
|
}
|
|
195
|
-
function
|
|
532
|
+
function p({ sm: o, md: e, lg: a }) {
|
|
196
533
|
return {
|
|
197
|
-
"@media (min-width:
|
|
198
|
-
fontSize:
|
|
534
|
+
"@media (min-width:0px)": {
|
|
535
|
+
fontSize: `${o}px`
|
|
199
536
|
},
|
|
200
537
|
"@media (min-width:900px)": {
|
|
201
|
-
fontSize:
|
|
538
|
+
fontSize: `${e}px`
|
|
202
539
|
},
|
|
203
540
|
"@media (min-width:1200px)": {
|
|
204
|
-
fontSize:
|
|
541
|
+
fontSize: `${a}px`
|
|
205
542
|
}
|
|
206
543
|
};
|
|
207
544
|
}
|
|
208
|
-
function
|
|
209
|
-
return [...
|
|
210
|
-
const
|
|
211
|
-
return !
|
|
545
|
+
function j() {
|
|
546
|
+
return [...m().breakpoints.keys].reverse().reduce((a, i) => {
|
|
547
|
+
const v = w("up", i);
|
|
548
|
+
return !a && v ? i : a;
|
|
212
549
|
}, null) || "xs";
|
|
213
550
|
}
|
|
214
|
-
function
|
|
215
|
-
const
|
|
216
|
-
return { fontSize:
|
|
551
|
+
function pr(o) {
|
|
552
|
+
const e = m(), a = j(), i = e.breakpoints.up(a === "xl" ? "lg" : a), R = (o === "h1" || o === "h2" || o === "h3" || o === "h4" || o === "h5" || o === "h6") && e.typography[o][i] ? e.typography[o][i] : e.typography[o], B = Y(R.fontSize), S = Number(e.typography[o].lineHeight) * B, { fontWeight: L, letterSpacing: O } = e.typography[o];
|
|
553
|
+
return { fontSize: B, lineHeight: S, fontWeight: L, letterSpacing: O };
|
|
217
554
|
}
|
|
218
|
-
const
|
|
219
|
-
fontFamily:
|
|
555
|
+
const V = "Poppins, sans-serif", U = {
|
|
556
|
+
fontFamily: V,
|
|
220
557
|
fontWeightRegular: 400,
|
|
221
558
|
fontWeightMedium: 600,
|
|
222
559
|
fontWeightBold: 700,
|
|
223
560
|
h1: {
|
|
224
561
|
fontWeight: 700,
|
|
225
|
-
lineHeight:
|
|
226
|
-
|
|
227
|
-
letterSpacing: 2,
|
|
228
|
-
...d({ sm: 52, md: 58, lg: 64 })
|
|
562
|
+
lineHeight: 1.5,
|
|
563
|
+
...p({ sm: 40, md: 40, lg: 40 })
|
|
229
564
|
},
|
|
230
565
|
h2: {
|
|
231
566
|
fontWeight: 700,
|
|
232
|
-
lineHeight:
|
|
233
|
-
|
|
234
|
-
...d({ sm: 40, md: 44, lg: 48 })
|
|
567
|
+
lineHeight: 1,
|
|
568
|
+
...p({ sm: 40, md: 44, lg: 48 })
|
|
235
569
|
},
|
|
236
570
|
h3: {
|
|
237
|
-
fontWeight:
|
|
571
|
+
fontWeight: 600,
|
|
238
572
|
lineHeight: 1.5,
|
|
239
|
-
|
|
240
|
-
...d({ sm: 26, md: 30, lg: 32 })
|
|
573
|
+
...p({ sm: 32, md: 32, lg: 32 })
|
|
241
574
|
},
|
|
242
575
|
h4: {
|
|
243
576
|
fontWeight: 700,
|
|
244
577
|
lineHeight: 1.5,
|
|
245
|
-
|
|
246
|
-
...d({ sm: 20, md: 24, lg: 24 })
|
|
578
|
+
...p({ sm: 20, md: 24, lg: 24 })
|
|
247
579
|
},
|
|
248
580
|
h5: {
|
|
249
|
-
fontWeight:
|
|
581
|
+
fontWeight: 600,
|
|
250
582
|
lineHeight: 1.5,
|
|
251
|
-
|
|
252
|
-
...d({ sm: 19, md: 20, lg: 20 })
|
|
583
|
+
...p({ sm: 24, md: 24, lg: 24 })
|
|
253
584
|
},
|
|
254
585
|
h6: {
|
|
255
586
|
fontWeight: 700,
|
|
256
587
|
lineHeight: 28 / 18,
|
|
257
|
-
|
|
258
|
-
|
|
588
|
+
...p({ sm: 18, md: 18, lg: 18 })
|
|
589
|
+
},
|
|
590
|
+
subtitle: {
|
|
591
|
+
fontWeight: 400,
|
|
592
|
+
lineHeight: 1.5,
|
|
593
|
+
...p({ sm: 18, md: 16, lg: 16 })
|
|
594
|
+
},
|
|
595
|
+
subtitleDens: {
|
|
596
|
+
fontWeight: 700,
|
|
597
|
+
lineHeight: 1.5,
|
|
598
|
+
...p({ sm: 18, md: 16, lg: 16 })
|
|
599
|
+
},
|
|
600
|
+
paragraph: {
|
|
601
|
+
fontWeight: 400,
|
|
602
|
+
lineHeight: 1.429,
|
|
603
|
+
...p({ sm: 16, md: 20, lg: 20 })
|
|
604
|
+
},
|
|
605
|
+
paragraphDens: {
|
|
606
|
+
fontWeight: 600,
|
|
607
|
+
lineHeight: 1.429,
|
|
608
|
+
...p({ sm: 16, md: 14, lg: 14 })
|
|
259
609
|
},
|
|
260
610
|
subtitle1: {
|
|
261
611
|
fontWeight: 600,
|
|
262
612
|
lineHeight: 1.5,
|
|
263
|
-
fontSize:
|
|
613
|
+
fontSize: s(14)
|
|
264
614
|
},
|
|
265
615
|
subtitle2: {
|
|
266
616
|
fontWeight: 600,
|
|
267
617
|
lineHeight: 1.5,
|
|
268
|
-
fontSize:
|
|
618
|
+
fontSize: s(12)
|
|
619
|
+
},
|
|
620
|
+
body: {
|
|
621
|
+
fontWeight: 400,
|
|
622
|
+
lineHeight: 1.143,
|
|
623
|
+
...p({ sm: 14, md: 12, lg: 12 })
|
|
624
|
+
},
|
|
625
|
+
bodyDens: {
|
|
626
|
+
fontWeight: 700,
|
|
627
|
+
lineHeight: 1.143,
|
|
628
|
+
...p({ sm: 14, md: 12, lg: 12 })
|
|
269
629
|
},
|
|
270
630
|
body0: {
|
|
271
631
|
lineHeight: 1.5,
|
|
272
632
|
fontWeight: 400,
|
|
273
|
-
fontSize:
|
|
633
|
+
fontSize: s(16)
|
|
274
634
|
},
|
|
275
635
|
body1: {
|
|
276
636
|
lineHeight: 1.5,
|
|
277
637
|
fontWeight: 400,
|
|
278
|
-
fontSize:
|
|
638
|
+
fontSize: s(14)
|
|
279
639
|
},
|
|
280
640
|
body2: {
|
|
281
641
|
lineHeight: 1.5,
|
|
282
642
|
fontWeight: 400,
|
|
283
|
-
fontSize:
|
|
643
|
+
fontSize: s(12)
|
|
284
644
|
},
|
|
285
645
|
caption: {
|
|
286
646
|
lineHeight: 1.5,
|
|
287
|
-
fontSize:
|
|
647
|
+
fontSize: s(11)
|
|
288
648
|
},
|
|
289
649
|
overline: {
|
|
290
650
|
fontWeight: 700,
|
|
291
651
|
lineHeight: 1.5,
|
|
292
|
-
fontSize:
|
|
652
|
+
fontSize: s(12),
|
|
293
653
|
textTransform: "uppercase"
|
|
294
654
|
},
|
|
295
655
|
button: {
|
|
296
656
|
fontWeight: 700,
|
|
297
657
|
lineHeight: 24 / 14,
|
|
298
|
-
fontSize:
|
|
658
|
+
fontSize: s(14),
|
|
299
659
|
textTransform: "capitalize"
|
|
660
|
+
},
|
|
661
|
+
action: {
|
|
662
|
+
fontWeight: 500,
|
|
663
|
+
lineHeight: 1.667,
|
|
664
|
+
...p({ sm: 14, md: 12, lg: 12 })
|
|
300
665
|
}
|
|
301
|
-
},
|
|
302
|
-
|
|
666
|
+
}, lr = {
|
|
667
|
+
typography: U
|
|
668
|
+
}, K = d.light.grey[500], J = "#000000", C = (o) => {
|
|
669
|
+
const e = t(o, 0.2), a = t(o, 0.14), i = t(o, 0.12);
|
|
303
670
|
return [
|
|
304
671
|
"none",
|
|
305
|
-
`0px 2px 1px -1px ${
|
|
306
|
-
`0px 3px 1px -2px ${
|
|
307
|
-
`0px 3px 3px -2px ${
|
|
308
|
-
`0px 2px 4px -1px ${
|
|
309
|
-
`0px 3px 5px -1px ${
|
|
310
|
-
`0px 3px 5px -1px ${
|
|
311
|
-
`0px 4px 5px -2px ${
|
|
312
|
-
`0px 5px 5px -3px ${
|
|
313
|
-
`0px 5px 6px -3px ${
|
|
314
|
-
`0px 6px 6px -3px ${
|
|
315
|
-
`0px 6px 7px -4px ${
|
|
316
|
-
`0px 7px 8px -4px ${
|
|
317
|
-
`0px 7px 8px -4px ${
|
|
318
|
-
`0px 7px 9px -4px ${
|
|
319
|
-
`0px 8px 9px -5px ${
|
|
320
|
-
`0px 8px 10px -5px ${
|
|
321
|
-
`0px 8px 11px -5px ${
|
|
322
|
-
`0px 9px 11px -5px ${
|
|
323
|
-
`0px 9px 12px -6px ${
|
|
324
|
-
`0px 10px 13px -6px ${
|
|
325
|
-
`0px 10px 13px -6px ${
|
|
326
|
-
`0px 10px 14px -6px ${
|
|
327
|
-
`0px 11px 14px -7px ${
|
|
328
|
-
`0px 11px 15px -7px ${
|
|
672
|
+
`0px 2px 1px -1px ${e},0px 1px 1px 0px ${a},0px 1px 3px 0px ${i}`,
|
|
673
|
+
`0px 3px 1px -2px ${e},0px 2px 2px 0px ${a},0px 1px 5px 0px ${i}`,
|
|
674
|
+
`0px 3px 3px -2px ${e},0px 3px 4px 0px ${a},0px 1px 8px 0px ${i}`,
|
|
675
|
+
`0px 2px 4px -1px ${e},0px 4px 5px 0px ${a},0px 1px 10px 0px ${i}`,
|
|
676
|
+
`0px 3px 5px -1px ${e},0px 5px 8px 0px ${a},0px 1px 14px 0px ${i}`,
|
|
677
|
+
`0px 3px 5px -1px ${e},0px 6px 10px 0px ${a},0px 1px 18px 0px ${i}`,
|
|
678
|
+
`0px 4px 5px -2px ${e},0px 7px 10px 1px ${a},0px 2px 16px 1px ${i}`,
|
|
679
|
+
`0px 5px 5px -3px ${e},0px 8px 10px 1px ${a},0px 3px 14px 2px ${i}`,
|
|
680
|
+
`0px 5px 6px -3px ${e},0px 9px 12px 1px ${a},0px 3px 16px 2px ${i}`,
|
|
681
|
+
`0px 6px 6px -3px ${e},0px 10px 14px 1px ${a},0px 4px 18px 3px ${i}`,
|
|
682
|
+
`0px 6px 7px -4px ${e},0px 11px 15px 1px ${a},0px 4px 20px 3px ${i}`,
|
|
683
|
+
`0px 7px 8px -4px ${e},0px 12px 17px 2px ${a},0px 5px 22px 4px ${i}`,
|
|
684
|
+
`0px 7px 8px -4px ${e},0px 13px 19px 2px ${a},0px 5px 24px 4px ${i}`,
|
|
685
|
+
`0px 7px 9px -4px ${e},0px 14px 21px 2px ${a},0px 5px 26px 4px ${i}`,
|
|
686
|
+
`0px 8px 9px -5px ${e},0px 15px 22px 2px ${a},0px 6px 28px 5px ${i}`,
|
|
687
|
+
`0px 8px 10px -5px ${e},0px 16px 24px 2px ${a},0px 6px 30px 5px ${i}`,
|
|
688
|
+
`0px 8px 11px -5px ${e},0px 17px 26px 2px ${a},0px 6px 32px 5px ${i}`,
|
|
689
|
+
`0px 9px 11px -5px ${e},0px 18px 28px 2px ${a},0px 7px 34px 6px ${i}`,
|
|
690
|
+
`0px 9px 12px -6px ${e},0px 19px 29px 2px ${a},0px 7px 36px 6px ${i}`,
|
|
691
|
+
`0px 10px 13px -6px ${e},0px 20px 31px 3px ${a},0px 8px 38px 7px ${i}`,
|
|
692
|
+
`0px 10px 13px -6px ${e},0px 21px 33px 3px ${a},0px 8px 40px 7px ${i}`,
|
|
693
|
+
`0px 10px 14px -6px ${e},0px 22px 35px 3px ${a},0px 8px 42px 7px ${i}`,
|
|
694
|
+
`0px 11px 14px -7px ${e},0px 23px 36px 3px ${a},0px 9px 44px 8px ${i}`,
|
|
695
|
+
`0px 11px 15px -7px ${e},0px 24px 38px 3px ${a},0px 9px 46px 8px ${i}`
|
|
329
696
|
];
|
|
330
|
-
},
|
|
331
|
-
const
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
info: `0 8px 16px 0 ${e(p.light.info.main, 0.24)}`,
|
|
341
|
-
secondary: `0 8px 16px 0 ${e(p.light.secondary.main, 0.24)}`,
|
|
342
|
-
success: `0 8px 16px 0 ${e(p.light.success.main, 0.24)}`,
|
|
343
|
-
warning: `0 8px 16px 0 ${e(p.light.warning.main, 0.24)}`,
|
|
344
|
-
error: `0 8px 16px 0 ${e(p.light.error.main, 0.24)}`,
|
|
345
|
-
card: `0 0 2px 0 ${e(r, 0.2)}, 0 12px 24px -4px ${e(r, 0.12)}`,
|
|
346
|
-
dialog: `-40px 40px 80px -8px ${e(p.light.common.black, 0.24)}`,
|
|
347
|
-
dropdown: `0 0 2px 0 ${e(r, 0.24)}, -20px 20px 40px -4px ${e(r, 0.24)}`
|
|
697
|
+
}, sr = (o) => {
|
|
698
|
+
const e = {
|
|
699
|
+
info: `0px 2px 8px 0px ${t(r.patronusBlue[50], 0.2)}`,
|
|
700
|
+
secondary: `0px 2px 8px 0px ${t(d.light.secondary.main, 0.24)}`,
|
|
701
|
+
success: `0px 2px 8px 0px ${t(r.acidGreen[50], 0.2)}`,
|
|
702
|
+
warning: `0px 2px 8px 0px ${t(r.middleYellow[50], 0.2)}`,
|
|
703
|
+
error: `0px 2px 8px 0px ${t(r.flameRed[50], 0.2)}`,
|
|
704
|
+
card: `0 0 2px 0 ${t(d.light.grey[500], 0.2)}, 0 12px 24px -4px ${t(d.light.grey[500], 0.12)}`,
|
|
705
|
+
dialog: `-40px 40px 80px -8px ${t(d.light.common.black, 0.24)}`,
|
|
706
|
+
dropdown: `0 0 2px 0 ${t(d.light.grey[500], 0.24)}, -20px 20px 40px -4px ${t(d.light.grey[500], 0.24)}`
|
|
348
707
|
};
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
lighter: "#283829",
|
|
366
|
-
light: "#26372b",
|
|
367
|
-
main: "#00AB55",
|
|
368
|
-
dark: "#007B55",
|
|
369
|
-
darker: "#005249",
|
|
370
|
-
LightSelected: "#EBF9F1",
|
|
371
|
-
LightSelectedHover: "#D6F2E3",
|
|
372
|
-
DarkSelected: "#142827",
|
|
373
|
-
DarkSelectedHover: "#12342B"
|
|
374
|
-
},
|
|
375
|
-
text: { primary: a[800], secondary: a[700], disabled: a[500] },
|
|
376
|
-
secondary: {
|
|
377
|
-
main: "#34ac4e"
|
|
378
|
-
}
|
|
379
|
-
}
|
|
708
|
+
return o === "light" ? {
|
|
709
|
+
z1: `0px 1px 2px ${t(r.coolGrey[70], 0.12)}`,
|
|
710
|
+
z2: `0px 2px 2px 1px ${t(r.coolGrey[70], 0.12)}`,
|
|
711
|
+
z3: `0px 4px 8px ${t(r.coolGrey[70], 0.16)}`,
|
|
712
|
+
z4: `0px 8px 16px 1px ${t(r.coolGrey[70], 0.16)}`,
|
|
713
|
+
...e
|
|
714
|
+
} : {
|
|
715
|
+
z1: `0px 1px 2px ${t(r.ashBlak[50], 0.4)}`,
|
|
716
|
+
z2: `0px 2px 2px 1px ${t(r.ashBlak[50], 0.4)}`,
|
|
717
|
+
z3: `0px 4px 8px 1px ${t(r.ashBlak[60], 0.4)}`,
|
|
718
|
+
z4: `0px 8px 16px 4px ${t(r.ashBlak[60], 0.4)}`,
|
|
719
|
+
...e
|
|
720
|
+
};
|
|
721
|
+
}, dr = {
|
|
722
|
+
light: C(K),
|
|
723
|
+
dark: C(J)
|
|
380
724
|
};
|
|
381
|
-
function
|
|
725
|
+
function Q(o) {
|
|
382
726
|
return {
|
|
383
727
|
MuiAvatar: {
|
|
384
728
|
styleOverrides: {
|
|
385
729
|
colorDefault: {
|
|
386
|
-
color:
|
|
387
|
-
backgroundColor:
|
|
730
|
+
color: o.palette.text.secondary,
|
|
731
|
+
backgroundColor: o.palette.grey[400]
|
|
388
732
|
}
|
|
389
733
|
}
|
|
390
734
|
},
|
|
@@ -392,18 +736,18 @@ function K(r) {
|
|
|
392
736
|
styleOverrides: {
|
|
393
737
|
avatar: {
|
|
394
738
|
fontSize: 16,
|
|
395
|
-
fontWeight:
|
|
739
|
+
fontWeight: o.typography.fontWeightMedium,
|
|
396
740
|
"&:first-of-type": {
|
|
397
741
|
fontSize: 14,
|
|
398
|
-
color:
|
|
399
|
-
backgroundColor:
|
|
742
|
+
color: o.palette.primary.main,
|
|
743
|
+
backgroundColor: o.palette.primary.lighter
|
|
400
744
|
}
|
|
401
745
|
}
|
|
402
746
|
}
|
|
403
747
|
}
|
|
404
748
|
};
|
|
405
749
|
}
|
|
406
|
-
function
|
|
750
|
+
function X(o) {
|
|
407
751
|
return {
|
|
408
752
|
MuiButton: {
|
|
409
753
|
styleOverrides: {
|
|
@@ -417,53 +761,53 @@ function U(r) {
|
|
|
417
761
|
height: 48
|
|
418
762
|
},
|
|
419
763
|
containedInherit: {
|
|
420
|
-
color:
|
|
421
|
-
boxShadow:
|
|
764
|
+
color: o.palette.grey[800],
|
|
765
|
+
boxShadow: o.customShadows.z1,
|
|
422
766
|
"&:hover": {
|
|
423
|
-
backgroundColor:
|
|
767
|
+
backgroundColor: o.palette.grey[400]
|
|
424
768
|
}
|
|
425
769
|
},
|
|
426
770
|
containedPrimary: {
|
|
427
|
-
boxShadow:
|
|
771
|
+
boxShadow: o.customShadows.z4
|
|
428
772
|
},
|
|
429
773
|
containedSecondary: {
|
|
430
|
-
boxShadow:
|
|
774
|
+
boxShadow: o.customShadows.secondary
|
|
431
775
|
},
|
|
432
776
|
containedInfo: {
|
|
433
|
-
boxShadow:
|
|
777
|
+
boxShadow: o.customShadows.info
|
|
434
778
|
},
|
|
435
779
|
containedSuccess: {
|
|
436
|
-
boxShadow:
|
|
780
|
+
boxShadow: o.customShadows.success
|
|
437
781
|
},
|
|
438
782
|
containedWarning: {
|
|
439
|
-
boxShadow:
|
|
783
|
+
boxShadow: o.customShadows.warning
|
|
440
784
|
},
|
|
441
785
|
containedError: {
|
|
442
|
-
boxShadow:
|
|
786
|
+
boxShadow: o.customShadows.error
|
|
443
787
|
},
|
|
444
788
|
outlinedInherit: {
|
|
445
|
-
border: `1px solid ${
|
|
789
|
+
border: `1px solid ${o.palette.grey[50032]}`,
|
|
446
790
|
"&:hover": {
|
|
447
|
-
backgroundColor:
|
|
791
|
+
backgroundColor: o.palette.action.hover
|
|
448
792
|
}
|
|
449
793
|
},
|
|
450
794
|
textInherit: {
|
|
451
795
|
"&:hover": {
|
|
452
|
-
backgroundColor:
|
|
796
|
+
backgroundColor: o.palette.action.hover
|
|
453
797
|
}
|
|
454
798
|
}
|
|
455
799
|
}
|
|
456
800
|
}
|
|
457
801
|
};
|
|
458
802
|
}
|
|
459
|
-
function
|
|
803
|
+
function Z(o) {
|
|
460
804
|
return {
|
|
461
805
|
MuiIconButton: {
|
|
462
806
|
styleOverrides: {
|
|
463
807
|
root: {
|
|
464
808
|
"&.MuiIconButton-sizeSmall": {
|
|
465
|
-
height:
|
|
466
|
-
width:
|
|
809
|
+
height: o.spacing(3),
|
|
810
|
+
width: o.spacing(3),
|
|
467
811
|
margin: 0,
|
|
468
812
|
padding: 0,
|
|
469
813
|
" > svg": {
|
|
@@ -480,49 +824,49 @@ function q(r) {
|
|
|
480
824
|
}
|
|
481
825
|
};
|
|
482
826
|
}
|
|
483
|
-
function
|
|
484
|
-
return {
|
|
827
|
+
function oo(o) {
|
|
828
|
+
return console.log("test theme", o.palette), {
|
|
485
829
|
MuiFab: {
|
|
486
830
|
defaultProps: {
|
|
487
831
|
color: "primary"
|
|
488
832
|
},
|
|
489
833
|
styleOverrides: {
|
|
490
834
|
root: {
|
|
491
|
-
boxShadow:
|
|
835
|
+
boxShadow: o.customShadows.z4,
|
|
492
836
|
"&:hover": {
|
|
493
837
|
boxShadow: "none",
|
|
494
|
-
backgroundColor:
|
|
838
|
+
backgroundColor: o.palette.grey[400]
|
|
495
839
|
}
|
|
496
840
|
},
|
|
497
841
|
primary: {
|
|
498
|
-
boxShadow:
|
|
842
|
+
boxShadow: o.customShadows.primary,
|
|
499
843
|
"&:hover": {
|
|
500
|
-
backgroundColor:
|
|
844
|
+
backgroundColor: o.palette.primary.dark
|
|
501
845
|
}
|
|
502
846
|
},
|
|
503
847
|
secondary: {
|
|
504
|
-
boxShadow:
|
|
848
|
+
boxShadow: o.customShadows.secondary,
|
|
505
849
|
"&:hover": {
|
|
506
|
-
backgroundColor:
|
|
850
|
+
backgroundColor: o.palette.secondary.dark
|
|
507
851
|
}
|
|
508
852
|
},
|
|
509
853
|
extended: {
|
|
510
854
|
"& svg": {
|
|
511
|
-
marginRight:
|
|
855
|
+
marginRight: o.spacing(1)
|
|
512
856
|
}
|
|
513
857
|
}
|
|
514
858
|
}
|
|
515
859
|
}
|
|
516
860
|
};
|
|
517
861
|
}
|
|
518
|
-
function
|
|
862
|
+
function ro(o) {
|
|
519
863
|
return {
|
|
520
864
|
MuiCard: {
|
|
521
865
|
styleOverrides: {
|
|
522
866
|
root: {
|
|
523
867
|
position: "relative",
|
|
524
|
-
boxShadow:
|
|
525
|
-
borderRadius: Number(
|
|
868
|
+
boxShadow: o.customShadows.card,
|
|
869
|
+
borderRadius: Number(o.shape.borderRadius) * 2,
|
|
526
870
|
zIndex: 0
|
|
527
871
|
}
|
|
528
872
|
}
|
|
@@ -530,43 +874,43 @@ function Q(r) {
|
|
|
530
874
|
MuiCardHeader: {
|
|
531
875
|
defaultProps: {
|
|
532
876
|
titleTypographyProps: { variant: "h6" },
|
|
533
|
-
subheaderTypographyProps: { variant: "body2", marginTop:
|
|
877
|
+
subheaderTypographyProps: { variant: "body2", marginTop: o.spacing(0.5) }
|
|
534
878
|
},
|
|
535
879
|
styleOverrides: {
|
|
536
880
|
root: {
|
|
537
|
-
padding:
|
|
881
|
+
padding: o.spacing(3, 3, 0)
|
|
538
882
|
}
|
|
539
883
|
}
|
|
540
884
|
},
|
|
541
885
|
MuiCardContent: {
|
|
542
886
|
styleOverrides: {
|
|
543
887
|
root: {
|
|
544
|
-
padding:
|
|
888
|
+
padding: o.spacing(3)
|
|
545
889
|
}
|
|
546
890
|
}
|
|
547
891
|
}
|
|
548
892
|
};
|
|
549
893
|
}
|
|
550
|
-
function
|
|
894
|
+
function to(o) {
|
|
551
895
|
return {
|
|
552
896
|
MuiTabs: {
|
|
553
897
|
styleOverrides: {
|
|
554
898
|
root: {
|
|
555
899
|
padding: 0,
|
|
556
|
-
fontWeight:
|
|
557
|
-
borderTopLeftRadius:
|
|
558
|
-
borderTopRightRadius:
|
|
900
|
+
fontWeight: o.typography.fontWeightMedium,
|
|
901
|
+
borderTopLeftRadius: o.shape.borderRadius,
|
|
902
|
+
borderTopRightRadius: o.shape.borderRadius,
|
|
559
903
|
"&.Mui-selected": {
|
|
560
|
-
color:
|
|
904
|
+
color: o.palette.text.primary
|
|
561
905
|
},
|
|
562
906
|
"&:not(:last-of-type)": {
|
|
563
|
-
marginRight:
|
|
907
|
+
marginRight: o.spacing(5)
|
|
564
908
|
},
|
|
565
909
|
"@media (min-width: 600px)": {
|
|
566
910
|
minWidth: 48
|
|
567
911
|
},
|
|
568
912
|
"& .MuiButtonBase-root": {
|
|
569
|
-
...
|
|
913
|
+
...o.typography.subtitle2
|
|
570
914
|
}
|
|
571
915
|
},
|
|
572
916
|
labelIcon: {
|
|
@@ -574,7 +918,7 @@ function X(r) {
|
|
|
574
918
|
flexDirection: "row",
|
|
575
919
|
"& > *:first-of-type": {
|
|
576
920
|
marginBottom: 0,
|
|
577
|
-
marginRight:
|
|
921
|
+
marginRight: o.spacing(1)
|
|
578
922
|
}
|
|
579
923
|
},
|
|
580
924
|
wrapper: {
|
|
@@ -583,7 +927,7 @@ function X(r) {
|
|
|
583
927
|
},
|
|
584
928
|
textColorInherit: {
|
|
585
929
|
opacity: 1,
|
|
586
|
-
color:
|
|
930
|
+
color: o.palette.text.secondary
|
|
587
931
|
}
|
|
588
932
|
}
|
|
589
933
|
},
|
|
@@ -604,15 +948,15 @@ function X(r) {
|
|
|
604
948
|
}
|
|
605
949
|
};
|
|
606
950
|
}
|
|
607
|
-
function
|
|
951
|
+
function eo(o) {
|
|
608
952
|
return {
|
|
609
953
|
MuiMenuItem: {
|
|
610
954
|
styleOverrides: {
|
|
611
955
|
root: {
|
|
612
956
|
"&.Mui-selected": {
|
|
613
|
-
backgroundColor:
|
|
957
|
+
backgroundColor: o.palette.action.selected,
|
|
614
958
|
"&:hover": {
|
|
615
|
-
backgroundColor:
|
|
959
|
+
backgroundColor: o.palette.action.hover
|
|
616
960
|
}
|
|
617
961
|
}
|
|
618
962
|
}
|
|
@@ -620,7 +964,7 @@ function Z(r) {
|
|
|
620
964
|
}
|
|
621
965
|
};
|
|
622
966
|
}
|
|
623
|
-
function
|
|
967
|
+
function ao(o) {
|
|
624
968
|
return {
|
|
625
969
|
MuiLink: {
|
|
626
970
|
defaultProps: {
|
|
@@ -629,21 +973,21 @@ function rr(r) {
|
|
|
629
973
|
styleOverrides: {
|
|
630
974
|
root: {
|
|
631
975
|
"&.MuiLink-underlineHover": {
|
|
632
|
-
textDecorationColor:
|
|
976
|
+
textDecorationColor: o.palette.primary.main
|
|
633
977
|
}
|
|
634
978
|
}
|
|
635
979
|
}
|
|
636
980
|
}
|
|
637
981
|
};
|
|
638
982
|
}
|
|
639
|
-
function
|
|
983
|
+
function io(o) {
|
|
640
984
|
return {
|
|
641
985
|
MuiListItemIcon: {
|
|
642
986
|
styleOverrides: {
|
|
643
987
|
root: {
|
|
644
988
|
color: "inherit",
|
|
645
989
|
minWidth: "auto",
|
|
646
|
-
marginRight:
|
|
990
|
+
marginRight: o.spacing(2)
|
|
647
991
|
}
|
|
648
992
|
}
|
|
649
993
|
},
|
|
@@ -651,7 +995,7 @@ function or(r) {
|
|
|
651
995
|
styleOverrides: {
|
|
652
996
|
root: {
|
|
653
997
|
minWidth: "auto",
|
|
654
|
-
marginRight:
|
|
998
|
+
marginRight: o.spacing(2)
|
|
655
999
|
}
|
|
656
1000
|
}
|
|
657
1001
|
},
|
|
@@ -669,15 +1013,15 @@ function or(r) {
|
|
|
669
1013
|
}
|
|
670
1014
|
};
|
|
671
1015
|
}
|
|
672
|
-
function
|
|
1016
|
+
function no(o) {
|
|
673
1017
|
return {
|
|
674
1018
|
MuiTableRow: {
|
|
675
1019
|
styleOverrides: {
|
|
676
1020
|
root: {
|
|
677
1021
|
"&.Mui-selected": {
|
|
678
|
-
backgroundColor:
|
|
1022
|
+
backgroundColor: o.palette.action.selected,
|
|
679
1023
|
"&:hover": {
|
|
680
|
-
backgroundColor:
|
|
1024
|
+
backgroundColor: o.palette.action.hover
|
|
681
1025
|
}
|
|
682
1026
|
}
|
|
683
1027
|
}
|
|
@@ -689,31 +1033,31 @@ function tr(r) {
|
|
|
689
1033
|
borderBottom: "none"
|
|
690
1034
|
},
|
|
691
1035
|
head: {
|
|
692
|
-
color:
|
|
693
|
-
backgroundColor:
|
|
1036
|
+
color: o.palette.text.secondary,
|
|
1037
|
+
backgroundColor: o.palette.background.neutral,
|
|
694
1038
|
"&:first-of-type": {
|
|
695
|
-
paddingLeft:
|
|
696
|
-
borderTopLeftRadius:
|
|
697
|
-
borderBottomLeftRadius:
|
|
698
|
-
boxShadow: `inset 8px 0 0 ${
|
|
1039
|
+
paddingLeft: o.spacing(3),
|
|
1040
|
+
borderTopLeftRadius: o.shape.borderRadius,
|
|
1041
|
+
borderBottomLeftRadius: o.shape.borderRadius,
|
|
1042
|
+
boxShadow: `inset 8px 0 0 ${o.palette.background.paper}`
|
|
699
1043
|
},
|
|
700
1044
|
"&:last-of-type": {
|
|
701
|
-
paddingRight:
|
|
702
|
-
borderTopRightRadius:
|
|
703
|
-
borderBottomRightRadius:
|
|
704
|
-
boxShadow: `inset -8px 0 0 ${
|
|
1045
|
+
paddingRight: o.spacing(3),
|
|
1046
|
+
borderTopRightRadius: o.shape.borderRadius,
|
|
1047
|
+
borderBottomRightRadius: o.shape.borderRadius,
|
|
1048
|
+
boxShadow: `inset -8px 0 0 ${o.palette.background.paper}`
|
|
705
1049
|
}
|
|
706
1050
|
},
|
|
707
1051
|
stickyHeader: {
|
|
708
|
-
backgroundColor:
|
|
709
|
-
backgroundImage: `linear-gradient(to bottom, ${
|
|
1052
|
+
backgroundColor: o.palette.background.paper,
|
|
1053
|
+
backgroundImage: `linear-gradient(to bottom, ${o.palette.background.neutral} 0%, ${o.palette.background.neutral} 100%)`
|
|
710
1054
|
},
|
|
711
1055
|
body: {
|
|
712
1056
|
"&:first-of-type": {
|
|
713
|
-
paddingLeft:
|
|
1057
|
+
paddingLeft: o.spacing(3)
|
|
714
1058
|
},
|
|
715
1059
|
"&:last-of-type": {
|
|
716
|
-
paddingRight:
|
|
1060
|
+
paddingRight: o.spacing(3)
|
|
717
1061
|
}
|
|
718
1062
|
}
|
|
719
1063
|
}
|
|
@@ -721,13 +1065,13 @@ function tr(r) {
|
|
|
721
1065
|
MuiTablePagination: {
|
|
722
1066
|
styleOverrides: {
|
|
723
1067
|
root: {
|
|
724
|
-
...
|
|
1068
|
+
...o.typography.caption
|
|
725
1069
|
},
|
|
726
1070
|
toolbar: {
|
|
727
1071
|
"& .MuiInputBase-root": {
|
|
728
|
-
marginLeft:
|
|
729
|
-
marginRight:
|
|
730
|
-
...
|
|
1072
|
+
marginLeft: o.spacing(1),
|
|
1073
|
+
marginRight: o.spacing(3),
|
|
1074
|
+
...o.typography.caption
|
|
731
1075
|
},
|
|
732
1076
|
"&.MuiToolbar-regular": {
|
|
733
1077
|
minHeight: 40,
|
|
@@ -735,16 +1079,16 @@ function tr(r) {
|
|
|
735
1079
|
paddingRight: 0
|
|
736
1080
|
},
|
|
737
1081
|
"& .MuiTablePagination-displayedRows": {
|
|
738
|
-
...
|
|
1082
|
+
...o.typography.caption
|
|
739
1083
|
}
|
|
740
1084
|
},
|
|
741
1085
|
selectLabel: {
|
|
742
|
-
...
|
|
1086
|
+
...o.typography.caption
|
|
743
1087
|
},
|
|
744
1088
|
select: {
|
|
745
1089
|
paddingBottom: 4,
|
|
746
1090
|
"&:focus": {
|
|
747
|
-
borderRadius:
|
|
1091
|
+
borderRadius: o.shape.borderRadius
|
|
748
1092
|
}
|
|
749
1093
|
},
|
|
750
1094
|
selectIcon: {
|
|
@@ -755,7 +1099,7 @@ function tr(r) {
|
|
|
755
1099
|
}
|
|
756
1100
|
};
|
|
757
1101
|
}
|
|
758
|
-
function
|
|
1102
|
+
function po(o) {
|
|
759
1103
|
return {
|
|
760
1104
|
MuiBadge: {
|
|
761
1105
|
styleOverrides: {
|
|
@@ -768,7 +1112,7 @@ function er(r) {
|
|
|
768
1112
|
}
|
|
769
1113
|
};
|
|
770
1114
|
}
|
|
771
|
-
function
|
|
1115
|
+
function lo(o) {
|
|
772
1116
|
return {
|
|
773
1117
|
MuiPaper: {
|
|
774
1118
|
defaultProps: {
|
|
@@ -777,19 +1121,64 @@ function ir(r) {
|
|
|
777
1121
|
variants: [
|
|
778
1122
|
{
|
|
779
1123
|
props: { variant: "outlined" },
|
|
780
|
-
style: { borderColor:
|
|
1124
|
+
style: { borderColor: o.palette.grey[50012] }
|
|
781
1125
|
}
|
|
782
1126
|
],
|
|
783
1127
|
styleOverrides: {
|
|
784
1128
|
root: {
|
|
785
1129
|
backgroundImage: "none",
|
|
786
|
-
|
|
1130
|
+
backgroundColor: o.palette.background.default,
|
|
1131
|
+
borderRadius: "2px",
|
|
1132
|
+
"& .MuiStack-root .MuiMenuItem-root": {
|
|
1133
|
+
color: o.palette.text.primary,
|
|
1134
|
+
transition: "all .5s",
|
|
1135
|
+
borderRadius: "4px",
|
|
1136
|
+
...o.typography.action
|
|
1137
|
+
},
|
|
1138
|
+
"& .MuiStack-root .MuiMenuItem-root:hover": {
|
|
1139
|
+
color: o.palette.state?.hover,
|
|
1140
|
+
transition: "all .5s",
|
|
1141
|
+
backgroundColor: o.palette.state?.active12
|
|
1142
|
+
},
|
|
1143
|
+
"& .MuiStack-root .MuiMenuItem-root.Mui-selected": {
|
|
1144
|
+
color: o.palette.state?.active,
|
|
1145
|
+
transition: "all .5s",
|
|
1146
|
+
backgroundColor: o.palette.state?.active12
|
|
1147
|
+
},
|
|
1148
|
+
"& .MuiStack-root .MuiMenuItem-root:focus": {
|
|
1149
|
+
color: o.palette.state?.focus,
|
|
1150
|
+
transition: "all .5s",
|
|
1151
|
+
backgroundColor: o.palette.background.default,
|
|
1152
|
+
boxShadow: `0 0 0 1px ${o.palette.state?.focus}`
|
|
1153
|
+
},
|
|
1154
|
+
"& .MuiAutocomplete-listbox .MuiAutocomplete-option": {
|
|
1155
|
+
color: o.palette.text.primary,
|
|
1156
|
+
transition: "all .5s",
|
|
1157
|
+
borderRadius: "4px",
|
|
1158
|
+
...o.typography.action
|
|
1159
|
+
},
|
|
1160
|
+
"& .MuiAutocomplete-listbox .MuiAutocomplete-option:hover": {
|
|
1161
|
+
color: o.palette.state?.hover,
|
|
1162
|
+
transition: "all .5s",
|
|
1163
|
+
backgroundColor: o.palette.state?.active12
|
|
1164
|
+
},
|
|
1165
|
+
"& .MuiAutocomplete-listbox .MuiAutocomplete-option.Mui-selected": {
|
|
1166
|
+
color: o.palette.state?.active,
|
|
1167
|
+
transition: "all .5s",
|
|
1168
|
+
backgroundColor: o.palette.state?.active12
|
|
1169
|
+
},
|
|
1170
|
+
"& .MuiAutocomplete-listbox .MuiAutocomplete-option:active": {
|
|
1171
|
+
color: o.palette.state?.focus,
|
|
1172
|
+
transition: "all .5s",
|
|
1173
|
+
backgroundColor: o.palette.background.default,
|
|
1174
|
+
boxShadow: `0 0 0 1px ${o.palette.state?.focus}`
|
|
1175
|
+
}
|
|
787
1176
|
}
|
|
788
1177
|
}
|
|
789
1178
|
}
|
|
790
1179
|
};
|
|
791
1180
|
}
|
|
792
|
-
function
|
|
1181
|
+
function so(o) {
|
|
793
1182
|
return {
|
|
794
1183
|
MuiFormControl: {
|
|
795
1184
|
styleOverrides: {
|
|
@@ -799,11 +1188,11 @@ function ar(r) {
|
|
|
799
1188
|
MuiInputBase: {
|
|
800
1189
|
styleOverrides: {
|
|
801
1190
|
root: {
|
|
802
|
-
backgroundColor:
|
|
803
|
-
...
|
|
804
|
-
borderRadius:
|
|
1191
|
+
backgroundColor: o.palette.background.default,
|
|
1192
|
+
...o.typography.body2,
|
|
1193
|
+
borderRadius: o.spacing(1),
|
|
805
1194
|
"&.Mui-disabled": {
|
|
806
|
-
"& svg": { color:
|
|
1195
|
+
"& svg": { color: o.palette.text.disabled }
|
|
807
1196
|
},
|
|
808
1197
|
padding: "0px"
|
|
809
1198
|
},
|
|
@@ -811,7 +1200,7 @@ function ar(r) {
|
|
|
811
1200
|
paddingLeft: "8px",
|
|
812
1201
|
"&::placeholder": {
|
|
813
1202
|
opacity: 1,
|
|
814
|
-
color:
|
|
1203
|
+
color: o.palette.text.disabled
|
|
815
1204
|
}
|
|
816
1205
|
}
|
|
817
1206
|
}
|
|
@@ -820,7 +1209,7 @@ function ar(r) {
|
|
|
820
1209
|
styleOverrides: {
|
|
821
1210
|
underline: {
|
|
822
1211
|
"&:before": {
|
|
823
|
-
borderBottomColor:
|
|
1212
|
+
borderBottomColor: o.palette.grey[50056]
|
|
824
1213
|
}
|
|
825
1214
|
}
|
|
826
1215
|
}
|
|
@@ -828,20 +1217,20 @@ function ar(r) {
|
|
|
828
1217
|
MuiFilledInput: {
|
|
829
1218
|
styleOverrides: {
|
|
830
1219
|
root: {
|
|
831
|
-
backgroundColor:
|
|
1220
|
+
backgroundColor: o.palette.grey[50012],
|
|
832
1221
|
"&:hover": {
|
|
833
|
-
backgroundColor:
|
|
1222
|
+
backgroundColor: o.palette.grey[50016]
|
|
834
1223
|
},
|
|
835
1224
|
"&.Mui-focused": {
|
|
836
|
-
backgroundColor:
|
|
1225
|
+
backgroundColor: o.palette.action.focus
|
|
837
1226
|
},
|
|
838
1227
|
"&.Mui-disabled": {
|
|
839
|
-
backgroundColor:
|
|
1228
|
+
backgroundColor: o.palette.action.disabledBackground
|
|
840
1229
|
}
|
|
841
1230
|
},
|
|
842
1231
|
underline: {
|
|
843
1232
|
"&:before": {
|
|
844
|
-
borderBottomColor:
|
|
1233
|
+
borderBottomColor: o.palette.grey[50056]
|
|
845
1234
|
}
|
|
846
1235
|
}
|
|
847
1236
|
}
|
|
@@ -849,29 +1238,29 @@ function ar(r) {
|
|
|
849
1238
|
MuiOutlinedInput: {
|
|
850
1239
|
styleOverrides: {
|
|
851
1240
|
root: {
|
|
852
|
-
...
|
|
853
|
-
color:
|
|
1241
|
+
...o.typography.body2,
|
|
1242
|
+
color: o.palette.text.primary,
|
|
854
1243
|
"& > input": {
|
|
855
|
-
padding:
|
|
1244
|
+
padding: o.spacing(1.5, 1.5)
|
|
856
1245
|
},
|
|
857
1246
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
858
|
-
borderColor:
|
|
1247
|
+
borderColor: o.palette.grey[50032],
|
|
859
1248
|
fontSize: "0.875rem"
|
|
860
1249
|
},
|
|
861
1250
|
"&.Mui-disabled": {
|
|
862
1251
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
863
|
-
borderColor:
|
|
1252
|
+
borderColor: o.palette.action.disabledBackground
|
|
864
1253
|
}
|
|
865
1254
|
},
|
|
866
1255
|
"& .MuiOutlinedInput-input:-webkit-autofill": {
|
|
867
|
-
WebkitBoxShadow: `0 0 0 1000px ${
|
|
1256
|
+
WebkitBoxShadow: `0 0 0 1000px ${o.palette.background.autofill} inset`
|
|
868
1257
|
}
|
|
869
1258
|
}
|
|
870
1259
|
}
|
|
871
1260
|
}
|
|
872
1261
|
};
|
|
873
1262
|
}
|
|
874
|
-
function
|
|
1263
|
+
function uo(o) {
|
|
875
1264
|
return {
|
|
876
1265
|
MuiInputLabel: {
|
|
877
1266
|
styleOverrides: {
|
|
@@ -886,12 +1275,12 @@ function nr(r) {
|
|
|
886
1275
|
}
|
|
887
1276
|
};
|
|
888
1277
|
}
|
|
889
|
-
function
|
|
1278
|
+
function co(o) {
|
|
890
1279
|
return {
|
|
891
1280
|
MuiRadio: {
|
|
892
1281
|
styleOverrides: {
|
|
893
1282
|
root: {
|
|
894
|
-
padding:
|
|
1283
|
+
padding: o.spacing(1),
|
|
895
1284
|
svg: {
|
|
896
1285
|
fontSize: 24,
|
|
897
1286
|
"&[font-size=small]": {
|
|
@@ -903,8 +1292,8 @@ function pr(r) {
|
|
|
903
1292
|
}
|
|
904
1293
|
};
|
|
905
1294
|
}
|
|
906
|
-
function
|
|
907
|
-
const
|
|
1295
|
+
function go(o) {
|
|
1296
|
+
const e = o.palette.mode === "light";
|
|
908
1297
|
return {
|
|
909
1298
|
MuiDrawer: {
|
|
910
1299
|
styleOverrides: {
|
|
@@ -912,14 +1301,14 @@ function dr(r) {
|
|
|
912
1301
|
'&[role="presentation"]': {
|
|
913
1302
|
"& .MuiDrawer-paperAnchorLeft": {
|
|
914
1303
|
boxShadow: `8px 24px 24px 12px ${F(
|
|
915
|
-
|
|
916
|
-
|
|
1304
|
+
o.palette.grey[900],
|
|
1305
|
+
e ? 0.16 : 0.48
|
|
917
1306
|
)}`
|
|
918
1307
|
},
|
|
919
1308
|
"& .MuiDrawer-paperAnchorRight": {
|
|
920
1309
|
boxShadow: `-8px 24px 24px 12px ${F(
|
|
921
|
-
|
|
922
|
-
|
|
1310
|
+
o.palette.grey[900],
|
|
1311
|
+
e ? 0.16 : 0.48
|
|
923
1312
|
)}`
|
|
924
1313
|
}
|
|
925
1314
|
}
|
|
@@ -928,23 +1317,23 @@ function dr(r) {
|
|
|
928
1317
|
}
|
|
929
1318
|
};
|
|
930
1319
|
}
|
|
931
|
-
function
|
|
1320
|
+
function xo(o) {
|
|
932
1321
|
return {
|
|
933
1322
|
MuiDialog: {
|
|
934
1323
|
styleOverrides: {
|
|
935
1324
|
paper: {
|
|
936
|
-
boxShadow:
|
|
1325
|
+
boxShadow: o.customShadows.dialog,
|
|
937
1326
|
"&.MuiPaper-rounded": {
|
|
938
|
-
borderRadius: Number(
|
|
1327
|
+
borderRadius: Number(o.shape.borderRadius) * 2
|
|
939
1328
|
},
|
|
940
1329
|
"&.MuiDialog-paperFullScreen": {
|
|
941
1330
|
borderRadius: 0
|
|
942
1331
|
},
|
|
943
1332
|
"&.MuiDialog-paper .MuiDialogActions-root": {
|
|
944
|
-
padding:
|
|
1333
|
+
padding: o.spacing(3)
|
|
945
1334
|
},
|
|
946
1335
|
"@media (max-width: 600px)": {
|
|
947
|
-
margin:
|
|
1336
|
+
margin: o.spacing(2)
|
|
948
1337
|
},
|
|
949
1338
|
"@media (max-width: 663.95px)": {
|
|
950
1339
|
"&.MuiDialog-paperWidthSm.MuiDialog-paperScrollBody": {
|
|
@@ -960,7 +1349,7 @@ function sr(r) {
|
|
|
960
1349
|
MuiDialogTitle: {
|
|
961
1350
|
styleOverrides: {
|
|
962
1351
|
root: {
|
|
963
|
-
padding:
|
|
1352
|
+
padding: o.spacing(3, 3, 0)
|
|
964
1353
|
}
|
|
965
1354
|
}
|
|
966
1355
|
},
|
|
@@ -969,7 +1358,7 @@ function sr(r) {
|
|
|
969
1358
|
root: {
|
|
970
1359
|
borderTop: 0,
|
|
971
1360
|
borderBottom: 0,
|
|
972
|
-
padding:
|
|
1361
|
+
padding: o.spacing(3)
|
|
973
1362
|
}
|
|
974
1363
|
}
|
|
975
1364
|
},
|
|
@@ -977,15 +1366,15 @@ function sr(r) {
|
|
|
977
1366
|
styleOverrides: {
|
|
978
1367
|
root: {
|
|
979
1368
|
"& > :not(:first-of-type)": {
|
|
980
|
-
marginLeft:
|
|
1369
|
+
marginLeft: o.spacing(1.5)
|
|
981
1370
|
}
|
|
982
1371
|
}
|
|
983
1372
|
}
|
|
984
1373
|
}
|
|
985
1374
|
};
|
|
986
1375
|
}
|
|
987
|
-
function
|
|
988
|
-
const
|
|
1376
|
+
function bo(o) {
|
|
1377
|
+
const e = o.palette.mode === "light";
|
|
989
1378
|
return {
|
|
990
1379
|
MuiSlider: {
|
|
991
1380
|
defaultProps: {
|
|
@@ -994,52 +1383,52 @@ function lr(r) {
|
|
|
994
1383
|
styleOverrides: {
|
|
995
1384
|
root: {
|
|
996
1385
|
"&.Mui-disabled": {
|
|
997
|
-
color:
|
|
1386
|
+
color: o.palette.action.disabled
|
|
998
1387
|
}
|
|
999
1388
|
},
|
|
1000
1389
|
markLabel: {
|
|
1001
1390
|
fontSize: 13,
|
|
1002
|
-
color:
|
|
1391
|
+
color: o.palette.text.disabled
|
|
1003
1392
|
},
|
|
1004
1393
|
valueLabel: {
|
|
1005
1394
|
borderRadius: 8,
|
|
1006
|
-
backgroundColor:
|
|
1395
|
+
backgroundColor: o.palette.grey[e ? 800 : 700]
|
|
1007
1396
|
}
|
|
1008
1397
|
}
|
|
1009
1398
|
}
|
|
1010
1399
|
};
|
|
1011
1400
|
}
|
|
1012
|
-
function
|
|
1013
|
-
const
|
|
1401
|
+
function yo(o) {
|
|
1402
|
+
const e = o.palette.mode === "light";
|
|
1014
1403
|
return {
|
|
1015
1404
|
MuiSwitch: {
|
|
1016
1405
|
styleOverrides: {
|
|
1017
1406
|
thumb: {
|
|
1018
|
-
boxShadow:
|
|
1407
|
+
boxShadow: o.customShadows.z1
|
|
1019
1408
|
},
|
|
1020
1409
|
track: {
|
|
1021
1410
|
opacity: 1,
|
|
1022
|
-
backgroundColor:
|
|
1411
|
+
backgroundColor: o.palette.grey[500]
|
|
1023
1412
|
},
|
|
1024
1413
|
switchBase: {
|
|
1025
1414
|
left: 0,
|
|
1026
1415
|
right: "auto",
|
|
1027
1416
|
"&:not(:.Mui-checked)": {
|
|
1028
|
-
color:
|
|
1417
|
+
color: o.palette.grey[e ? 100 : 300]
|
|
1029
1418
|
},
|
|
1030
1419
|
"&.Mui-checked.Mui-disabled, &.Mui-disabled": {
|
|
1031
|
-
color:
|
|
1420
|
+
color: o.palette.grey[e ? 400 : 600]
|
|
1032
1421
|
},
|
|
1033
1422
|
"&.Mui-disabled+.MuiSwitch-track": {
|
|
1034
1423
|
opacity: 1,
|
|
1035
|
-
backgroundColor: `${
|
|
1424
|
+
backgroundColor: `${o.palette.action.disabledBackground} !important`
|
|
1036
1425
|
}
|
|
1037
1426
|
}
|
|
1038
1427
|
}
|
|
1039
1428
|
}
|
|
1040
1429
|
};
|
|
1041
1430
|
}
|
|
1042
|
-
function
|
|
1431
|
+
function fo(o) {
|
|
1043
1432
|
return {
|
|
1044
1433
|
MuiSvgIcon: {
|
|
1045
1434
|
styleOverrides: {
|
|
@@ -1057,45 +1446,45 @@ function cr(r) {
|
|
|
1057
1446
|
}
|
|
1058
1447
|
};
|
|
1059
1448
|
}
|
|
1060
|
-
function
|
|
1061
|
-
const
|
|
1449
|
+
function ho(o) {
|
|
1450
|
+
const e = o.palette.mode === "light";
|
|
1062
1451
|
return {
|
|
1063
1452
|
MuiTooltip: {
|
|
1064
1453
|
styleOverrides: {
|
|
1065
1454
|
tooltip: {
|
|
1066
|
-
backgroundColor:
|
|
1455
|
+
backgroundColor: o.palette.grey[e ? 800 : 700]
|
|
1067
1456
|
},
|
|
1068
1457
|
arrow: {
|
|
1069
|
-
color:
|
|
1458
|
+
color: o.palette.grey[e ? 800 : 700]
|
|
1070
1459
|
}
|
|
1071
1460
|
}
|
|
1072
1461
|
}
|
|
1073
1462
|
};
|
|
1074
1463
|
}
|
|
1075
|
-
function
|
|
1464
|
+
function Mo(o) {
|
|
1076
1465
|
return {
|
|
1077
1466
|
MuiPopover: {
|
|
1078
1467
|
styleOverrides: {
|
|
1079
1468
|
paper: {
|
|
1080
|
-
boxShadow:
|
|
1081
|
-
borderRadius: Number(
|
|
1469
|
+
boxShadow: o.customShadows.dropdown,
|
|
1470
|
+
borderRadius: Number(o.shape.borderRadius) * 1.5
|
|
1082
1471
|
}
|
|
1083
1472
|
}
|
|
1084
1473
|
}
|
|
1085
1474
|
};
|
|
1086
1475
|
}
|
|
1087
|
-
function
|
|
1476
|
+
function vo(o) {
|
|
1088
1477
|
return {
|
|
1089
1478
|
MuiStepConnector: {
|
|
1090
1479
|
styleOverrides: {
|
|
1091
1480
|
line: {
|
|
1092
|
-
borderColor:
|
|
1481
|
+
borderColor: o.palette.divider
|
|
1093
1482
|
}
|
|
1094
1483
|
}
|
|
1095
1484
|
}
|
|
1096
1485
|
};
|
|
1097
1486
|
}
|
|
1098
|
-
function
|
|
1487
|
+
function Bo(o) {
|
|
1099
1488
|
return {
|
|
1100
1489
|
MuiDataGrid: {
|
|
1101
1490
|
styleOverrides: {
|
|
@@ -1106,21 +1495,21 @@ function yr(r) {
|
|
|
1106
1495
|
borderTop: 0
|
|
1107
1496
|
},
|
|
1108
1497
|
"& .MuiDataGrid-toolbarContainer": {
|
|
1109
|
-
padding:
|
|
1110
|
-
backgroundColor:
|
|
1498
|
+
padding: o.spacing(2),
|
|
1499
|
+
backgroundColor: o.palette.background.neutral,
|
|
1111
1500
|
"& .MuiButton-root": {
|
|
1112
|
-
marginRight:
|
|
1113
|
-
color:
|
|
1501
|
+
marginRight: o.spacing(1.5),
|
|
1502
|
+
color: o.palette.text.primary,
|
|
1114
1503
|
"&:hover": {
|
|
1115
|
-
backgroundColor:
|
|
1504
|
+
backgroundColor: o.palette.action.hover
|
|
1116
1505
|
}
|
|
1117
1506
|
}
|
|
1118
1507
|
},
|
|
1119
1508
|
"& .MuiDataGrid-cell, .MuiDataGrid-columnsContainer": {
|
|
1120
|
-
borderBottom: `1px solid ${
|
|
1509
|
+
borderBottom: `1px solid ${o.palette.divider}`
|
|
1121
1510
|
},
|
|
1122
1511
|
"& .MuiDataGrid-columnSeparator": {
|
|
1123
|
-
color:
|
|
1512
|
+
color: o.palette.divider
|
|
1124
1513
|
},
|
|
1125
1514
|
'& .MuiDataGrid-columnHeader[data-field="__check__"]': {
|
|
1126
1515
|
padding: 0
|
|
@@ -1132,11 +1521,11 @@ function yr(r) {
|
|
|
1132
1521
|
styleOverrides: {
|
|
1133
1522
|
root: {
|
|
1134
1523
|
"& .MuiDataGrid-gridMenuList": {
|
|
1135
|
-
boxShadow:
|
|
1136
|
-
borderRadius:
|
|
1524
|
+
boxShadow: o.customShadows.z4,
|
|
1525
|
+
borderRadius: o.shape.borderRadius
|
|
1137
1526
|
},
|
|
1138
1527
|
"& .MuiMenuItem-root": {
|
|
1139
|
-
...
|
|
1528
|
+
...o.typography.body2
|
|
1140
1529
|
}
|
|
1141
1530
|
}
|
|
1142
1531
|
}
|
|
@@ -1144,20 +1533,20 @@ function yr(r) {
|
|
|
1144
1533
|
MuiGridFilterForm: {
|
|
1145
1534
|
styleOverrides: {
|
|
1146
1535
|
root: {
|
|
1147
|
-
padding:
|
|
1536
|
+
padding: o.spacing(1.5, 0),
|
|
1148
1537
|
"& .MuiFormControl-root": {
|
|
1149
|
-
margin:
|
|
1538
|
+
margin: o.spacing(0, 0.5)
|
|
1150
1539
|
},
|
|
1151
1540
|
"& .MuiInput-root": {
|
|
1152
|
-
marginTop:
|
|
1541
|
+
marginTop: o.spacing(3),
|
|
1153
1542
|
"&::before, &::after": {
|
|
1154
1543
|
display: "none"
|
|
1155
1544
|
},
|
|
1156
1545
|
"& .MuiNativeSelect-select, .MuiInput-input": {
|
|
1157
|
-
...
|
|
1158
|
-
padding:
|
|
1159
|
-
borderRadius:
|
|
1160
|
-
backgroundColor:
|
|
1546
|
+
...o.typography.body2,
|
|
1547
|
+
padding: o.spacing(0.75, 1),
|
|
1548
|
+
borderRadius: o.shape.borderRadius,
|
|
1549
|
+
backgroundColor: o.palette.background.neutral
|
|
1161
1550
|
},
|
|
1162
1551
|
"& .MuiSvgIcon-root": {
|
|
1163
1552
|
right: 4
|
|
@@ -1169,21 +1558,21 @@ function yr(r) {
|
|
|
1169
1558
|
MuiGridPanelFooter: {
|
|
1170
1559
|
styleOverrides: {
|
|
1171
1560
|
root: {
|
|
1172
|
-
padding:
|
|
1561
|
+
padding: o.spacing(2),
|
|
1173
1562
|
justifyContent: "flex-end",
|
|
1174
1563
|
"& .MuiButton-root": {
|
|
1175
1564
|
"&:first-of-type": {
|
|
1176
|
-
marginRight:
|
|
1177
|
-
color:
|
|
1565
|
+
marginRight: o.spacing(1.5),
|
|
1566
|
+
color: o.palette.text.primary,
|
|
1178
1567
|
"&:hover": {
|
|
1179
|
-
backgroundColor:
|
|
1568
|
+
backgroundColor: o.palette.action.hover
|
|
1180
1569
|
}
|
|
1181
1570
|
},
|
|
1182
1571
|
"&:last-of-type": {
|
|
1183
|
-
color:
|
|
1184
|
-
backgroundColor:
|
|
1572
|
+
color: o.palette.common.white,
|
|
1573
|
+
backgroundColor: o.palette.primary.main,
|
|
1185
1574
|
"&:hover": {
|
|
1186
|
-
backgroundColor:
|
|
1575
|
+
backgroundColor: o.palette.primary.dark
|
|
1187
1576
|
}
|
|
1188
1577
|
}
|
|
1189
1578
|
}
|
|
@@ -1192,7 +1581,7 @@ function yr(r) {
|
|
|
1192
1581
|
}
|
|
1193
1582
|
};
|
|
1194
1583
|
}
|
|
1195
|
-
function
|
|
1584
|
+
function Fo(o) {
|
|
1196
1585
|
return {
|
|
1197
1586
|
MuiSkeleton: {
|
|
1198
1587
|
defaultProps: {
|
|
@@ -1200,23 +1589,23 @@ function fr(r) {
|
|
|
1200
1589
|
},
|
|
1201
1590
|
styleOverrides: {
|
|
1202
1591
|
root: {
|
|
1203
|
-
backgroundColor:
|
|
1592
|
+
backgroundColor: o.palette.divider
|
|
1204
1593
|
}
|
|
1205
1594
|
}
|
|
1206
1595
|
}
|
|
1207
1596
|
};
|
|
1208
1597
|
}
|
|
1209
|
-
function
|
|
1210
|
-
const
|
|
1598
|
+
function ko(o) {
|
|
1599
|
+
const e = t(o.palette.grey[900], 0.48), a = t(o.palette.grey[900], 1);
|
|
1211
1600
|
return {
|
|
1212
1601
|
MuiBackdrop: {
|
|
1213
1602
|
styleOverrides: {
|
|
1214
1603
|
root: {
|
|
1215
1604
|
background: [
|
|
1216
1605
|
"rgb(22,28,36)",
|
|
1217
|
-
`-moz-linear-gradient(75deg, ${
|
|
1218
|
-
`-webkit-linear-gradient(75deg, ${
|
|
1219
|
-
`linear-gradient(75deg, ${
|
|
1606
|
+
`-moz-linear-gradient(75deg, ${e} 0%, ${a} 100%)`,
|
|
1607
|
+
`-webkit-linear-gradient(75deg, ${e} 0%, ${a} 100%)`,
|
|
1608
|
+
`linear-gradient(75deg, ${e} 0%, ${a} 100%)`
|
|
1220
1609
|
],
|
|
1221
1610
|
"&.MuiBackdrop-invisible": {
|
|
1222
1611
|
background: "transparent"
|
|
@@ -1226,8 +1615,8 @@ function Mr(r) {
|
|
|
1226
1615
|
}
|
|
1227
1616
|
};
|
|
1228
1617
|
}
|
|
1229
|
-
function
|
|
1230
|
-
const
|
|
1618
|
+
function Co(o) {
|
|
1619
|
+
const e = o.palette.mode === "light";
|
|
1231
1620
|
return {
|
|
1232
1621
|
MuiLinearProgress: {
|
|
1233
1622
|
styleOverrides: {
|
|
@@ -1239,7 +1628,7 @@ function hr(r) {
|
|
|
1239
1628
|
borderRadius: 4
|
|
1240
1629
|
},
|
|
1241
1630
|
colorPrimary: {
|
|
1242
|
-
backgroundColor:
|
|
1631
|
+
backgroundColor: o.palette.primary[e ? "lighter" : "darker"]
|
|
1243
1632
|
},
|
|
1244
1633
|
buffer: {
|
|
1245
1634
|
backgroundColor: "transparent"
|
|
@@ -1248,7 +1637,7 @@ function hr(r) {
|
|
|
1248
1637
|
}
|
|
1249
1638
|
};
|
|
1250
1639
|
}
|
|
1251
|
-
function
|
|
1640
|
+
function mo(o) {
|
|
1252
1641
|
return {
|
|
1253
1642
|
MuiTimelineDot: {
|
|
1254
1643
|
styleOverrides: {
|
|
@@ -1260,43 +1649,43 @@ function Fr(r) {
|
|
|
1260
1649
|
MuiTimelineConnector: {
|
|
1261
1650
|
styleOverrides: {
|
|
1262
1651
|
root: {
|
|
1263
|
-
backgroundColor:
|
|
1652
|
+
backgroundColor: o.palette.divider
|
|
1264
1653
|
}
|
|
1265
1654
|
}
|
|
1266
1655
|
}
|
|
1267
1656
|
};
|
|
1268
1657
|
}
|
|
1269
|
-
function
|
|
1658
|
+
function Ro(o) {
|
|
1270
1659
|
return {
|
|
1271
1660
|
MuiCheckbox: {
|
|
1272
1661
|
styleOverrides: {
|
|
1273
1662
|
root: {
|
|
1274
|
-
padding:
|
|
1663
|
+
padding: o.spacing(1),
|
|
1275
1664
|
oleee: "sss",
|
|
1276
|
-
color:
|
|
1665
|
+
color: o.palette.action.active,
|
|
1277
1666
|
"& .Mui-checked": {
|
|
1278
|
-
color:
|
|
1667
|
+
color: o.palette.primary.main
|
|
1279
1668
|
},
|
|
1280
1669
|
"&.Mui-checked.Mui-disabled, &.Mui-disabled": {
|
|
1281
|
-
color:
|
|
1670
|
+
color: o.palette.action.disabled
|
|
1282
1671
|
}
|
|
1283
1672
|
}
|
|
1284
1673
|
}
|
|
1285
1674
|
}
|
|
1286
1675
|
};
|
|
1287
1676
|
}
|
|
1288
|
-
function
|
|
1677
|
+
function So(o) {
|
|
1289
1678
|
return {
|
|
1290
1679
|
MuiAccordion: {
|
|
1291
1680
|
styleOverrides: {
|
|
1292
1681
|
root: {
|
|
1293
|
-
backgroundColor:
|
|
1682
|
+
backgroundColor: o.palette.background.default,
|
|
1294
1683
|
width: "100%",
|
|
1295
1684
|
marginTop: "0px",
|
|
1296
|
-
marginBottom:
|
|
1685
|
+
marginBottom: o.spacing(1.5),
|
|
1297
1686
|
"&.Mui-expanded": {
|
|
1298
1687
|
marginTop: "0px",
|
|
1299
|
-
marginBottom:
|
|
1688
|
+
marginBottom: o.spacing(1.5)
|
|
1300
1689
|
},
|
|
1301
1690
|
border: "0px solid transparent",
|
|
1302
1691
|
"&.Mui-disabled": {
|
|
@@ -1311,35 +1700,35 @@ function kr(r) {
|
|
|
1311
1700
|
MuiAccordionDetails: {
|
|
1312
1701
|
styleOverrides: {
|
|
1313
1702
|
root: {
|
|
1314
|
-
padding: `0px ${
|
|
1703
|
+
padding: `0px ${o.spacing(0)}`
|
|
1315
1704
|
}
|
|
1316
1705
|
}
|
|
1317
1706
|
},
|
|
1318
1707
|
MuiAccordionSummary: {
|
|
1319
1708
|
styleOverrides: {
|
|
1320
1709
|
root: {
|
|
1321
|
-
borderRadius:
|
|
1322
|
-
height:
|
|
1323
|
-
minHeight:
|
|
1324
|
-
backgroundColor:
|
|
1325
|
-
paddingLeft:
|
|
1326
|
-
paddingRight:
|
|
1710
|
+
borderRadius: o.spacing(0.5),
|
|
1711
|
+
height: o.spacing(4.5),
|
|
1712
|
+
minHeight: o.spacing(4.5),
|
|
1713
|
+
backgroundColor: o.palette.background.header,
|
|
1714
|
+
paddingLeft: o.spacing(2),
|
|
1715
|
+
paddingRight: o.spacing(2),
|
|
1327
1716
|
marginBottom: "0px",
|
|
1328
1717
|
"&.Mui-expanded": {
|
|
1329
|
-
height:
|
|
1330
|
-
minHeight:
|
|
1331
|
-
borderRadius: `${
|
|
1718
|
+
height: o.spacing(4.5),
|
|
1719
|
+
minHeight: o.spacing(4.5),
|
|
1720
|
+
borderRadius: `${o.spacing(0.5)} ${o.spacing(0.5)} 0px 0px`
|
|
1332
1721
|
},
|
|
1333
1722
|
"&.Mui-disabled": {
|
|
1334
1723
|
opacity: 1,
|
|
1335
|
-
color:
|
|
1724
|
+
color: o.palette.action.disabled,
|
|
1336
1725
|
"& .MuiTypography-root": {
|
|
1337
1726
|
color: "inherit"
|
|
1338
1727
|
}
|
|
1339
1728
|
}
|
|
1340
1729
|
},
|
|
1341
1730
|
expandIconWrapper: {
|
|
1342
|
-
color:
|
|
1731
|
+
color: o.palette.action.active,
|
|
1343
1732
|
height: 20,
|
|
1344
1733
|
width: 20,
|
|
1345
1734
|
alignItems: "center",
|
|
@@ -1350,7 +1739,7 @@ function kr(r) {
|
|
|
1350
1739
|
}
|
|
1351
1740
|
},
|
|
1352
1741
|
content: {
|
|
1353
|
-
...
|
|
1742
|
+
...o.typography.subtitle2,
|
|
1354
1743
|
margin: "0px",
|
|
1355
1744
|
"&.Mui-expanded": {
|
|
1356
1745
|
margin: "0px"
|
|
@@ -1360,93 +1749,98 @@ function kr(r) {
|
|
|
1360
1749
|
}
|
|
1361
1750
|
};
|
|
1362
1751
|
}
|
|
1363
|
-
function
|
|
1752
|
+
function Lo(o) {
|
|
1364
1753
|
return {
|
|
1365
1754
|
MuiTypography: {
|
|
1755
|
+
defaultProps: {
|
|
1756
|
+
variantMapping: {
|
|
1757
|
+
subtitleDens: "span"
|
|
1758
|
+
}
|
|
1759
|
+
},
|
|
1366
1760
|
styleOverrides: {
|
|
1367
1761
|
paragraph: {
|
|
1368
|
-
marginBottom:
|
|
1762
|
+
marginBottom: o.spacing(2)
|
|
1369
1763
|
},
|
|
1370
1764
|
gutterBottom: {
|
|
1371
|
-
marginBottom:
|
|
1765
|
+
marginBottom: o.spacing(1)
|
|
1372
1766
|
}
|
|
1373
1767
|
}
|
|
1374
1768
|
}
|
|
1375
1769
|
};
|
|
1376
1770
|
}
|
|
1377
|
-
function
|
|
1771
|
+
function Oo(o) {
|
|
1378
1772
|
return {
|
|
1379
1773
|
MuiPaginationItem: {
|
|
1380
1774
|
styleOverrides: {
|
|
1381
1775
|
root: {
|
|
1382
1776
|
"&.Mui-selected": {
|
|
1383
|
-
fontWeight:
|
|
1777
|
+
fontWeight: o.typography.fontWeightBold
|
|
1384
1778
|
}
|
|
1385
1779
|
},
|
|
1386
1780
|
textPrimary: {
|
|
1387
1781
|
"&.Mui-selected": {
|
|
1388
|
-
color:
|
|
1389
|
-
backgroundColor:
|
|
1782
|
+
color: o.palette.primary.main,
|
|
1783
|
+
backgroundColor: t(o.palette.primary.main, 0.08),
|
|
1390
1784
|
"&:hover, &.Mui-focusVisible": {
|
|
1391
|
-
backgroundColor: `${
|
|
1392
|
-
|
|
1785
|
+
backgroundColor: `${t(
|
|
1786
|
+
o.palette.primary.main,
|
|
1393
1787
|
0.24
|
|
1394
1788
|
)} !important`
|
|
1395
1789
|
}
|
|
1396
1790
|
}
|
|
1397
1791
|
},
|
|
1398
1792
|
outlined: {
|
|
1399
|
-
border: `1px solid ${
|
|
1793
|
+
border: `1px solid ${o.palette.grey[50032]}`
|
|
1400
1794
|
},
|
|
1401
1795
|
outlinedPrimary: {
|
|
1402
1796
|
"&.Mui-selected": {
|
|
1403
|
-
backgroundColor:
|
|
1404
|
-
border: `1px solid ${
|
|
1797
|
+
backgroundColor: t(o.palette.primary.main, 0.08),
|
|
1798
|
+
border: `1px solid ${t(o.palette.primary.main, 0.24)}`
|
|
1405
1799
|
}
|
|
1406
1800
|
}
|
|
1407
1801
|
}
|
|
1408
1802
|
}
|
|
1409
1803
|
};
|
|
1410
1804
|
}
|
|
1411
|
-
function
|
|
1805
|
+
function wo(o) {
|
|
1412
1806
|
return {
|
|
1413
1807
|
MuiBreadcrumbs: {
|
|
1414
1808
|
styleOverrides: {
|
|
1415
1809
|
separator: {
|
|
1416
|
-
marginLeft:
|
|
1417
|
-
marginRight:
|
|
1810
|
+
marginLeft: o.spacing(2),
|
|
1811
|
+
marginRight: o.spacing(2)
|
|
1418
1812
|
}
|
|
1419
1813
|
}
|
|
1420
1814
|
}
|
|
1421
1815
|
};
|
|
1422
1816
|
}
|
|
1423
|
-
function
|
|
1424
|
-
const
|
|
1425
|
-
props: { variant: "contained", color:
|
|
1426
|
-
style: { boxShadow:
|
|
1817
|
+
function $o(o) {
|
|
1818
|
+
const e = (a) => ({
|
|
1819
|
+
props: { variant: "contained", color: a },
|
|
1820
|
+
style: { boxShadow: o.customShadows.primary }
|
|
1427
1821
|
});
|
|
1428
1822
|
return {
|
|
1429
1823
|
MuiButtonGroup: {
|
|
1430
1824
|
variants: [
|
|
1431
1825
|
{
|
|
1432
1826
|
props: { variant: "contained", color: "inherit" },
|
|
1433
|
-
style: { boxShadow:
|
|
1434
|
-
},
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1827
|
+
style: { boxShadow: o.customShadows.z4 }
|
|
1828
|
+
},
|
|
1829
|
+
e("primary"),
|
|
1830
|
+
e("secondary"),
|
|
1831
|
+
e("info"),
|
|
1832
|
+
e("success"),
|
|
1833
|
+
e("warning"),
|
|
1834
|
+
e("error"),
|
|
1441
1835
|
{
|
|
1442
1836
|
props: { disabled: !0 },
|
|
1443
1837
|
style: {
|
|
1444
1838
|
boxShadow: "none",
|
|
1445
1839
|
"& .MuiButtonGroup-grouped.Mui-disabled": {
|
|
1446
|
-
color:
|
|
1447
|
-
borderColor: `${
|
|
1840
|
+
color: o.palette.action.disabled,
|
|
1841
|
+
borderColor: `${o.palette.action.disabledBackground} !important`,
|
|
1448
1842
|
"&.MuiButton-contained": {
|
|
1449
|
-
backgroundColor:
|
|
1843
|
+
backgroundColor: o.palette.action.disabledBackground
|
|
1450
1844
|
}
|
|
1451
1845
|
}
|
|
1452
1846
|
}
|
|
@@ -1462,7 +1856,7 @@ function wr(r) {
|
|
|
1462
1856
|
}
|
|
1463
1857
|
};
|
|
1464
1858
|
}
|
|
1465
|
-
function
|
|
1859
|
+
function Ao(o) {
|
|
1466
1860
|
return {
|
|
1467
1861
|
MuiCssBaseline: {
|
|
1468
1862
|
styleOverrides: {
|
|
@@ -1505,46 +1899,43 @@ function mr(r) {
|
|
|
1505
1899
|
}
|
|
1506
1900
|
};
|
|
1507
1901
|
}
|
|
1508
|
-
function
|
|
1902
|
+
function To(o) {
|
|
1509
1903
|
return {
|
|
1510
1904
|
MuiAutocomplete: {
|
|
1511
1905
|
styleOverrides: {
|
|
1512
1906
|
root: {
|
|
1513
1907
|
"& .MuiInputBase-root": {
|
|
1514
1908
|
padding: "0 39px 0px 0"
|
|
1515
|
-
},
|
|
1516
|
-
input: {
|
|
1517
|
-
padding: `${r.spacing(1.5, 1.5)}!important`
|
|
1518
1909
|
}
|
|
1519
1910
|
},
|
|
1520
1911
|
paper: {
|
|
1521
|
-
boxShadow:
|
|
1912
|
+
boxShadow: o.customShadows.dropdown
|
|
1522
1913
|
},
|
|
1523
1914
|
listbox: {
|
|
1524
|
-
padding:
|
|
1915
|
+
padding: o.spacing(0, 1),
|
|
1525
1916
|
"& .MuiAutocomplete-option": {
|
|
1526
|
-
padding:
|
|
1527
|
-
margin:
|
|
1528
|
-
borderRadius:
|
|
1917
|
+
padding: o.spacing(1),
|
|
1918
|
+
margin: o.spacing(1, 0),
|
|
1919
|
+
borderRadius: o.shape.borderRadius
|
|
1529
1920
|
}
|
|
1530
1921
|
}
|
|
1531
1922
|
}
|
|
1532
1923
|
}
|
|
1533
1924
|
};
|
|
1534
1925
|
}
|
|
1535
|
-
const
|
|
1536
|
-
props: { color:
|
|
1926
|
+
const u = (o, e) => ({
|
|
1927
|
+
props: { color: e },
|
|
1537
1928
|
style: {
|
|
1538
1929
|
"&:hover": {
|
|
1539
|
-
borderColor:
|
|
1540
|
-
backgroundColor:
|
|
1930
|
+
borderColor: t(o.palette[e].main, 0.48),
|
|
1931
|
+
backgroundColor: t(o.palette[e].main, o.palette.action.hoverOpacity)
|
|
1541
1932
|
},
|
|
1542
1933
|
"&.Mui-selected": {
|
|
1543
|
-
borderColor:
|
|
1934
|
+
borderColor: t(o.palette[e].main, 0.48)
|
|
1544
1935
|
}
|
|
1545
1936
|
}
|
|
1546
1937
|
});
|
|
1547
|
-
function
|
|
1938
|
+
function Do(o) {
|
|
1548
1939
|
return {
|
|
1549
1940
|
MuiToggleButton: {
|
|
1550
1941
|
variants: [
|
|
@@ -1552,68 +1943,68 @@ function Or(r) {
|
|
|
1552
1943
|
props: { color: "standard" },
|
|
1553
1944
|
style: {
|
|
1554
1945
|
"&.Mui-selected": {
|
|
1555
|
-
backgroundColor:
|
|
1946
|
+
backgroundColor: o.palette.action.selected
|
|
1556
1947
|
}
|
|
1557
1948
|
}
|
|
1558
1949
|
},
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1950
|
+
u(o, "primary"),
|
|
1951
|
+
u(o, "secondary"),
|
|
1952
|
+
u(o, "info"),
|
|
1953
|
+
u(o, "success"),
|
|
1954
|
+
u(o, "warning"),
|
|
1955
|
+
u(o, "error")
|
|
1565
1956
|
]
|
|
1566
1957
|
},
|
|
1567
1958
|
MuiToggleButtonGroup: {
|
|
1568
1959
|
styleOverrides: {
|
|
1569
1960
|
root: {
|
|
1570
|
-
borderRadius:
|
|
1571
|
-
backgroundColor:
|
|
1572
|
-
border: `solid 1px ${
|
|
1961
|
+
borderRadius: o.shape.borderRadius,
|
|
1962
|
+
backgroundColor: o.palette.background.paper,
|
|
1963
|
+
border: `solid 1px ${o.palette.grey[50012]}`,
|
|
1573
1964
|
"& .MuiToggleButton-root": {
|
|
1574
1965
|
margin: 4,
|
|
1575
1966
|
borderColor: "transparent !important",
|
|
1576
|
-
borderRadius: `${
|
|
1967
|
+
borderRadius: `${o.shape.borderRadius}px !important`
|
|
1577
1968
|
}
|
|
1578
1969
|
}
|
|
1579
1970
|
}
|
|
1580
1971
|
}
|
|
1581
1972
|
};
|
|
1582
1973
|
}
|
|
1583
|
-
function
|
|
1974
|
+
function Io(o) {
|
|
1584
1975
|
return {
|
|
1585
1976
|
MuiFormControlLabel: {
|
|
1586
1977
|
styleOverrides: {
|
|
1587
1978
|
label: {
|
|
1588
|
-
...
|
|
1979
|
+
...o.typography.body1
|
|
1589
1980
|
}
|
|
1590
1981
|
}
|
|
1591
1982
|
},
|
|
1592
1983
|
MuiFormHelperText: {
|
|
1593
1984
|
styleOverrides: {
|
|
1594
1985
|
root: {
|
|
1595
|
-
marginTop:
|
|
1986
|
+
marginTop: o.spacing(1)
|
|
1596
1987
|
}
|
|
1597
1988
|
}
|
|
1598
1989
|
},
|
|
1599
1990
|
MuiFormLabel: {
|
|
1600
1991
|
styleOverrides: {
|
|
1601
1992
|
root: {
|
|
1602
|
-
color:
|
|
1993
|
+
color: o.palette.text.disabled
|
|
1603
1994
|
}
|
|
1604
1995
|
}
|
|
1605
1996
|
}
|
|
1606
1997
|
};
|
|
1607
1998
|
}
|
|
1608
|
-
function
|
|
1999
|
+
function zo(o) {
|
|
1609
2000
|
return {
|
|
1610
2001
|
MuiLoadingButton: {
|
|
1611
2002
|
styleOverrides: {
|
|
1612
2003
|
root: {
|
|
1613
2004
|
"&.MuiLoadingButton-root": {
|
|
1614
|
-
...
|
|
2005
|
+
...o.typography.subtitle2,
|
|
1615
2006
|
"& .MuiCircularProgress-root": {
|
|
1616
|
-
color:
|
|
2007
|
+
color: o.palette.primary.main
|
|
1617
2008
|
}
|
|
1618
2009
|
},
|
|
1619
2010
|
"&.MuiButton-text": {
|
|
@@ -1629,48 +2020,40 @@ function Rr(r) {
|
|
|
1629
2020
|
}
|
|
1630
2021
|
};
|
|
1631
2022
|
}
|
|
1632
|
-
const
|
|
2023
|
+
const Go = (o) => ({
|
|
1633
2024
|
M4LBruceTest: {
|
|
1634
2025
|
styleOverrides: {}
|
|
1635
2026
|
}
|
|
1636
|
-
}),
|
|
2027
|
+
}), Eo = (o) => ({
|
|
1637
2028
|
M4LDynamicFilter: {
|
|
1638
2029
|
styleOverrides: {}
|
|
1639
2030
|
}
|
|
1640
|
-
}),
|
|
2031
|
+
}), Ho = (o) => ({
|
|
1641
2032
|
M4LRHFTextFieldPassword: {
|
|
1642
2033
|
styleOverrides: {
|
|
1643
2034
|
["&.M4LRHFTextFieldPassword-root"]: {
|
|
1644
2035
|
[".M4LRHFTextField-root .MuiTextField-root"]: {
|
|
1645
|
-
|
|
2036
|
+
test: "root",
|
|
2037
|
+
display: "flex",
|
|
2038
|
+
flexDirection: "column",
|
|
2039
|
+
gap: o.spacing(1)
|
|
1646
2040
|
}
|
|
1647
2041
|
}
|
|
1648
2042
|
}
|
|
1649
2043
|
}
|
|
1650
|
-
}),
|
|
2044
|
+
}), Po = (o) => ({
|
|
1651
2045
|
M4LRHFTextField: {
|
|
1652
|
-
styleOverrides: {
|
|
1653
|
-
["&.M4LRHFTextField-root"]: {
|
|
1654
|
-
test: "root",
|
|
1655
|
-
".MuiTextField-root": {
|
|
1656
|
-
border: "1px solid purple"
|
|
1657
|
-
},
|
|
1658
|
-
".MuiFormLabel-root": {
|
|
1659
|
-
background: "orange"
|
|
1660
|
-
}
|
|
1661
|
-
}
|
|
1662
|
-
}
|
|
2046
|
+
styleOverrides: {}
|
|
1663
2047
|
}
|
|
1664
|
-
}),
|
|
2048
|
+
}), Wo = (o) => ({
|
|
1665
2049
|
M4LIcon: {
|
|
1666
2050
|
styleOverrides: {
|
|
1667
2051
|
["&.M4LIcon-root"]: {
|
|
1668
|
-
test: "root"
|
|
1669
|
-
backgroundColor: r.palette.primary.main
|
|
2052
|
+
test: "root"
|
|
1670
2053
|
}
|
|
1671
2054
|
}
|
|
1672
2055
|
}
|
|
1673
|
-
}),
|
|
2056
|
+
}), qo = (o) => ({
|
|
1674
2057
|
M4LIconButton: {
|
|
1675
2058
|
styleOverrides: {
|
|
1676
2059
|
["&.M4LIconButton-root"]: {
|
|
@@ -1678,26 +2061,57 @@ const Tr = (r) => ({
|
|
|
1678
2061
|
}
|
|
1679
2062
|
}
|
|
1680
2063
|
}
|
|
1681
|
-
}),
|
|
2064
|
+
}), _o = (o) => ({
|
|
1682
2065
|
M4LanguagePopover: {
|
|
1683
2066
|
styleOverrides: {
|
|
1684
2067
|
["&.M4LanguagePopover-root"]: {
|
|
1685
|
-
test: "root"
|
|
1686
|
-
".MuiIconButton-sizeMedium": {
|
|
1687
|
-
border: "1px solid red"
|
|
1688
|
-
}
|
|
2068
|
+
test: "root"
|
|
1689
2069
|
}
|
|
1690
2070
|
}
|
|
1691
2071
|
}
|
|
1692
|
-
}),
|
|
2072
|
+
}), No = (o) => ({
|
|
1693
2073
|
M4LImageButton: {
|
|
1694
2074
|
styleOverrides: {
|
|
1695
2075
|
["&.M4LImageButton-root"]: {
|
|
1696
|
-
test: "root"
|
|
2076
|
+
test: "root",
|
|
2077
|
+
".MuiButtonBase-root": {
|
|
2078
|
+
display: "flex",
|
|
2079
|
+
padding: "4px",
|
|
2080
|
+
borderRadius: "6px",
|
|
2081
|
+
alignItems: "center",
|
|
2082
|
+
justifyContent: "center"
|
|
2083
|
+
},
|
|
2084
|
+
".M4LImage-root": {
|
|
2085
|
+
display: "flex",
|
|
2086
|
+
alignItems: "center",
|
|
2087
|
+
justifyContent: "center",
|
|
2088
|
+
objectFit: "cover",
|
|
2089
|
+
width: "100%",
|
|
2090
|
+
height: "100%"
|
|
2091
|
+
},
|
|
2092
|
+
".M4LImage-lazyLoad": {
|
|
2093
|
+
borderRadius: "4px",
|
|
2094
|
+
width: "100%",
|
|
2095
|
+
height: "100%",
|
|
2096
|
+
display: "flex",
|
|
2097
|
+
alignItems: "center",
|
|
2098
|
+
justifyContent: "center"
|
|
2099
|
+
},
|
|
2100
|
+
".M4LImage-img": {
|
|
2101
|
+
borderRadius: "4px"
|
|
2102
|
+
},
|
|
2103
|
+
".MuiButtonBase-root:hover": {
|
|
2104
|
+
backgroundColor: o.palette.state?.active12
|
|
2105
|
+
},
|
|
2106
|
+
".MuiButtonBase-root:focus": {
|
|
2107
|
+
backgroundColor: o.palette.state?.active12,
|
|
2108
|
+
border: "1px solid",
|
|
2109
|
+
borderColor: o.palette.state?.focus
|
|
2110
|
+
}
|
|
1697
2111
|
}
|
|
1698
2112
|
}
|
|
1699
2113
|
}
|
|
1700
|
-
}),
|
|
2114
|
+
}), Yo = (o) => ({
|
|
1701
2115
|
M4LImage: {
|
|
1702
2116
|
styleOverrides: {
|
|
1703
2117
|
["&.M4LImage-root"]: {
|
|
@@ -1705,26 +2119,83 @@ const Tr = (r) => ({
|
|
|
1705
2119
|
}
|
|
1706
2120
|
}
|
|
1707
2121
|
}
|
|
1708
|
-
}),
|
|
2122
|
+
}), jo = (o) => ({
|
|
1709
2123
|
M4LPopover: {
|
|
1710
2124
|
styleOverrides: {
|
|
1711
2125
|
["&.M4LPopover-root"]: {
|
|
1712
2126
|
test: "root",
|
|
1713
2127
|
".MuiPaper-root": {
|
|
1714
|
-
background:
|
|
2128
|
+
background: o.palette.background.default,
|
|
2129
|
+
borderRadius: "6px",
|
|
2130
|
+
Padding: "8px",
|
|
2131
|
+
margin: "8px 0px 0px 8px",
|
|
2132
|
+
boxShadow: o.customShadows.z3
|
|
1715
2133
|
}
|
|
1716
2134
|
}
|
|
1717
2135
|
}
|
|
1718
2136
|
}
|
|
1719
|
-
}),
|
|
2137
|
+
}), Vo = (o) => ({
|
|
1720
2138
|
M4LRHFCheckbox: {
|
|
1721
2139
|
styleOverrides: {
|
|
1722
2140
|
["&.M4LRHFCheckbox-root"]: {
|
|
1723
|
-
test: "root"
|
|
2141
|
+
test: "root",
|
|
2142
|
+
".M4LRHFCheckbox-checkTypography": {
|
|
2143
|
+
display: "flex",
|
|
2144
|
+
gap: o.spacing(2),
|
|
2145
|
+
[o.breakpoints.down("sm")]: {
|
|
2146
|
+
gap: o.spacing(1),
|
|
2147
|
+
...o.typography.paragraph
|
|
2148
|
+
}
|
|
2149
|
+
},
|
|
2150
|
+
"& .MuiTypography-root": {
|
|
2151
|
+
color: o.palette.text.primary,
|
|
2152
|
+
...o.typography.body
|
|
2153
|
+
},
|
|
2154
|
+
".M4LRHFCheckbox-small .MuiButtonBase-root": {
|
|
2155
|
+
width: "20px",
|
|
2156
|
+
height: "20px"
|
|
2157
|
+
},
|
|
2158
|
+
".MuiCheckbox-root .MuiSvgIcon-fontSizeSmall": {
|
|
2159
|
+
width: "16px",
|
|
2160
|
+
height: "16px"
|
|
2161
|
+
},
|
|
2162
|
+
".M4LRHFCheckbox-medium .MuiButtonBase-root": {
|
|
2163
|
+
width: "24px",
|
|
2164
|
+
height: "24px"
|
|
2165
|
+
},
|
|
2166
|
+
".MuiCheckbox-root .MuiSvgIcon-fontSizeMedium": {
|
|
2167
|
+
width: "20px",
|
|
2168
|
+
height: "20px"
|
|
2169
|
+
},
|
|
2170
|
+
".MuiButtonBase-root": {
|
|
2171
|
+
borderRadius: "4px"
|
|
2172
|
+
},
|
|
2173
|
+
".MuiButtonBase-root:hover": {
|
|
2174
|
+
backgroundColor: o.palette.state?.active12
|
|
2175
|
+
},
|
|
2176
|
+
".Mui-focusVisible": {
|
|
2177
|
+
border: "1px solid",
|
|
2178
|
+
borderColor: o.palette.state?.focus
|
|
2179
|
+
},
|
|
2180
|
+
".MuiButtonBase-root:hover .MuiSvgIcon-root": {
|
|
2181
|
+
fill: o.palette.state?.hover
|
|
2182
|
+
},
|
|
2183
|
+
".M4LRHFCheckbox-checkTypography .MuiTypography-root": {
|
|
2184
|
+
...o.typography.body
|
|
2185
|
+
},
|
|
2186
|
+
".M4LRHFCheckbox-stateDisabled .MuiSvgIcon-root": {
|
|
2187
|
+
fill: o.palette.state?.default
|
|
2188
|
+
},
|
|
2189
|
+
".M4LRHFCheckbox-stateDisabled .MuiTypography-root": {
|
|
2190
|
+
color: o.palette.text.disabled
|
|
2191
|
+
},
|
|
2192
|
+
".MuiButtonBase-root .Mui-focusVisible:focus-visible": {
|
|
2193
|
+
outline: "#fff00"
|
|
2194
|
+
}
|
|
1724
2195
|
}
|
|
1725
2196
|
}
|
|
1726
2197
|
}
|
|
1727
|
-
}),
|
|
2198
|
+
}), Uo = (o) => ({
|
|
1728
2199
|
M4LErrorLabel: {
|
|
1729
2200
|
styleOverrides: {
|
|
1730
2201
|
["&.M4LErrorLabel-root"]: {
|
|
@@ -1732,96 +2203,143 @@ const Tr = (r) => ({
|
|
|
1732
2203
|
}
|
|
1733
2204
|
}
|
|
1734
2205
|
}
|
|
1735
|
-
}),
|
|
2206
|
+
}), Ko = (o) => ({
|
|
1736
2207
|
M4LTypography: {
|
|
1737
2208
|
styleOverrides: {
|
|
1738
2209
|
["&.M4LTypography-root"]: {
|
|
1739
|
-
|
|
2210
|
+
display: "inline",
|
|
2211
|
+
"& .MuiTypography-root": {
|
|
2212
|
+
margin: "unset"
|
|
2213
|
+
}
|
|
1740
2214
|
}
|
|
1741
2215
|
}
|
|
1742
2216
|
}
|
|
1743
|
-
}),
|
|
2217
|
+
}), Jo = (o) => ({
|
|
1744
2218
|
M4LButton: {
|
|
2219
|
+
styleOverrides: {}
|
|
2220
|
+
}
|
|
2221
|
+
}), Qo = (o) => ({
|
|
2222
|
+
M4LRHFAutocomplete: {
|
|
1745
2223
|
styleOverrides: {
|
|
1746
|
-
["&.
|
|
2224
|
+
["&.M4LRHFAutocomplete-root"]: {
|
|
2225
|
+
test: "root"
|
|
2226
|
+
}
|
|
2227
|
+
}
|
|
2228
|
+
}
|
|
2229
|
+
}), Xo = (o) => ({
|
|
2230
|
+
M4LRHFAutocompleteAsync: {
|
|
2231
|
+
styleOverrides: {
|
|
2232
|
+
["&.M4LRHFAutocompleteAsync-root"]: {
|
|
2233
|
+
test: "root"
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
}), Zo = (o) => ({
|
|
2238
|
+
M4LoadingButton: {
|
|
2239
|
+
styleOverrides: {}
|
|
2240
|
+
}
|
|
2241
|
+
}), or = (o) => ({
|
|
2242
|
+
M4LNavLink: {
|
|
2243
|
+
styleOverrides: {
|
|
2244
|
+
["&.M4LNavLink-root"]: {
|
|
1747
2245
|
test: "root"
|
|
1748
2246
|
}
|
|
1749
2247
|
}
|
|
1750
2248
|
}
|
|
1751
2249
|
});
|
|
1752
|
-
function
|
|
2250
|
+
function ur(o) {
|
|
1753
2251
|
return Object.assign(
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
2252
|
+
oo(o),
|
|
2253
|
+
to(o),
|
|
2254
|
+
ro(o),
|
|
2255
|
+
eo(o),
|
|
2256
|
+
ao(o),
|
|
2257
|
+
so(o),
|
|
2258
|
+
uo(),
|
|
2259
|
+
co(o),
|
|
2260
|
+
po(),
|
|
2261
|
+
io(o),
|
|
2262
|
+
no(o),
|
|
2263
|
+
lo(o),
|
|
2264
|
+
yo(o),
|
|
2265
|
+
X(o),
|
|
2266
|
+
Z(o),
|
|
2267
|
+
xo(o),
|
|
2268
|
+
Q(o),
|
|
2269
|
+
bo(o),
|
|
2270
|
+
go(o),
|
|
2271
|
+
vo(o),
|
|
2272
|
+
ho(o),
|
|
2273
|
+
Mo(o),
|
|
2274
|
+
fo(),
|
|
2275
|
+
Ro(o),
|
|
2276
|
+
Bo(o),
|
|
2277
|
+
Fo(o),
|
|
2278
|
+
mo(o),
|
|
2279
|
+
ko(o),
|
|
2280
|
+
Co(o),
|
|
2281
|
+
So(o),
|
|
2282
|
+
Lo(o),
|
|
2283
|
+
Oo(o),
|
|
2284
|
+
$o(o),
|
|
2285
|
+
wo(o),
|
|
2286
|
+
Ao(),
|
|
2287
|
+
To(o),
|
|
2288
|
+
Io(o),
|
|
2289
|
+
Do(o),
|
|
2290
|
+
zo(o),
|
|
2291
|
+
Zo(),
|
|
2292
|
+
Go(),
|
|
2293
|
+
Eo(),
|
|
2294
|
+
Po(),
|
|
2295
|
+
Ho(o),
|
|
2296
|
+
Qo(),
|
|
2297
|
+
Xo(),
|
|
2298
|
+
Wo(),
|
|
2299
|
+
qo(),
|
|
2300
|
+
_o(),
|
|
2301
|
+
No(o),
|
|
2302
|
+
or(),
|
|
2303
|
+
Yo(),
|
|
2304
|
+
jo(o),
|
|
2305
|
+
Vo(o),
|
|
2306
|
+
Uo(),
|
|
2307
|
+
Ko(),
|
|
2308
|
+
Jo()
|
|
1807
2309
|
);
|
|
1808
2310
|
}
|
|
2311
|
+
const cr = {
|
|
2312
|
+
values: {
|
|
2313
|
+
xs: 0,
|
|
2314
|
+
sm: 600,
|
|
2315
|
+
md: 900,
|
|
2316
|
+
lg: 1200,
|
|
2317
|
+
xl: 1400
|
|
2318
|
+
}
|
|
2319
|
+
}, gr = {
|
|
2320
|
+
mobile: 16,
|
|
2321
|
+
desktop: 8
|
|
2322
|
+
};
|
|
1809
2323
|
export {
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
2324
|
+
r as PATRONUSCOLORS,
|
|
2325
|
+
N as blaze,
|
|
2326
|
+
_ as candy,
|
|
2327
|
+
g as colorPresets,
|
|
2328
|
+
sr as createCustomShadows,
|
|
2329
|
+
P as defaultPreset,
|
|
2330
|
+
lr as defaultThemeOptions,
|
|
2331
|
+
ur as fnComponentsOverrides,
|
|
2332
|
+
ir as getColorPresets,
|
|
2333
|
+
nr as getColorState,
|
|
2334
|
+
pr as getFontValue,
|
|
2335
|
+
gr as globalRemSize,
|
|
2336
|
+
q as grass,
|
|
2337
|
+
cr as muiBreakpointsValues,
|
|
2338
|
+
d as palette,
|
|
2339
|
+
s as pxToRem,
|
|
2340
|
+
Y as remToPx,
|
|
2341
|
+
p as responsiveFontSizes,
|
|
2342
|
+
dr as shadows,
|
|
2343
|
+
W as turqui,
|
|
2344
|
+
U as typography
|
|
1827
2345
|
};
|