@m4l/styles 0.0.49 → 1.0.0
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/index.js +42 -32
- package/package.json +2 -2
- package/theme/defaultThemeOptions.0976e58a.js +34 -0
- package/theme/defaultThemeOptions.d.ts +1 -5
- package/theme/index.5da3436d.js +7 -0
- package/theme/index.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +2 -65
- package/theme/overrides/M4LExtendedComponents/M4LAppBarCommercial.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +418 -2
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +4 -2
- package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +22 -1
- package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LCheckBox.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LCommonActions.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LErrorLabel.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LFieldLabel.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LFormatter.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LGridLayout.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LHamburgerMenuCommercial.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LIcon.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LImage.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LImageButton.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LMFLoader.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LMenuActions.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LNavLink.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LNoItemSelected.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPDFViewer.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPaperForm.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPrintingSystem.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LScrollBar.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LSectionCommercial.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LStack.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LTabContent.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LTabs.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LToastContainer.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LTooltip.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LTopBar.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LTypography.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LinearProgressIndeterminate.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LoadingError.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/{index.0ba2f034.js → index.21814c8d.js} +819 -799
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +25 -15
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFColorPicker.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFPeriod.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFTextFieldPassword.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/{index.f37c2406.js → index.3599b255.js} +143 -133
- package/theme/overrides/MUIComponents/Accordion.d.ts +2 -2
- package/theme/overrides/MUIComponents/Autocomplete.d.ts +2 -2
- package/theme/overrides/MUIComponents/Avatar.d.ts +2 -2
- package/theme/overrides/MUIComponents/Backdrop.d.ts +2 -2
- package/theme/overrides/MUIComponents/Badge.d.ts +2 -2
- package/theme/overrides/MUIComponents/Breadcrumbs.d.ts +2 -2
- package/theme/overrides/MUIComponents/Button.d.ts +2 -2
- package/theme/overrides/MUIComponents/ButtonGroup.d.ts +2 -2
- package/theme/overrides/MUIComponents/Card.d.ts +2 -2
- package/theme/overrides/MUIComponents/Checkbox.d.ts +2 -2
- package/theme/overrides/MUIComponents/CmpDisenoTest.d.ts +2 -2
- package/theme/overrides/MUIComponents/ControlLabel.d.ts +2 -2
- package/theme/overrides/MUIComponents/CssBaseline.d.ts +2 -2
- package/theme/overrides/MUIComponents/DataGrid.d.ts +2 -2
- package/theme/overrides/MUIComponents/Drawer.d.ts +2 -2
- package/theme/overrides/MUIComponents/Fab.d.ts +2 -2
- package/theme/overrides/MUIComponents/IconButton.d.ts +2 -2
- package/theme/overrides/MUIComponents/Input.d.ts +2 -2
- package/theme/overrides/MUIComponents/InputLabel.d.ts +2 -2
- package/theme/overrides/MUIComponents/Link.d.ts +2 -2
- package/theme/overrides/MUIComponents/List.d.ts +2 -2
- package/theme/overrides/MUIComponents/LoadingButton.d.ts +2 -2
- package/theme/overrides/MUIComponents/Menu.d.ts +2 -2
- package/theme/overrides/MUIComponents/Pagination.d.ts +2 -2
- package/theme/overrides/MUIComponents/Paper.d.ts +2 -2
- package/theme/overrides/MUIComponents/Popover.d.ts +2 -2
- package/theme/overrides/MUIComponents/Progress.d.ts +2 -2
- package/theme/overrides/MUIComponents/Radio.d.ts +2 -2
- package/theme/overrides/MUIComponents/Skeleton.d.ts +2 -2
- package/theme/overrides/MUIComponents/Slider.d.ts +2 -2
- package/theme/overrides/MUIComponents/Stepper.d.ts +2 -2
- package/theme/overrides/MUIComponents/SvgIcon.d.ts +2 -2
- package/theme/overrides/MUIComponents/Switch.d.ts +2 -2
- package/theme/overrides/MUIComponents/Table.d.ts +2 -2
- package/theme/overrides/MUIComponents/Timeline.d.ts +2 -2
- package/theme/overrides/MUIComponents/ToggleButton.d.ts +2 -2
- package/theme/overrides/MUIComponents/Tooltip.d.ts +2 -2
- package/theme/overrides/MUIComponents/Typography.d.ts +2 -2
- package/theme/overrides/MUIComponents/{index.d2b98b86.js → index.7fb80545.js} +189 -189
- package/theme/overrides/{index.32aa77da.js → index.9323564e.js} +3 -3
- package/theme/overrides/index.d.ts +2 -2
- package/theme/{palette.0590e8a6.js → palette.287635f2.js} +64 -45
- package/theme/palette.d.ts +165 -347
- package/theme/{shadows.86540b18.js → shadows.e0c009ff.js} +1 -1
- package/theme/{typography.ed54f014.js → typography.2a9a38a6.js} +9 -8
- package/theme/typography.d.ts +4 -0
- package/types/augmentations.d.ts +42 -19
- package/utils/{getColorPresets.2a91ffaf.js → getColorPresets.a96a4046.js} +24 -18
- package/utils/getColorPresets.d.ts +8 -72
- package/utils/{getColorState.7b9634af.js → getColorState.b50b5b1e.js} +19 -7
- package/theme/defaultThemeOptions.656b9eff.js +0 -30
- package/theme/index.bc975e94.js +0 -7
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { alpha as
|
|
2
|
-
import { alpha as
|
|
3
|
-
function
|
|
1
|
+
import { alpha as i } from "@mui/material";
|
|
2
|
+
import { alpha as a } from "@mui/material/styles";
|
|
3
|
+
function d(o) {
|
|
4
4
|
return {
|
|
5
5
|
MuiAvatar: {
|
|
6
6
|
styleOverrides: {
|
|
7
7
|
borderTop: "1.5px",
|
|
8
|
-
borderColor: o.palette.state.borderTop,
|
|
8
|
+
borderColor: o.vars.palette.state.borderTop,
|
|
9
9
|
colorDefault: {
|
|
10
|
-
color: o.palette.text.secondary,
|
|
11
|
-
backgroundColor: o.palette.grey[400]
|
|
10
|
+
color: o.vars.palette.text.secondary,
|
|
11
|
+
backgroundColor: o.vars.palette.grey[400]
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
},
|
|
@@ -19,8 +19,8 @@ function s(o) {
|
|
|
19
19
|
fontWeight: o.typography.fontWeightMedium,
|
|
20
20
|
"&:first-of-type": {
|
|
21
21
|
fontSize: 14,
|
|
22
|
-
color: o.palette.primary.main,
|
|
23
|
-
backgroundColor: o.palette.primary.lighter
|
|
22
|
+
color: o.vars.palette.primary.main,
|
|
23
|
+
backgroundColor: o.vars.palette.primary.lighter
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -44,11 +44,11 @@ function l(o) {
|
|
|
44
44
|
height: 48
|
|
45
45
|
},
|
|
46
46
|
containedInherit: {
|
|
47
|
-
color: o.palette.grey[800],
|
|
47
|
+
color: o.vars.palette.grey[800],
|
|
48
48
|
boxShadow: o.customShadows?.z1,
|
|
49
49
|
borderRadius: "4px",
|
|
50
50
|
"&:hover": {
|
|
51
|
-
backgroundColor: o.palette.grey[400],
|
|
51
|
+
backgroundColor: o.vars.palette.grey[400],
|
|
52
52
|
borderRadius: "4px"
|
|
53
53
|
}
|
|
54
54
|
},
|
|
@@ -72,16 +72,16 @@ function l(o) {
|
|
|
72
72
|
},
|
|
73
73
|
outlinedInherit: {
|
|
74
74
|
borderRadius: "4px",
|
|
75
|
-
border: `1px solid ${o.palette.
|
|
75
|
+
border: `1px solid ${o.vars.palette.state.borderDefault}`,
|
|
76
76
|
"&:hover": {
|
|
77
|
-
backgroundColor: o.palette.action.hover,
|
|
77
|
+
backgroundColor: o.vars.palette.action.hover,
|
|
78
78
|
borderRadius: "4px"
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
textInherit: {
|
|
82
82
|
borderRadius: "4px",
|
|
83
83
|
"&:hover": {
|
|
84
|
-
backgroundColor: o.palette.action.hover,
|
|
84
|
+
backgroundColor: o.vars.palette.action.hover,
|
|
85
85
|
borderRadius: "4px"
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -124,19 +124,19 @@ function p(o) {
|
|
|
124
124
|
boxShadow: o.customShadows?.z4,
|
|
125
125
|
"&:hover": {
|
|
126
126
|
boxShadow: "none",
|
|
127
|
-
backgroundColor: o.palette.grey[400]
|
|
127
|
+
backgroundColor: o.colorSchemes.finalTheme.palette.grey[400]
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
primary: {
|
|
131
131
|
boxShadow: o.customShadows?.primary,
|
|
132
132
|
"&:hover": {
|
|
133
|
-
backgroundColor: o.palette.primary.dark
|
|
133
|
+
backgroundColor: o.vars.palette.primary.dark
|
|
134
134
|
}
|
|
135
135
|
},
|
|
136
136
|
secondary: {
|
|
137
137
|
boxShadow: o.customShadows?.secondary,
|
|
138
138
|
"&:hover": {
|
|
139
|
-
backgroundColor: o.palette.secondary.dark
|
|
139
|
+
backgroundColor: o.vars.palette.secondary.dark
|
|
140
140
|
}
|
|
141
141
|
},
|
|
142
142
|
extended: {
|
|
@@ -187,9 +187,9 @@ function g(o) {
|
|
|
187
187
|
root: {
|
|
188
188
|
borderRadius: "4px",
|
|
189
189
|
"&.Mui-selected": {
|
|
190
|
-
backgroundColor: o.palette.action.selected,
|
|
190
|
+
backgroundColor: o.vars.palette.action.selected,
|
|
191
191
|
"&:hover": {
|
|
192
|
-
backgroundColor: o.palette.action.hover
|
|
192
|
+
backgroundColor: o.vars.palette.action.hover
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
}
|
|
@@ -206,14 +206,14 @@ function b(o) {
|
|
|
206
206
|
styleOverrides: {
|
|
207
207
|
root: {
|
|
208
208
|
"&.MuiLink-underlineHover": {
|
|
209
|
-
textDecorationColor: o.palette.primary.main
|
|
209
|
+
textDecorationColor: o.vars.palette.primary.main
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
|
-
function
|
|
216
|
+
function v(o) {
|
|
217
217
|
return {
|
|
218
218
|
MuiListItemIcon: {
|
|
219
219
|
styleOverrides: {
|
|
@@ -246,15 +246,15 @@ function y(o) {
|
|
|
246
246
|
}
|
|
247
247
|
};
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function y(o) {
|
|
250
250
|
return {
|
|
251
251
|
MuiTableRow: {
|
|
252
252
|
styleOverrides: {
|
|
253
253
|
root: {
|
|
254
254
|
"&.Mui-selected": {
|
|
255
|
-
backgroundColor: o.palette.action.selected,
|
|
255
|
+
backgroundColor: o.vars.palette.action.selected,
|
|
256
256
|
"&:hover": {
|
|
257
|
-
backgroundColor: o.palette.action.hover
|
|
257
|
+
backgroundColor: o.vars.palette.action.hover
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
}
|
|
@@ -266,24 +266,24 @@ function M(o) {
|
|
|
266
266
|
borderBottom: "none"
|
|
267
267
|
},
|
|
268
268
|
head: {
|
|
269
|
-
color: o.palette.text.secondary,
|
|
270
|
-
backgroundColor: o.palette.background.neutral,
|
|
269
|
+
color: o.vars.palette.text.secondary,
|
|
270
|
+
backgroundColor: o.vars.palette.background.neutral,
|
|
271
271
|
"&:first-of-type": {
|
|
272
272
|
paddingLeft: o.spacing(3),
|
|
273
273
|
borderTopLeftRadius: o.shape.borderRadius,
|
|
274
274
|
borderBottomLeftRadius: o.shape.borderRadius,
|
|
275
|
-
boxShadow: `inset 8px 0 0 ${o.palette.background.paper}`
|
|
275
|
+
boxShadow: `inset 8px 0 0 ${o.vars.palette.background.paper}`
|
|
276
276
|
},
|
|
277
277
|
"&:last-of-type": {
|
|
278
278
|
paddingRight: o.spacing(3),
|
|
279
279
|
borderTopRightRadius: o.shape.borderRadius,
|
|
280
280
|
borderBottomRightRadius: o.shape.borderRadius,
|
|
281
|
-
boxShadow: `inset -8px 0 0 ${o.palette.background.paper}`
|
|
281
|
+
boxShadow: `inset -8px 0 0 ${o.vars.palette.background.paper}`
|
|
282
282
|
}
|
|
283
283
|
},
|
|
284
284
|
stickyHeader: {
|
|
285
|
-
backgroundColor: o.palette.background.paper,
|
|
286
|
-
backgroundImage: `linear-gradient(to bottom, ${o.palette.background.neutral} 0%, ${o.palette.background.neutral} 100%)`
|
|
285
|
+
backgroundColor: o.vars.palette.background.paper,
|
|
286
|
+
backgroundImage: `linear-gradient(to bottom, ${o.vars.palette.background.neutral} 0%, ${o.vars.palette.background.neutral} 100%)`
|
|
287
287
|
},
|
|
288
288
|
body: {
|
|
289
289
|
"&:first-of-type": {
|
|
@@ -298,13 +298,13 @@ function M(o) {
|
|
|
298
298
|
MuiTablePagination: {
|
|
299
299
|
styleOverrides: {
|
|
300
300
|
root: {
|
|
301
|
-
...o.typography.caption
|
|
301
|
+
...o.colorSchemes.finalTheme.typography.caption
|
|
302
302
|
},
|
|
303
303
|
toolbar: {
|
|
304
304
|
"& .MuiInputBase-root": {
|
|
305
305
|
marginLeft: o.spacing(1),
|
|
306
306
|
marginRight: o.spacing(3),
|
|
307
|
-
...o.typography.caption
|
|
307
|
+
...o.colorSchemes.finalTheme.typography.caption
|
|
308
308
|
},
|
|
309
309
|
"&.MuiToolbar-regular": {
|
|
310
310
|
minHeight: 40,
|
|
@@ -312,11 +312,11 @@ function M(o) {
|
|
|
312
312
|
paddingRight: 0
|
|
313
313
|
},
|
|
314
314
|
"& .MuiTablePagination-displayedRows": {
|
|
315
|
-
...o.typography.caption
|
|
315
|
+
...o.colorSchemes.finalTheme.typography.caption
|
|
316
316
|
}
|
|
317
317
|
},
|
|
318
318
|
selectLabel: {
|
|
319
|
-
...o.typography.caption
|
|
319
|
+
...o.colorSchemes.finalTheme.typography.caption
|
|
320
320
|
},
|
|
321
321
|
select: {
|
|
322
322
|
paddingBottom: 4,
|
|
@@ -332,7 +332,7 @@ function M(o) {
|
|
|
332
332
|
}
|
|
333
333
|
};
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function f(o) {
|
|
336
336
|
return {
|
|
337
337
|
MuiBadge: {
|
|
338
338
|
styleOverrides: {
|
|
@@ -346,7 +346,7 @@ function x(o) {
|
|
|
346
346
|
}
|
|
347
347
|
};
|
|
348
348
|
}
|
|
349
|
-
function
|
|
349
|
+
function M(o) {
|
|
350
350
|
return {
|
|
351
351
|
MuiPaper: {
|
|
352
352
|
defaultProps: {
|
|
@@ -355,64 +355,64 @@ function v(o) {
|
|
|
355
355
|
variants: [
|
|
356
356
|
{
|
|
357
357
|
props: { variant: "outlined" },
|
|
358
|
-
style: { borderColor: o.palette.
|
|
358
|
+
style: { borderColor: o.vars.palette.state.borderDefault }
|
|
359
359
|
}
|
|
360
360
|
],
|
|
361
361
|
styleOverrides: {
|
|
362
362
|
root: {
|
|
363
363
|
backgroundImage: "none",
|
|
364
|
-
backgroundColor: o.palette.background.default,
|
|
364
|
+
backgroundColor: o.vars.palette.background.default,
|
|
365
365
|
borderRadius: "2px",
|
|
366
366
|
"& .MuiStack-root .MuiMenuItem-root": {
|
|
367
|
-
color: o.palette.text.primary,
|
|
367
|
+
color: o.vars.palette.text.primary,
|
|
368
368
|
transition: "all .5s",
|
|
369
369
|
borderRadius: "4px",
|
|
370
|
-
...o.typography.action
|
|
370
|
+
...o.colorSchemes.finalTheme.typography.action
|
|
371
371
|
},
|
|
372
372
|
"& .MuiStack-root .MuiMenuItem-root:hover": {
|
|
373
|
-
color: o.palette.state?.hover,
|
|
373
|
+
color: o.vars.palette.state?.hover,
|
|
374
374
|
transition: "all .5s",
|
|
375
|
-
backgroundColor: o.palette.state?.active12
|
|
375
|
+
backgroundColor: o.vars.palette.state?.active12
|
|
376
376
|
},
|
|
377
377
|
"& .MuiStack-root .MuiMenuItem-root.Mui-selected": {
|
|
378
|
-
color: o.palette.state?.active,
|
|
378
|
+
color: o.vars.palette.state?.active,
|
|
379
379
|
transition: "all .5s",
|
|
380
|
-
backgroundColor: o.palette.state?.active12
|
|
380
|
+
backgroundColor: o.vars.palette.state?.active12
|
|
381
381
|
},
|
|
382
382
|
"& .MuiStack-root .MuiMenuItem-root:focus": {
|
|
383
|
-
color: o.palette.state?.focus,
|
|
383
|
+
color: o.vars.palette.state?.focus,
|
|
384
384
|
transition: "all .5s",
|
|
385
|
-
backgroundColor: o.palette.background.default,
|
|
386
|
-
boxShadow: `0 0 0 1px ${o.palette.state?.focus}`
|
|
385
|
+
backgroundColor: o.vars.palette.background.default,
|
|
386
|
+
boxShadow: `0 0 0 1px ${o.vars.palette.state?.focus}`
|
|
387
387
|
},
|
|
388
388
|
"& .MuiAutocomplete-listbox .MuiAutocomplete-option": {
|
|
389
|
-
color: o.palette.text.primary,
|
|
389
|
+
color: o.vars.palette.text.primary,
|
|
390
390
|
transition: "all .5s",
|
|
391
391
|
borderRadius: "4px",
|
|
392
|
-
...o.typography.action
|
|
392
|
+
...o.colorSchemes.finalTheme.typography.action
|
|
393
393
|
},
|
|
394
394
|
"& .MuiAutocomplete-listbox .MuiAutocomplete-option:hover": {
|
|
395
|
-
color: o.palette.state?.hover,
|
|
395
|
+
color: o.vars.palette.state?.hover,
|
|
396
396
|
transition: "all .5s",
|
|
397
|
-
backgroundColor: o.palette.state?.active12
|
|
397
|
+
backgroundColor: o.vars.palette.state?.active12
|
|
398
398
|
},
|
|
399
399
|
"& .MuiAutocomplete-listbox .MuiAutocomplete-option.Mui-selected": {
|
|
400
|
-
color: o.palette.state?.active,
|
|
400
|
+
color: o.vars.palette.state?.active,
|
|
401
401
|
transition: "all .5s",
|
|
402
|
-
backgroundColor: o.palette.state?.active12
|
|
402
|
+
backgroundColor: o.vars.palette.state?.active12
|
|
403
403
|
},
|
|
404
404
|
"& .MuiAutocomplete-listbox .MuiAutocomplete-option:active": {
|
|
405
|
-
color: o.palette.state?.focus,
|
|
405
|
+
color: o.vars.palette.state?.focus,
|
|
406
406
|
transition: "all .5s",
|
|
407
|
-
backgroundColor: o.palette.background.default,
|
|
408
|
-
boxShadow: `0 0 0 1px ${o.palette.state?.focus}`
|
|
407
|
+
backgroundColor: o.vars.palette.background.default,
|
|
408
|
+
boxShadow: `0 0 0 1px ${o.vars.palette.state?.focus}`
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
413
|
};
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function x(o) {
|
|
416
416
|
return {
|
|
417
417
|
MuiFormControl: {
|
|
418
418
|
styleOverrides: {
|
|
@@ -429,20 +429,20 @@ function f(o) {
|
|
|
429
429
|
styleOverrides: {
|
|
430
430
|
root: {
|
|
431
431
|
height: "auto",
|
|
432
|
-
backgroundColor: o.palette.background.default,
|
|
433
|
-
...o.typography.body2,
|
|
432
|
+
backgroundColor: o.vars.palette.background.default,
|
|
433
|
+
...o.colorSchemes.finalTheme.typography.body2,
|
|
434
434
|
borderRadius: "2px",
|
|
435
435
|
padding: "4px",
|
|
436
436
|
paddingBottom: "0px",
|
|
437
437
|
"&.Mui-disabled": {
|
|
438
|
-
"& svg": { color: o.palette.text.disabled }
|
|
438
|
+
"& svg": { color: o.vars.palette.text.disabled }
|
|
439
439
|
}
|
|
440
440
|
},
|
|
441
441
|
input: {
|
|
442
442
|
padding: "0",
|
|
443
443
|
"&::placeholder": {
|
|
444
444
|
opacity: 1,
|
|
445
|
-
color: o.palette.text.disabled
|
|
445
|
+
color: o.vars.palette.text.disabled
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
448
|
}
|
|
@@ -451,7 +451,7 @@ function f(o) {
|
|
|
451
451
|
styleOverrides: {
|
|
452
452
|
underline: {
|
|
453
453
|
"&:before": {
|
|
454
|
-
borderBottomColor: o.palette.
|
|
454
|
+
borderBottomColor: o.vars.palette.state.borderDefault
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
457
|
}
|
|
@@ -459,20 +459,20 @@ function f(o) {
|
|
|
459
459
|
MuiFilledInput: {
|
|
460
460
|
styleOverrides: {
|
|
461
461
|
root: {
|
|
462
|
-
backgroundColor: o.palette.
|
|
462
|
+
backgroundColor: o.vars.palette.state.borderDefault,
|
|
463
463
|
"&:hover": {
|
|
464
|
-
backgroundColor: o.palette.
|
|
464
|
+
backgroundColor: o.vars.palette.state.borderDefault
|
|
465
465
|
},
|
|
466
466
|
"&.Mui-focused": {
|
|
467
|
-
backgroundColor: o.palette.action.focus
|
|
467
|
+
backgroundColor: o.vars.palette.action.focus
|
|
468
468
|
},
|
|
469
469
|
"&.Mui-disabled": {
|
|
470
|
-
backgroundColor: o.palette.action.disabledBackground
|
|
470
|
+
backgroundColor: o.vars.palette.action.disabledBackground
|
|
471
471
|
}
|
|
472
472
|
},
|
|
473
473
|
underline: {
|
|
474
474
|
"&:before": {
|
|
475
|
-
borderBottomColor: o.palette.
|
|
475
|
+
borderBottomColor: o.vars.palette.state.borderDefault
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
478
|
}
|
|
@@ -480,13 +480,13 @@ function f(o) {
|
|
|
480
480
|
MuiOutlinedInput: {
|
|
481
481
|
styleOverrides: {
|
|
482
482
|
root: {
|
|
483
|
-
...o.typography.body2,
|
|
484
|
-
color: o.palette.text.primary,
|
|
483
|
+
...o.colorSchemes.finalTheme.typography.body2,
|
|
484
|
+
color: o.vars.palette.text.primary,
|
|
485
485
|
"& > input": {
|
|
486
486
|
padding: o.spacing(1.5, 1.5)
|
|
487
487
|
},
|
|
488
488
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
489
|
-
borderColor: o.palette.
|
|
489
|
+
borderColor: o.vars.palette.state.borderDefault,
|
|
490
490
|
fontSize: "0.875rem",
|
|
491
491
|
height: "auto",
|
|
492
492
|
minHeight: "24px",
|
|
@@ -498,18 +498,18 @@ function f(o) {
|
|
|
498
498
|
},
|
|
499
499
|
"&.Mui-disabled": {
|
|
500
500
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
501
|
-
borderColor: o.palette.action.disabledBackground
|
|
501
|
+
borderColor: o.vars.palette.action.disabledBackground
|
|
502
502
|
}
|
|
503
503
|
},
|
|
504
504
|
"& .MuiOutlinedInput-input:-webkit-autofill": {
|
|
505
|
-
WebkitBoxShadow: `0 0 0 1000px ${o.palette.background.autofill} inset`
|
|
505
|
+
WebkitBoxShadow: `0 0 0 1000px ${o.vars.palette.background.autofill} inset`
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
510
|
};
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function h(o) {
|
|
513
513
|
return {
|
|
514
514
|
MuiInputLabel: {
|
|
515
515
|
styleOverrides: {
|
|
@@ -524,7 +524,7 @@ function k(o) {
|
|
|
524
524
|
}
|
|
525
525
|
};
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function k(o) {
|
|
528
528
|
return {
|
|
529
529
|
MuiRadio: {
|
|
530
530
|
styleOverrides: {
|
|
@@ -541,8 +541,8 @@ function w(o) {
|
|
|
541
541
|
}
|
|
542
542
|
};
|
|
543
543
|
}
|
|
544
|
-
function
|
|
545
|
-
const r = o.palette.mode === "light";
|
|
544
|
+
function S(o) {
|
|
545
|
+
const r = o.colorSchemes.finalTheme.palette.mode === "light";
|
|
546
546
|
return {
|
|
547
547
|
MuiDrawer: {
|
|
548
548
|
styleOverrides: {
|
|
@@ -550,7 +550,7 @@ function C(o) {
|
|
|
550
550
|
"&.M4LSideBar-drawer": {
|
|
551
551
|
test: "root",
|
|
552
552
|
"& .MuiPaper-root": {
|
|
553
|
-
background: o.palette.background.neutral,
|
|
553
|
+
background: o.vars.palette.background.neutral,
|
|
554
554
|
display: "flex",
|
|
555
555
|
flexDirection: "row"
|
|
556
556
|
}
|
|
@@ -559,14 +559,14 @@ function C(o) {
|
|
|
559
559
|
modal: {
|
|
560
560
|
'&[role="presentation"]': {
|
|
561
561
|
"& .MuiDrawer-paperAnchorLeft": {
|
|
562
|
-
boxShadow: `8px 24px 24px 12px ${
|
|
563
|
-
o.palette.grey[900],
|
|
562
|
+
boxShadow: `8px 24px 24px 12px ${i(
|
|
563
|
+
o.colorSchemes.finalTheme.palette.grey[900],
|
|
564
564
|
r ? 0.16 : 0.48
|
|
565
565
|
)}`
|
|
566
566
|
},
|
|
567
567
|
"& .MuiDrawer-paperAnchorRight": {
|
|
568
|
-
boxShadow: `-8px 24px 24px 12px ${
|
|
569
|
-
o.palette.grey[900],
|
|
568
|
+
boxShadow: `-8px 24px 24px 12px ${i(
|
|
569
|
+
o.colorSchemes.finalTheme.palette.grey[900],
|
|
570
570
|
r ? 0.16 : 0.48
|
|
571
571
|
)}`
|
|
572
572
|
}
|
|
@@ -576,8 +576,8 @@ function C(o) {
|
|
|
576
576
|
}
|
|
577
577
|
};
|
|
578
578
|
}
|
|
579
|
-
function
|
|
580
|
-
const r = o.palette.mode === "light";
|
|
579
|
+
function m(o) {
|
|
580
|
+
const r = o.colorSchemes.finalTheme.palette.mode === "light";
|
|
581
581
|
return {
|
|
582
582
|
MuiSlider: {
|
|
583
583
|
defaultProps: {
|
|
@@ -586,23 +586,23 @@ function S(o) {
|
|
|
586
586
|
styleOverrides: {
|
|
587
587
|
root: {
|
|
588
588
|
"&.Mui-disabled": {
|
|
589
|
-
color: o.palette.action.disabled
|
|
589
|
+
color: o.vars.palette.action.disabled
|
|
590
590
|
}
|
|
591
591
|
},
|
|
592
592
|
markLabel: {
|
|
593
593
|
fontSize: 13,
|
|
594
|
-
color: o.palette.text.disabled
|
|
594
|
+
color: o.vars.palette.text.disabled
|
|
595
595
|
},
|
|
596
596
|
valueLabel: {
|
|
597
597
|
borderRadius: 8,
|
|
598
|
-
backgroundColor: o.palette.grey[r ? 800 : 700]
|
|
598
|
+
backgroundColor: o.vars.palette.grey[r ? 800 : 700]
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
602
|
};
|
|
603
603
|
}
|
|
604
|
-
function
|
|
605
|
-
const r = o.palette.mode === "light";
|
|
604
|
+
function w(o) {
|
|
605
|
+
const r = o.colorSchemes.finalTheme.palette.mode === "light";
|
|
606
606
|
return {
|
|
607
607
|
MuiSwitch: {
|
|
608
608
|
styleOverrides: {
|
|
@@ -611,27 +611,27 @@ function h(o) {
|
|
|
611
611
|
},
|
|
612
612
|
track: {
|
|
613
613
|
opacity: 1,
|
|
614
|
-
backgroundColor: o.palette.grey[500]
|
|
614
|
+
backgroundColor: o.vars.palette.grey[500]
|
|
615
615
|
},
|
|
616
616
|
switchBase: {
|
|
617
617
|
left: 0,
|
|
618
618
|
right: "auto",
|
|
619
619
|
"&:not(:.Mui-checked)": {
|
|
620
|
-
color: o.palette.grey[r ? 100 : 300]
|
|
620
|
+
color: o.vars.palette.grey[r ? 100 : 300]
|
|
621
621
|
},
|
|
622
622
|
"&.Mui-checked.Mui-disabled, &.Mui-disabled": {
|
|
623
|
-
color: o.palette.grey[r ? 400 : 600]
|
|
623
|
+
color: o.vars.palette.grey[r ? 400 : 600]
|
|
624
624
|
},
|
|
625
625
|
"&.Mui-disabled+.MuiSwitch-track": {
|
|
626
626
|
opacity: 1,
|
|
627
|
-
backgroundColor: `${o.palette.action.disabledBackground} !important`
|
|
627
|
+
backgroundColor: `${o.vars.palette.action.disabledBackground} !important`
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
632
|
};
|
|
633
633
|
}
|
|
634
|
-
function
|
|
634
|
+
function C(o) {
|
|
635
635
|
return {
|
|
636
636
|
MuiSvgIcon: {
|
|
637
637
|
styleOverrides: {
|
|
@@ -649,22 +649,22 @@ function O(o) {
|
|
|
649
649
|
}
|
|
650
650
|
};
|
|
651
651
|
}
|
|
652
|
-
function
|
|
653
|
-
const r = o.palette.mode === "light";
|
|
652
|
+
function T(o) {
|
|
653
|
+
const r = o.colorSchemes.finalTheme.palette.mode === "light";
|
|
654
654
|
return {
|
|
655
655
|
MuiTooltip: {
|
|
656
656
|
styleOverrides: {
|
|
657
657
|
tooltip: {
|
|
658
|
-
backgroundColor: o.palette.grey[r ? 800 : 700]
|
|
658
|
+
backgroundColor: o.vars.palette.grey[r ? 800 : 700]
|
|
659
659
|
},
|
|
660
660
|
arrow: {
|
|
661
|
-
color: o.palette.grey[r ? 800 : 700]
|
|
661
|
+
color: o.vars.palette.grey[r ? 800 : 700]
|
|
662
662
|
}
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
665
|
};
|
|
666
666
|
}
|
|
667
|
-
function
|
|
667
|
+
function O(o) {
|
|
668
668
|
return {
|
|
669
669
|
MuiPopover: {
|
|
670
670
|
styleOverrides: {
|
|
@@ -673,18 +673,18 @@ function B(o) {
|
|
|
673
673
|
}
|
|
674
674
|
};
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function R(o) {
|
|
677
677
|
return {
|
|
678
678
|
MuiStepConnector: {
|
|
679
679
|
styleOverrides: {
|
|
680
680
|
line: {
|
|
681
|
-
borderColor: o.palette.divider
|
|
681
|
+
borderColor: o.vars.palette.divider
|
|
682
682
|
}
|
|
683
683
|
}
|
|
684
684
|
}
|
|
685
685
|
};
|
|
686
686
|
}
|
|
687
|
-
function
|
|
687
|
+
function B(o) {
|
|
688
688
|
return {
|
|
689
689
|
MuiDataGrid: {
|
|
690
690
|
styleOverrides: {
|
|
@@ -696,20 +696,20 @@ function L(o) {
|
|
|
696
696
|
},
|
|
697
697
|
"& .MuiDataGrid-toolbarContainer": {
|
|
698
698
|
padding: o.spacing(2),
|
|
699
|
-
backgroundColor: o.palette.background.neutral,
|
|
699
|
+
backgroundColor: o.vars.palette.background.neutral,
|
|
700
700
|
"& .MuiButton-root": {
|
|
701
701
|
marginRight: o.spacing(1.5),
|
|
702
|
-
color: o.palette.text.primary,
|
|
702
|
+
color: o.vars.palette.text.primary,
|
|
703
703
|
"&:hover": {
|
|
704
|
-
backgroundColor: o.palette.action.hover
|
|
704
|
+
backgroundColor: o.vars.palette.action.hover
|
|
705
705
|
}
|
|
706
706
|
}
|
|
707
707
|
},
|
|
708
708
|
"& .MuiDataGrid-cell, .MuiDataGrid-columnsContainer": {
|
|
709
|
-
borderBottom: `1px solid ${o.palette.divider}`
|
|
709
|
+
borderBottom: `1px solid ${o.vars.palette.divider}`
|
|
710
710
|
},
|
|
711
711
|
"& .MuiDataGrid-columnSeparator": {
|
|
712
|
-
color: o.palette.divider
|
|
712
|
+
color: o.vars.palette.divider
|
|
713
713
|
},
|
|
714
714
|
'& .MuiDataGrid-columnHeader[data-field="__check__"]': {
|
|
715
715
|
padding: 0
|
|
@@ -725,7 +725,7 @@ function L(o) {
|
|
|
725
725
|
borderRadius: o.shape.borderRadius
|
|
726
726
|
},
|
|
727
727
|
"& .MuiMenuItem-root": {
|
|
728
|
-
...o.typography.body
|
|
728
|
+
...o.colorSchemes.finalTheme.typography.body
|
|
729
729
|
}
|
|
730
730
|
}
|
|
731
731
|
}
|
|
@@ -743,10 +743,10 @@ function L(o) {
|
|
|
743
743
|
display: "none"
|
|
744
744
|
},
|
|
745
745
|
"& .MuiNativeSelect-select, .MuiInput-input": {
|
|
746
|
-
...o.typography.body,
|
|
746
|
+
...o.colorSchemes.finalTheme.typography.body,
|
|
747
747
|
padding: o.spacing(0.75, 1),
|
|
748
748
|
borderRadius: o.shape.borderRadius,
|
|
749
|
-
backgroundColor: o.palette.background.neutral
|
|
749
|
+
backgroundColor: o.vars.palette.background.neutral
|
|
750
750
|
},
|
|
751
751
|
"& .MuiSvgIcon-root": {
|
|
752
752
|
right: 4
|
|
@@ -763,16 +763,16 @@ function L(o) {
|
|
|
763
763
|
"& .MuiButton-root": {
|
|
764
764
|
"&:first-of-type": {
|
|
765
765
|
marginRight: o.spacing(1.5),
|
|
766
|
-
color: o.palette.text.primary,
|
|
766
|
+
color: o.vars.palette.text.primary,
|
|
767
767
|
"&:hover": {
|
|
768
|
-
backgroundColor: o.palette.action.hover
|
|
768
|
+
backgroundColor: o.vars.palette.action.hover
|
|
769
769
|
}
|
|
770
770
|
},
|
|
771
771
|
"&:last-of-type": {
|
|
772
|
-
color: o.palette.common.white,
|
|
773
|
-
backgroundColor: o.palette.primary.main,
|
|
772
|
+
color: o.vars.palette.common.white,
|
|
773
|
+
backgroundColor: o.vars.palette.primary.main,
|
|
774
774
|
"&:hover": {
|
|
775
|
-
backgroundColor: o.palette.primary.dark
|
|
775
|
+
backgroundColor: o.vars.palette.primary.dark
|
|
776
776
|
}
|
|
777
777
|
}
|
|
778
778
|
}
|
|
@@ -781,7 +781,7 @@ function L(o) {
|
|
|
781
781
|
}
|
|
782
782
|
};
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function I(o) {
|
|
785
785
|
return {
|
|
786
786
|
MuiSkeleton: {
|
|
787
787
|
defaultProps: {
|
|
@@ -789,23 +789,23 @@ function T(o) {
|
|
|
789
789
|
},
|
|
790
790
|
styleOverrides: {
|
|
791
791
|
root: {
|
|
792
|
-
backgroundColor: o.palette.divider
|
|
792
|
+
backgroundColor: o.vars.palette.divider
|
|
793
793
|
}
|
|
794
794
|
}
|
|
795
795
|
}
|
|
796
796
|
};
|
|
797
797
|
}
|
|
798
|
-
function
|
|
799
|
-
const r =
|
|
798
|
+
function L(o) {
|
|
799
|
+
const r = a(o.colorSchemes.finalTheme.palette.grey[900], 0.48), e = a(o.colorSchemes.finalTheme.palette.grey[900], 1);
|
|
800
800
|
return {
|
|
801
801
|
MuiBackdrop: {
|
|
802
802
|
styleOverrides: {
|
|
803
803
|
root: {
|
|
804
804
|
background: [
|
|
805
805
|
"rgb(22,28,36)",
|
|
806
|
-
`-moz-linear-gradient(75deg, ${r} 0%, ${
|
|
807
|
-
`-webkit-linear-gradient(75deg, ${r} 0%, ${
|
|
808
|
-
`linear-gradient(75deg, ${r} 0%, ${
|
|
806
|
+
`-moz-linear-gradient(75deg, ${r} 0%, ${e} 100%)`,
|
|
807
|
+
`-webkit-linear-gradient(75deg, ${r} 0%, ${e} 100%)`,
|
|
808
|
+
`linear-gradient(75deg, ${r} 0%, ${e} 100%)`
|
|
809
809
|
],
|
|
810
810
|
"&.MuiBackdrop-invisible": {
|
|
811
811
|
background: "transparent"
|
|
@@ -815,8 +815,8 @@ function m(o) {
|
|
|
815
815
|
}
|
|
816
816
|
};
|
|
817
817
|
}
|
|
818
|
-
function
|
|
819
|
-
const r = o.palette.mode === "light";
|
|
818
|
+
function D(o) {
|
|
819
|
+
const r = o.colorSchemes.finalTheme.palette.mode === "light";
|
|
820
820
|
return {
|
|
821
821
|
MuiLinearProgress: {
|
|
822
822
|
styleOverrides: {
|
|
@@ -828,7 +828,7 @@ function P(o) {
|
|
|
828
828
|
borderRadius: 4
|
|
829
829
|
},
|
|
830
830
|
colorPrimary: {
|
|
831
|
-
backgroundColor: o.palette.primary[r ? "lighter" : "darker"]
|
|
831
|
+
backgroundColor: o.vars.palette.primary[r ? "lighter" : "darker"]
|
|
832
832
|
},
|
|
833
833
|
buffer: {
|
|
834
834
|
backgroundColor: "transparent"
|
|
@@ -837,7 +837,7 @@ function P(o) {
|
|
|
837
837
|
}
|
|
838
838
|
};
|
|
839
839
|
}
|
|
840
|
-
function
|
|
840
|
+
function P(o) {
|
|
841
841
|
return {
|
|
842
842
|
MuiTimelineDot: {
|
|
843
843
|
styleOverrides: {
|
|
@@ -849,37 +849,37 @@ function z(o) {
|
|
|
849
849
|
MuiTimelineConnector: {
|
|
850
850
|
styleOverrides: {
|
|
851
851
|
root: {
|
|
852
|
-
backgroundColor: o.palette.divider
|
|
852
|
+
backgroundColor: o.vars.palette.divider
|
|
853
853
|
}
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
856
|
};
|
|
857
857
|
}
|
|
858
|
-
function
|
|
858
|
+
function z(o) {
|
|
859
859
|
return {
|
|
860
860
|
MuiCheckbox: {
|
|
861
861
|
styleOverrides: {
|
|
862
862
|
root: {
|
|
863
863
|
padding: o.spacing(1),
|
|
864
864
|
oleee: "sss",
|
|
865
|
-
color: o.palette.action.active,
|
|
865
|
+
color: o.vars.palette.action.active,
|
|
866
866
|
"& .Mui-checked": {
|
|
867
|
-
color: o.palette.primary.main
|
|
867
|
+
color: o.vars.palette.primary.main
|
|
868
868
|
},
|
|
869
869
|
"&.Mui-checked.Mui-disabled, &.Mui-disabled": {
|
|
870
|
-
color: o.palette.action.disabled
|
|
870
|
+
color: o.vars.palette.action.disabled
|
|
871
871
|
}
|
|
872
872
|
}
|
|
873
873
|
}
|
|
874
874
|
}
|
|
875
875
|
};
|
|
876
876
|
}
|
|
877
|
-
function
|
|
877
|
+
function $(o) {
|
|
878
878
|
return {
|
|
879
879
|
MuiAccordion: {
|
|
880
880
|
styleOverrides: {
|
|
881
881
|
root: {
|
|
882
|
-
backgroundColor: o.palette.background.default,
|
|
882
|
+
backgroundColor: o.vars.palette.background.default,
|
|
883
883
|
width: "100%",
|
|
884
884
|
marginTop: "0px",
|
|
885
885
|
marginBottom: o.spacing(1.5),
|
|
@@ -910,7 +910,7 @@ function A(o) {
|
|
|
910
910
|
borderRadius: o.spacing(0.5),
|
|
911
911
|
height: o.spacing(4.5),
|
|
912
912
|
minHeight: o.spacing(4.5),
|
|
913
|
-
backgroundColor: o.palette.background.header,
|
|
913
|
+
backgroundColor: o.vars.palette.background.header,
|
|
914
914
|
paddingLeft: o.spacing(2),
|
|
915
915
|
paddingRight: o.spacing(2),
|
|
916
916
|
marginBottom: "0px",
|
|
@@ -921,14 +921,14 @@ function A(o) {
|
|
|
921
921
|
},
|
|
922
922
|
"&.Mui-disabled": {
|
|
923
923
|
opacity: 1,
|
|
924
|
-
color: o.palette.action.disabled,
|
|
924
|
+
color: o.vars.palette.action.disabled,
|
|
925
925
|
"& .MuiTypography-root": {
|
|
926
926
|
color: "inherit"
|
|
927
927
|
}
|
|
928
928
|
}
|
|
929
929
|
},
|
|
930
930
|
expandIconWrapper: {
|
|
931
|
-
color: o.palette.action.active,
|
|
931
|
+
color: o.vars.palette.action.active,
|
|
932
932
|
height: 20,
|
|
933
933
|
width: 20,
|
|
934
934
|
alignItems: "center",
|
|
@@ -939,7 +939,7 @@ function A(o) {
|
|
|
939
939
|
}
|
|
940
940
|
},
|
|
941
941
|
content: {
|
|
942
|
-
...o.typography.subtitle2,
|
|
942
|
+
...o.colorSchemes.finalTheme.typography.subtitle2,
|
|
943
943
|
margin: "0px",
|
|
944
944
|
"&.Mui-expanded": {
|
|
945
945
|
margin: "0px"
|
|
@@ -949,7 +949,7 @@ function A(o) {
|
|
|
949
949
|
}
|
|
950
950
|
};
|
|
951
951
|
}
|
|
952
|
-
function
|
|
952
|
+
function A(o) {
|
|
953
953
|
return {
|
|
954
954
|
MuiTypography: {
|
|
955
955
|
defaultProps: {
|
|
@@ -979,23 +979,23 @@ function G(o) {
|
|
|
979
979
|
},
|
|
980
980
|
textPrimary: {
|
|
981
981
|
"&.Mui-selected": {
|
|
982
|
-
color: o.palette.primary.main,
|
|
983
|
-
backgroundColor:
|
|
982
|
+
color: o.vars.palette.primary.main,
|
|
983
|
+
backgroundColor: a(o.colorSchemes.finalTheme.palette.primary.main, 0.08),
|
|
984
984
|
"&:hover, &.Mui-focusVisible": {
|
|
985
|
-
backgroundColor: `${
|
|
986
|
-
o.palette.primary.main,
|
|
985
|
+
backgroundColor: `${a(
|
|
986
|
+
o.colorSchemes.finalTheme.palette.primary.main,
|
|
987
987
|
0.24
|
|
988
988
|
)} !important`
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
},
|
|
992
992
|
outlined: {
|
|
993
|
-
border: `1px solid ${o.palette.
|
|
993
|
+
border: `1px solid ${o.vars.palette.state.borderDefault}`
|
|
994
994
|
},
|
|
995
995
|
outlinedPrimary: {
|
|
996
996
|
"&.Mui-selected": {
|
|
997
|
-
backgroundColor:
|
|
998
|
-
border: `1px solid ${
|
|
997
|
+
backgroundColor: a(o.colorSchemes.finalTheme.palette.primary.main, 0.08),
|
|
998
|
+
border: `1px solid ${a(o.colorSchemes.finalTheme.palette.primary.main, 0.24)}`
|
|
999
999
|
}
|
|
1000
1000
|
}
|
|
1001
1001
|
}
|
|
@@ -1015,8 +1015,8 @@ function H(o) {
|
|
|
1015
1015
|
};
|
|
1016
1016
|
}
|
|
1017
1017
|
function W(o) {
|
|
1018
|
-
const r = (
|
|
1019
|
-
props: { variant: "contained", color:
|
|
1018
|
+
const r = (e) => ({
|
|
1019
|
+
props: { variant: "contained", color: e },
|
|
1020
1020
|
style: { boxShadow: o.customShadows?.primary }
|
|
1021
1021
|
});
|
|
1022
1022
|
return {
|
|
@@ -1037,10 +1037,10 @@ function W(o) {
|
|
|
1037
1037
|
style: {
|
|
1038
1038
|
boxShadow: "none",
|
|
1039
1039
|
"& .MuiButtonGroup-grouped.Mui-disabled": {
|
|
1040
|
-
color: o.palette.action.disabled,
|
|
1041
|
-
borderColor: `${o.palette.action.disabledBackground} !important`,
|
|
1040
|
+
color: o.vars.palette.action.disabled,
|
|
1041
|
+
borderColor: `${o.vars.palette.action.disabledBackground} !important`,
|
|
1042
1042
|
"&.MuiButton-contained": {
|
|
1043
|
-
backgroundColor: o.palette.action.disabledBackground
|
|
1043
|
+
backgroundColor: o.vars.palette.action.disabledBackground
|
|
1044
1044
|
}
|
|
1045
1045
|
}
|
|
1046
1046
|
}
|
|
@@ -1116,7 +1116,7 @@ function _(o) {
|
|
|
1116
1116
|
}
|
|
1117
1117
|
},
|
|
1118
1118
|
paper: {
|
|
1119
|
-
boxShadow: o.customShadows.z3
|
|
1119
|
+
boxShadow: o.vars.customShadows.z3
|
|
1120
1120
|
},
|
|
1121
1121
|
listbox: {
|
|
1122
1122
|
display: "flex",
|
|
@@ -1134,15 +1134,15 @@ function _(o) {
|
|
|
1134
1134
|
}
|
|
1135
1135
|
};
|
|
1136
1136
|
}
|
|
1137
|
-
const
|
|
1137
|
+
const t = (o, r) => ({
|
|
1138
1138
|
props: { color: r },
|
|
1139
1139
|
style: {
|
|
1140
1140
|
"&:hover": {
|
|
1141
|
-
borderColor:
|
|
1142
|
-
backgroundColor:
|
|
1141
|
+
borderColor: a(o.colorSchemes.finalTheme.palette[r].main, 0.48),
|
|
1142
|
+
backgroundColor: a(o.colorSchemes.finalTheme.palette[r].main, o.vars.palette.action.hoverOpacity)
|
|
1143
1143
|
},
|
|
1144
1144
|
"&.Mui-selected": {
|
|
1145
|
-
borderColor:
|
|
1145
|
+
borderColor: a(o.colorSchemes.finalTheme.palette[r].main, 0.48)
|
|
1146
1146
|
}
|
|
1147
1147
|
}
|
|
1148
1148
|
});
|
|
@@ -1154,24 +1154,24 @@ function j(o) {
|
|
|
1154
1154
|
props: { color: "standard" },
|
|
1155
1155
|
style: {
|
|
1156
1156
|
"&.Mui-selected": {
|
|
1157
|
-
backgroundColor: o.palette.action.selected
|
|
1157
|
+
backgroundColor: o.vars.palette.action.selected
|
|
1158
1158
|
}
|
|
1159
1159
|
}
|
|
1160
1160
|
},
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1161
|
+
t(o, "primary"),
|
|
1162
|
+
t(o, "secondary"),
|
|
1163
|
+
t(o, "info"),
|
|
1164
|
+
t(o, "success"),
|
|
1165
|
+
t(o, "warning"),
|
|
1166
|
+
t(o, "error")
|
|
1167
1167
|
]
|
|
1168
1168
|
},
|
|
1169
1169
|
MuiToggleButtonGroup: {
|
|
1170
1170
|
styleOverrides: {
|
|
1171
1171
|
root: {
|
|
1172
1172
|
borderRadius: o.shape.borderRadius,
|
|
1173
|
-
backgroundColor: o.palette.background.paper,
|
|
1174
|
-
border: `solid 1px ${o.palette.
|
|
1173
|
+
backgroundColor: o.vars.palette.background.paper,
|
|
1174
|
+
border: `solid 1px ${o.vars.palette.state.borderDefault}`,
|
|
1175
1175
|
"& .MuiToggleButton-root": {
|
|
1176
1176
|
margin: 4,
|
|
1177
1177
|
borderColor: "transparent !important",
|
|
@@ -1187,7 +1187,7 @@ function E(o) {
|
|
|
1187
1187
|
MuiFormControlLabel: {
|
|
1188
1188
|
styleOverrides: {
|
|
1189
1189
|
label: {
|
|
1190
|
-
...o.typography.body1
|
|
1190
|
+
...o.colorSchemes.finalTheme.typography.body1
|
|
1191
1191
|
}
|
|
1192
1192
|
}
|
|
1193
1193
|
},
|
|
@@ -1201,7 +1201,7 @@ function E(o) {
|
|
|
1201
1201
|
MuiFormLabel: {
|
|
1202
1202
|
styleOverrides: {
|
|
1203
1203
|
root: {
|
|
1204
|
-
color: o.palette.text.disabled
|
|
1204
|
+
color: o.vars.palette.text.disabled
|
|
1205
1205
|
}
|
|
1206
1206
|
}
|
|
1207
1207
|
}
|
|
@@ -1213,9 +1213,9 @@ function N(o) {
|
|
|
1213
1213
|
styleOverrides: {
|
|
1214
1214
|
root: {
|
|
1215
1215
|
"&.MuiLoadingButton-root": {
|
|
1216
|
-
...o.typography.subtitle2,
|
|
1216
|
+
...o.colorSchemes.finalTheme.typography.subtitle2,
|
|
1217
1217
|
"& .MuiCircularProgress-root": {
|
|
1218
|
-
color: o.palette.primary.main
|
|
1218
|
+
color: o.vars.palette.primary.main
|
|
1219
1219
|
}
|
|
1220
1220
|
},
|
|
1221
1221
|
"&.MuiButton-text": {
|
|
@@ -1237,35 +1237,35 @@ const q = (o) => ({
|
|
|
1237
1237
|
}
|
|
1238
1238
|
});
|
|
1239
1239
|
export {
|
|
1240
|
-
|
|
1241
|
-
|
|
1240
|
+
d as A,
|
|
1241
|
+
f as B,
|
|
1242
1242
|
c as C,
|
|
1243
|
-
|
|
1243
|
+
S as D,
|
|
1244
1244
|
p as F,
|
|
1245
|
-
|
|
1245
|
+
x as I,
|
|
1246
1246
|
b as L,
|
|
1247
1247
|
g as M,
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1248
|
+
M as P,
|
|
1249
|
+
k as R,
|
|
1250
|
+
w as S,
|
|
1251
|
+
y as T,
|
|
1252
|
+
h as a,
|
|
1253
|
+
v as b,
|
|
1254
1254
|
l as c,
|
|
1255
1255
|
u as d,
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1256
|
+
m as e,
|
|
1257
|
+
R as f,
|
|
1258
|
+
T as g,
|
|
1259
|
+
O as h,
|
|
1260
|
+
C as i,
|
|
1261
|
+
z as j,
|
|
1262
|
+
B as k,
|
|
1263
|
+
I as l,
|
|
1264
|
+
P as m,
|
|
1265
|
+
L as n,
|
|
1266
|
+
D as o,
|
|
1267
|
+
$ as p,
|
|
1268
|
+
A as q,
|
|
1269
1269
|
G as r,
|
|
1270
1270
|
W as s,
|
|
1271
1271
|
H as t,
|