@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
|
@@ -36,31 +36,31 @@ const r = (t) => ({
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"& .M4LRHFTextField-label": {
|
|
39
|
-
color: t.palette.text.secondary,
|
|
39
|
+
color: t.vars.palette.text.secondary,
|
|
40
40
|
transition: "all .5s ease"
|
|
41
41
|
},
|
|
42
42
|
"& .MuiInputBase-root": {
|
|
43
43
|
padding: "0px",
|
|
44
44
|
borderRadius: "4px",
|
|
45
45
|
"& .MuiInputBase-input": {
|
|
46
|
-
color: t.palette.text.secondary,
|
|
46
|
+
color: t.vars.palette.text.secondary,
|
|
47
47
|
padding: "4px 8px",
|
|
48
48
|
backgroundColor: "transparent",
|
|
49
49
|
height: "100%",
|
|
50
|
-
...t.typography.body
|
|
50
|
+
...t.colorSchemes.finalTheme.typography.body
|
|
51
51
|
},
|
|
52
52
|
"& .MuiInputAdornment-root": {
|
|
53
53
|
margin: "0px",
|
|
54
54
|
padding: "0px 4px 0 0"
|
|
55
55
|
},
|
|
56
56
|
"& .M4LIcon-icon": {
|
|
57
|
-
backgroundColor: t.palette.text.secondary,
|
|
57
|
+
backgroundColor: t.vars.palette.text.secondary,
|
|
58
58
|
transition: "all .3s ease"
|
|
59
59
|
},
|
|
60
60
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
61
61
|
border: "1.3px solid",
|
|
62
62
|
padding: "4px",
|
|
63
|
-
borderColor: t.palette.state.borderPrimary,
|
|
63
|
+
borderColor: t.vars.palette.state.borderPrimary,
|
|
64
64
|
borderRadius: "4px",
|
|
65
65
|
inset: "0px",
|
|
66
66
|
transition: "all .3s ease",
|
|
@@ -71,52 +71,52 @@ const r = (t) => ({
|
|
|
71
71
|
},
|
|
72
72
|
"&:hover": {
|
|
73
73
|
"& .M4LRHFTextField-label": {
|
|
74
|
-
color: t.palette.state?.hover
|
|
74
|
+
color: t.vars.palette.state?.hover
|
|
75
75
|
},
|
|
76
76
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
77
|
-
borderColor: t.palette.state?.hover,
|
|
78
|
-
boxShadow: `0px 1px 8px ${o(t.palette.primary.main, 0.32)}`,
|
|
79
|
-
background: t.palette.state?.active12
|
|
77
|
+
borderColor: t.vars.palette.state?.hover,
|
|
78
|
+
boxShadow: `0px 1px 8px ${o(t.colorSchemes.finalTheme.palette.primary.main, 0.32)}`,
|
|
79
|
+
background: t.vars.palette.state?.active12
|
|
80
80
|
},
|
|
81
81
|
"& .MuiInputBase-input": {
|
|
82
|
-
color: t.palette.text.primary
|
|
82
|
+
color: t.vars.palette.text.primary
|
|
83
83
|
},
|
|
84
84
|
"& .M4LIcon-icon": {
|
|
85
|
-
backgroundColor: t.palette.state?.hover
|
|
85
|
+
backgroundColor: t.vars.palette.state?.hover
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
"&.M4LRHFTextField-isFocus": {
|
|
89
89
|
"& .M4LRHFTextField-label": {
|
|
90
|
-
color: t.palette.state?.active
|
|
90
|
+
color: t.vars.palette.state?.active
|
|
91
91
|
},
|
|
92
92
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
93
93
|
transition: "all .1s ease",
|
|
94
94
|
border: "2px solid",
|
|
95
|
-
borderColor: t.palette.state?.active,
|
|
96
|
-
boxShadow: `0px 1px 8px ${o(t.palette.primary.main, 0.32)}`,
|
|
97
|
-
background: t.palette.state?.active12
|
|
95
|
+
borderColor: t.vars.palette.state?.active,
|
|
96
|
+
boxShadow: `0px 1px 8px ${o(t.colorSchemes.finalTheme.palette.primary.main, 0.32)}`,
|
|
97
|
+
background: t.vars.palette.state?.active12
|
|
98
98
|
},
|
|
99
99
|
"& .MuiInputBase-input": {
|
|
100
|
-
color: t.palette.text.primary
|
|
100
|
+
color: t.vars.palette.text.primary
|
|
101
101
|
},
|
|
102
102
|
"& .M4LIcon-icon": {
|
|
103
|
-
backgroundColor: t.palette.state?.active
|
|
103
|
+
backgroundColor: t.vars.palette.state?.active
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
"&.M4LRHFTextField-variantError": {
|
|
107
107
|
"& .M4LRHFTextField-label": {
|
|
108
|
-
color: t.palette.state?.error.normal
|
|
108
|
+
color: t.vars.palette.state?.error.normal
|
|
109
109
|
},
|
|
110
110
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
111
111
|
border: "1px solid",
|
|
112
|
-
borderColor: t.palette.state?.error.normal,
|
|
113
|
-
background: t.palette.error.opacity
|
|
112
|
+
borderColor: t.vars.palette.state?.error.normal,
|
|
113
|
+
background: t.vars.palette.error.opacity
|
|
114
114
|
},
|
|
115
115
|
"& .MuiInputBase-input": {
|
|
116
|
-
color: t.palette.text.primary
|
|
116
|
+
color: t.vars.palette.text.primary
|
|
117
117
|
},
|
|
118
118
|
"& .M4LIcon-icon": {
|
|
119
|
-
backgroundColor: t.palette.state?.error.normal
|
|
119
|
+
backgroundColor: t.vars.palette.state?.error.normal
|
|
120
120
|
},
|
|
121
121
|
"&:hover": {
|
|
122
122
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
@@ -131,19 +131,19 @@ const r = (t) => ({
|
|
|
131
131
|
},
|
|
132
132
|
"&.M4LRHFTextField-isDisabled": {
|
|
133
133
|
"& .M4LRHFTextField-label": {
|
|
134
|
-
color: t.palette.text.disabled
|
|
134
|
+
color: t.vars.palette.text.disabled
|
|
135
135
|
},
|
|
136
136
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
137
137
|
border: "1px solid",
|
|
138
|
-
borderColor: t.palette.state.borderSecondary,
|
|
139
|
-
backgroundColor: t.palette.state?.default,
|
|
138
|
+
borderColor: t.vars.palette.state.borderSecondary,
|
|
139
|
+
backgroundColor: t.vars.palette.state?.default,
|
|
140
140
|
boxShadow: "none"
|
|
141
141
|
},
|
|
142
142
|
"& .MuiInputBase-input": {
|
|
143
|
-
color: t.palette.text.disabled
|
|
143
|
+
color: t.vars.palette.text.disabled
|
|
144
144
|
},
|
|
145
145
|
"& .M4LIcon-icon": {
|
|
146
|
-
backgroundColor: t.palette.text.disabled
|
|
146
|
+
backgroundColor: t.vars.palette.text.disabled
|
|
147
147
|
}
|
|
148
148
|
},
|
|
149
149
|
"&.M4LRHFTextField-sizeSmall": {
|
|
@@ -189,12 +189,12 @@ const r = (t) => ({
|
|
|
189
189
|
gap: t.spacing(2),
|
|
190
190
|
[t.breakpoints.down("sm")]: {
|
|
191
191
|
gap: t.spacing(1),
|
|
192
|
-
...t.typography.paragraph
|
|
192
|
+
...t.colorSchemes.finalTheme.typography.paragraph
|
|
193
193
|
}
|
|
194
194
|
},
|
|
195
195
|
"& .MuiTypography-root": {
|
|
196
|
-
color: t.palette.text.primary,
|
|
197
|
-
...t.typography.body
|
|
196
|
+
color: t.vars.palette.text.primary,
|
|
197
|
+
...t.colorSchemes.finalTheme.typography.body
|
|
198
198
|
},
|
|
199
199
|
".M4LRHFCheckbox-small .MuiButtonBase-root": {
|
|
200
200
|
width: "20px",
|
|
@@ -216,20 +216,20 @@ const r = (t) => ({
|
|
|
216
216
|
borderRadius: "4px"
|
|
217
217
|
},
|
|
218
218
|
".MuiButtonBase-root:hover": {
|
|
219
|
-
backgroundColor: t.palette.state?.active12
|
|
219
|
+
backgroundColor: t.vars.palette.state?.active12
|
|
220
220
|
},
|
|
221
221
|
".Mui-focusVisible": {
|
|
222
222
|
border: "1px solid",
|
|
223
|
-
borderColor: t.palette.state?.focus
|
|
223
|
+
borderColor: t.vars.palette.state?.focus
|
|
224
224
|
},
|
|
225
225
|
".MuiButtonBase-root:hover .MuiSvgIcon-root": {
|
|
226
|
-
fill: t.palette.state?.hover
|
|
226
|
+
fill: t.vars.palette.state?.hover
|
|
227
227
|
},
|
|
228
228
|
".M4LRHFCheckbox-checkTypography .MuiTypography-root": {
|
|
229
|
-
...t.typography.body
|
|
229
|
+
...t.colorSchemes.finalTheme.typography.body
|
|
230
230
|
},
|
|
231
231
|
".M4LRHFCheckbox-stateDisabled .MuiSvgIcon-root": {
|
|
232
|
-
fill: t.palette.state?.default
|
|
232
|
+
fill: t.vars.palette.state?.default
|
|
233
233
|
},
|
|
234
234
|
".MuiButtonBase-root .Mui-focusVisible:focus-visible": {
|
|
235
235
|
outline: "#FFF00"
|
|
@@ -247,21 +247,44 @@ const r = (t) => ({
|
|
|
247
247
|
width: "100%",
|
|
248
248
|
gap: "2px",
|
|
249
249
|
outline: "unset",
|
|
250
|
+
"&.M4LRHFAutocomplete-multiple": {
|
|
251
|
+
"& .MuiAutocomplete-inputRoot": {
|
|
252
|
+
display: "flex",
|
|
253
|
+
flexWrap: "wrap",
|
|
254
|
+
gap: "6px"
|
|
255
|
+
},
|
|
256
|
+
"& .MuiInputBase-root": {
|
|
257
|
+
padding: "2px !important"
|
|
258
|
+
},
|
|
259
|
+
"& .MuiAutocomplete-root": {
|
|
260
|
+
height: "auto"
|
|
261
|
+
},
|
|
262
|
+
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
263
|
+
"& .MuiChip-root": {
|
|
264
|
+
height: "20px"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"&.M4LRHFAutocomplete-sizeMedium": {
|
|
268
|
+
"& .MuiChip-root": {
|
|
269
|
+
height: "32px"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
},
|
|
250
273
|
"& .MuiAutocomplete-root": {
|
|
251
274
|
height: "100%",
|
|
252
275
|
"& .MuiFormControl-root": {
|
|
253
276
|
height: "100%",
|
|
254
277
|
"& .MuiInputBase-root": {
|
|
255
|
-
borderColor: t.palette.state.borderPrimary,
|
|
278
|
+
borderColor: t.vars.palette.state.borderPrimary,
|
|
256
279
|
position: "relative",
|
|
257
280
|
height: "100%",
|
|
258
281
|
"& .MuiInputBase-input": {
|
|
259
282
|
boxSizing: "border-box",
|
|
260
|
-
color: t.palette.text.secondary,
|
|
283
|
+
color: t.vars.palette.text.secondary,
|
|
261
284
|
backgroundColor: "transparent",
|
|
262
285
|
height: "100%",
|
|
263
286
|
padding: "0 16px 0 8px",
|
|
264
|
-
...t.typography.body
|
|
287
|
+
...t.colorSchemes.finalTheme.typography.body
|
|
265
288
|
},
|
|
266
289
|
"& .M4LRHFAutocomplete-iconDown": {},
|
|
267
290
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
@@ -285,7 +308,7 @@ const r = (t) => ({
|
|
|
285
308
|
justifyContent: "space-between",
|
|
286
309
|
alignItems: "center",
|
|
287
310
|
border: "1px solid",
|
|
288
|
-
borderColor: t.palette.divider,
|
|
311
|
+
borderColor: t.vars.palette.divider,
|
|
289
312
|
borderRadius: "4px",
|
|
290
313
|
padding: "0 10px",
|
|
291
314
|
overflow: "hidden",
|
|
@@ -300,7 +323,7 @@ const r = (t) => ({
|
|
|
300
323
|
padding: "0"
|
|
301
324
|
},
|
|
302
325
|
"& .M4LRHFAutocomplete-label": {
|
|
303
|
-
color: t.palette.text.secondary,
|
|
326
|
+
color: t.vars.palette.text.secondary,
|
|
304
327
|
transition: "all .3s ease"
|
|
305
328
|
},
|
|
306
329
|
"& .MuiAutocomplete-endAdornment": {
|
|
@@ -312,50 +335,50 @@ const r = (t) => ({
|
|
|
312
335
|
},
|
|
313
336
|
"&:hover": {
|
|
314
337
|
"& .M4LRHFAutocomplete-label": {
|
|
315
|
-
color: t.palette.text.secondary
|
|
338
|
+
color: t.vars.palette.text.secondary
|
|
316
339
|
},
|
|
317
340
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
318
|
-
borderColor: t.palette.state?.hover,
|
|
319
|
-
boxShadow: `0px 1px 8px ${e(t.palette.primary.main, 0.32)}`
|
|
341
|
+
borderColor: t.vars.palette.state?.hover,
|
|
342
|
+
boxShadow: `0px 1px 8px ${e(t.colorSchemes.finalTheme.palette.primary.main, 0.32)}`
|
|
320
343
|
},
|
|
321
344
|
"& .MuiInputBase-input": {
|
|
322
|
-
color: t.palette.text.primary
|
|
345
|
+
color: t.vars.palette.text.primary
|
|
323
346
|
},
|
|
324
347
|
"& .M4LIcon-icon": {
|
|
325
|
-
backgroundColor: t.palette.state?.hover
|
|
348
|
+
backgroundColor: t.vars.palette.state?.hover
|
|
326
349
|
}
|
|
327
350
|
},
|
|
328
351
|
"&.M4LRHFAutocomplete-isFocus": {
|
|
329
352
|
"& .M4LRHFAutocomplete-label": {
|
|
330
|
-
color: t.palette.state?.active
|
|
353
|
+
color: t.vars.palette.state?.active
|
|
331
354
|
},
|
|
332
355
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
333
356
|
transition: "all .1s ease",
|
|
334
|
-
background: t.palette.state.active12,
|
|
357
|
+
background: t.vars.palette.state.active12,
|
|
335
358
|
border: "2px solid",
|
|
336
|
-
borderColor: t.palette.state?.active,
|
|
337
|
-
boxShadow: `0px 1px 8px ${e(t.palette.primary.main, 0.32)}`
|
|
359
|
+
borderColor: t.vars.palette.state?.active,
|
|
360
|
+
boxShadow: `0px 1px 8px ${e(t.colorSchemes.finalTheme.palette.primary.main, 0.32)}`
|
|
338
361
|
},
|
|
339
362
|
"& .MuiInputBase-input": {
|
|
340
|
-
color: t.palette.text.primary
|
|
363
|
+
color: t.vars.palette.text.primary
|
|
341
364
|
},
|
|
342
365
|
"& .M4LIcon-icon": {
|
|
343
|
-
backgroundColor: t.palette.state?.active
|
|
366
|
+
backgroundColor: t.vars.palette.state?.active
|
|
344
367
|
}
|
|
345
368
|
},
|
|
346
369
|
"&.M4LRHFAutocomplete-variantError": {
|
|
347
370
|
"& .M4LRHFAutocomplete-label": {
|
|
348
|
-
color: t.palette.state?.error.normal
|
|
371
|
+
color: t.vars.palette.state?.error.normal
|
|
349
372
|
},
|
|
350
373
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
351
374
|
border: "1px solid",
|
|
352
|
-
borderColor: t.palette.state?.error.normal
|
|
375
|
+
borderColor: t.vars.palette.state?.error.normal
|
|
353
376
|
},
|
|
354
377
|
"& .MuiInputBase-input": {
|
|
355
|
-
color: t.palette.text.primary
|
|
378
|
+
color: t.vars.palette.text.primary
|
|
356
379
|
},
|
|
357
380
|
"& .M4LIcon-icon": {
|
|
358
|
-
backgroundColor: t.palette.state?.error.normal
|
|
381
|
+
backgroundColor: t.vars.palette.state?.error.normal
|
|
359
382
|
},
|
|
360
383
|
"&:hover": {
|
|
361
384
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
@@ -370,19 +393,19 @@ const r = (t) => ({
|
|
|
370
393
|
},
|
|
371
394
|
"&.M4LRHFAutocomplete-isDisabled": {
|
|
372
395
|
"& .M4LRHFAutocomplete-label": {
|
|
373
|
-
color: t.palette.text.disabled
|
|
396
|
+
color: t.vars.palette.text.disabled
|
|
374
397
|
},
|
|
375
398
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
376
399
|
border: "1px solid",
|
|
377
|
-
borderColor: t.palette.state.borderDisable,
|
|
378
|
-
backgroundColor: t.palette.state?.default,
|
|
400
|
+
borderColor: t.vars.palette.state.borderDisable,
|
|
401
|
+
backgroundColor: t.vars.palette.state?.default,
|
|
379
402
|
boxShadow: "none"
|
|
380
403
|
},
|
|
381
404
|
"& .MuiInputBase-input": {
|
|
382
|
-
color: t.palette.text.disabled
|
|
405
|
+
color: t.vars.palette.text.disabled
|
|
383
406
|
},
|
|
384
407
|
"& .M4LIcon-icon": {
|
|
385
|
-
backgroundColor: t.palette.text.disabled
|
|
408
|
+
backgroundColor: t.vars.palette.text.disabled
|
|
386
409
|
}
|
|
387
410
|
},
|
|
388
411
|
"&.M4LRHFAutocomplete-sizeSmall": {
|
|
@@ -413,19 +436,6 @@ const r = (t) => ({
|
|
|
413
436
|
objectPosition: "left"
|
|
414
437
|
}
|
|
415
438
|
}
|
|
416
|
-
},
|
|
417
|
-
"&.M4LRHFAutocomplete-multiple": {
|
|
418
|
-
"& .MuiAutocomplete-root": {
|
|
419
|
-
height: "auto"
|
|
420
|
-
},
|
|
421
|
-
"& .MuiAutocomplete-inputRoot": {
|
|
422
|
-
display: "flex",
|
|
423
|
-
flexWrap: "wrap",
|
|
424
|
-
gap: "6px"
|
|
425
|
-
},
|
|
426
|
-
"& .MuiInputBase-root": {
|
|
427
|
-
padding: "2px !important"
|
|
428
|
-
}
|
|
429
439
|
}
|
|
430
440
|
}
|
|
431
441
|
}
|
|
@@ -456,8 +466,8 @@ const r = (t) => ({
|
|
|
456
466
|
display: "flex",
|
|
457
467
|
gap: "8px",
|
|
458
468
|
"&:hover": {
|
|
459
|
-
color: t.palette.text.primary,
|
|
460
|
-
backgroundColor: t.palette.state.active12
|
|
469
|
+
color: t.vars.palette.text.primary,
|
|
470
|
+
backgroundColor: t.vars.palette.state.active12
|
|
461
471
|
},
|
|
462
472
|
"& .M4LImage-root": {
|
|
463
473
|
width: "auto",
|
|
@@ -511,10 +521,10 @@ const r = (t) => ({
|
|
|
511
521
|
}
|
|
512
522
|
},
|
|
513
523
|
"& .MuiPaper-root": {
|
|
514
|
-
boxShadow: t.customShadows
|
|
524
|
+
boxShadow: t.customShadows?.z2,
|
|
515
525
|
"& .MuiAutocomplete-listbox .MuiAutocomplete-option:hover": {
|
|
516
|
-
color: t.palette.text.primary,
|
|
517
|
-
backgroundColor: t.palette.state.active12
|
|
526
|
+
color: t.vars.palette.text.primary,
|
|
527
|
+
backgroundColor: t.vars.palette.state.active12
|
|
518
528
|
}
|
|
519
529
|
}
|
|
520
530
|
}
|
|
@@ -544,7 +554,7 @@ const r = (t) => ({
|
|
|
544
554
|
}
|
|
545
555
|
}
|
|
546
556
|
}
|
|
547
|
-
}),
|
|
557
|
+
}), s = (t) => ({
|
|
548
558
|
M4LRHFAutocompleteAsync: {
|
|
549
559
|
styleOverrides: {
|
|
550
560
|
"&.M4LRHFAutocompleteAsync-root": {
|
|
@@ -553,7 +563,7 @@ const r = (t) => ({
|
|
|
553
563
|
}
|
|
554
564
|
}
|
|
555
565
|
}
|
|
556
|
-
}),
|
|
566
|
+
}), d = (t) => ({
|
|
557
567
|
M4LRHFDateTime: {
|
|
558
568
|
styleOverrides: {
|
|
559
569
|
"&.M4LRHFDateTime-root": {
|
|
@@ -568,7 +578,7 @@ const r = (t) => ({
|
|
|
568
578
|
width: "100%",
|
|
569
579
|
alignItems: "center",
|
|
570
580
|
justifyContent: "space-between",
|
|
571
|
-
border: `1px solid ${t.palette.divider}`,
|
|
581
|
+
border: `1px solid ${t.vars.palette.divider}`,
|
|
572
582
|
paddingLeft: "12px",
|
|
573
583
|
borderRadius: "2px",
|
|
574
584
|
"& .MuiSkeleton-circular": {
|
|
@@ -609,17 +619,17 @@ const r = (t) => ({
|
|
|
609
619
|
}
|
|
610
620
|
},
|
|
611
621
|
"& .M4LRHFTextField-label": {
|
|
612
|
-
color: t.palette.text.secondary,
|
|
622
|
+
color: t.vars.palette.text.secondary,
|
|
613
623
|
transition: "all .5s ease"
|
|
614
624
|
},
|
|
615
625
|
"& .MuiInputBase-root.MuiInputBase-formControl": {
|
|
616
626
|
padding: "0px 8px 0 0",
|
|
617
627
|
"& .MuiInputBase-input": {
|
|
618
|
-
color: t.palette.text.secondary,
|
|
628
|
+
color: t.vars.palette.text.secondary,
|
|
619
629
|
padding: "0px 12px",
|
|
620
630
|
backgroundColor: "transparent",
|
|
621
631
|
height: "100%",
|
|
622
|
-
...t.typography.body
|
|
632
|
+
...t.colorSchemes.finalTheme.typography.body
|
|
623
633
|
},
|
|
624
634
|
"& .MuiInputAdornment-root": {
|
|
625
635
|
margin: "0px",
|
|
@@ -638,13 +648,13 @@ const r = (t) => ({
|
|
|
638
648
|
}
|
|
639
649
|
},
|
|
640
650
|
"& .M4LIcon-icon": {
|
|
641
|
-
backgroundColor: t.palette.text.secondary,
|
|
651
|
+
backgroundColor: t.vars.palette.text.secondary,
|
|
642
652
|
transition: "all .3s ease"
|
|
643
653
|
},
|
|
644
654
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
645
655
|
border: "1px solid",
|
|
646
656
|
padding: "4px",
|
|
647
|
-
borderColor: t.palette.divider,
|
|
657
|
+
borderColor: t.vars.palette.divider,
|
|
648
658
|
borderRadius: "4px",
|
|
649
659
|
inset: "0px",
|
|
650
660
|
transition: "all .3s ease",
|
|
@@ -655,47 +665,47 @@ const r = (t) => ({
|
|
|
655
665
|
},
|
|
656
666
|
"&:hover": {
|
|
657
667
|
"& .M4LTypography-root": {
|
|
658
|
-
color: t.palette.state?.hover
|
|
668
|
+
color: t.vars.palette.state?.hover
|
|
659
669
|
},
|
|
660
670
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
661
|
-
borderColor: t.palette.state?.hover
|
|
671
|
+
borderColor: t.vars.palette.state?.hover
|
|
662
672
|
},
|
|
663
673
|
"& .MuiInputBase-input": {
|
|
664
|
-
color: t.palette.text.primary
|
|
674
|
+
color: t.vars.palette.text.primary
|
|
665
675
|
},
|
|
666
676
|
"& .M4LIcon-icon": {
|
|
667
|
-
backgroundColor: t.palette.state?.hover
|
|
677
|
+
backgroundColor: t.vars.palette.state?.hover
|
|
668
678
|
}
|
|
669
679
|
},
|
|
670
680
|
"&.M4LRHFDateTime-isFocus": {
|
|
671
681
|
"& .M4LTypography-root": {
|
|
672
|
-
color: t.palette.state.active
|
|
682
|
+
color: t.vars.palette.state.active
|
|
673
683
|
},
|
|
674
684
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
675
685
|
transition: "all .1s ease",
|
|
676
686
|
border: "2px solid",
|
|
677
|
-
borderColor: t.palette.state?.active
|
|
687
|
+
borderColor: t.vars.palette.state?.active
|
|
678
688
|
},
|
|
679
689
|
"& .MuiInputBase-input": {
|
|
680
|
-
color: t.palette.text.primary
|
|
690
|
+
color: t.vars.palette.text.primary
|
|
681
691
|
},
|
|
682
692
|
"& .M4LIcon-icon": {
|
|
683
|
-
backgroundColor: t.palette.state?.active
|
|
693
|
+
backgroundColor: t.vars.palette.state?.active
|
|
684
694
|
}
|
|
685
695
|
},
|
|
686
696
|
"&.M4LRHFTextField-variantError": {
|
|
687
697
|
"& .M4LRHFTextField-label": {
|
|
688
|
-
color: t.palette.state?.error.normal
|
|
698
|
+
color: t.vars.palette.state?.error.normal
|
|
689
699
|
},
|
|
690
700
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
691
701
|
border: "1px solid",
|
|
692
|
-
borderColor: t.palette.state?.error.normal
|
|
702
|
+
borderColor: t.vars.palette.state?.error.normal
|
|
693
703
|
},
|
|
694
704
|
"& .MuiInputBase-input": {
|
|
695
|
-
color: t.palette.text.primary
|
|
705
|
+
color: t.vars.palette.text.primary
|
|
696
706
|
},
|
|
697
707
|
"& .M4LIcon-icon": {
|
|
698
|
-
backgroundColor: t.palette.state?.error.normal
|
|
708
|
+
backgroundColor: t.vars.palette.state?.error.normal
|
|
699
709
|
},
|
|
700
710
|
"&:hover": {
|
|
701
711
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
@@ -710,25 +720,25 @@ const r = (t) => ({
|
|
|
710
720
|
},
|
|
711
721
|
"&.M4LRHFTextField-isDisabled": {
|
|
712
722
|
"& .M4LRHFTextField-label": {
|
|
713
|
-
color: t.palette.text.disabled
|
|
723
|
+
color: t.vars.palette.text.disabled
|
|
714
724
|
},
|
|
715
725
|
"& .MuiInputBase-root .MuiOutlinedInput-notchedOutline": {
|
|
716
726
|
border: "1px solid",
|
|
717
|
-
borderColor: t.palette.text.disabled,
|
|
718
|
-
backgroundColor: t.palette.state?.default,
|
|
727
|
+
borderColor: t.vars.palette.text.disabled,
|
|
728
|
+
backgroundColor: t.vars.palette.state?.default,
|
|
719
729
|
boxShadow: "none"
|
|
720
730
|
},
|
|
721
731
|
"& .MuiInputBase-input": {
|
|
722
|
-
color: t.palette.text.disabled
|
|
732
|
+
color: t.vars.palette.text.disabled
|
|
723
733
|
},
|
|
724
734
|
"& .M4LIcon-icon": {
|
|
725
|
-
backgroundColor: t.palette.text.disabled
|
|
735
|
+
backgroundColor: t.vars.palette.text.disabled
|
|
726
736
|
}
|
|
727
737
|
}
|
|
728
738
|
}
|
|
729
739
|
}
|
|
730
740
|
}
|
|
731
|
-
}),
|
|
741
|
+
}), u = (t) => ({
|
|
732
742
|
M4LRHFUploadImage: {
|
|
733
743
|
styleOverrides: {
|
|
734
744
|
"&.M4LRHFUploadImage-root": {
|
|
@@ -742,8 +752,8 @@ const r = (t) => ({
|
|
|
742
752
|
position: "relative",
|
|
743
753
|
borderRadius: "4px",
|
|
744
754
|
padding: "8px",
|
|
745
|
-
boxShadow: t.customShadows
|
|
746
|
-
background: t.palette.background.default,
|
|
755
|
+
boxShadow: t.customShadows?.z2,
|
|
756
|
+
background: t.vars.palette.background.default,
|
|
747
757
|
"& .M4LRHFUploadImage-dropZoneStyle": {
|
|
748
758
|
zIndex: 0,
|
|
749
759
|
width: "fit-content",
|
|
@@ -757,15 +767,15 @@ const r = (t) => ({
|
|
|
757
767
|
inset: "0",
|
|
758
768
|
alignItems: "center",
|
|
759
769
|
justifyContent: "center",
|
|
760
|
-
background: t.palette.background.neutral,
|
|
770
|
+
background: t.vars.palette.background.neutral,
|
|
761
771
|
"& > *": {
|
|
762
772
|
width: "100%",
|
|
763
773
|
height: "100%"
|
|
764
774
|
},
|
|
765
775
|
"&:hover": {
|
|
766
|
-
background: t.palette.state.active12,
|
|
776
|
+
background: t.vars.palette.state.active12,
|
|
767
777
|
border: "1px solid",
|
|
768
|
-
borderColor: t.palette.state.active12,
|
|
778
|
+
borderColor: t.vars.palette.state.active12,
|
|
769
779
|
cursor: "pointer",
|
|
770
780
|
"& .placeholder": {
|
|
771
781
|
zIndex: 9
|
|
@@ -823,24 +833,24 @@ const r = (t) => ({
|
|
|
823
833
|
display: "flex",
|
|
824
834
|
justifyContent: "center",
|
|
825
835
|
".MuiTypography-subtitle": {
|
|
826
|
-
...t.typography.paragraphDens,
|
|
827
|
-
color: t.palette.text.primary
|
|
836
|
+
...t.colorSchemes.finalTheme.typography.paragraphDens,
|
|
837
|
+
color: t.vars.palette.text.primary
|
|
828
838
|
}
|
|
829
839
|
},
|
|
830
840
|
"& .M4LRHFUploadImage-containerDescription": {
|
|
831
841
|
display: "flex",
|
|
832
842
|
justifyContent: "center",
|
|
833
843
|
".MuiTypography-root": {
|
|
834
|
-
...t.typography.paragraph,
|
|
835
|
-
color: t.palette.text.secondary
|
|
844
|
+
...t.colorSchemes.finalTheme.typography.paragraph,
|
|
845
|
+
color: t.vars.palette.text.secondary
|
|
836
846
|
}
|
|
837
847
|
},
|
|
838
848
|
"& .M4LRHFUploadImage-containerConditions": {
|
|
839
849
|
display: "flex",
|
|
840
850
|
justifyContent: "center",
|
|
841
851
|
".MuiTypography-root": {
|
|
842
|
-
...t.typography.body,
|
|
843
|
-
color: t.palette.text.secondary
|
|
852
|
+
...t.colorSchemes.finalTheme.typography.body,
|
|
853
|
+
color: t.vars.palette.text.secondary
|
|
844
854
|
}
|
|
845
855
|
},
|
|
846
856
|
"& .M4LButton-root": {
|
|
@@ -857,7 +867,7 @@ const r = (t) => ({
|
|
|
857
867
|
maskPosition: "center!important",
|
|
858
868
|
maskRepeat: "no-repeat!important",
|
|
859
869
|
WebkitMaskRepeat: "no-repeat!important",
|
|
860
|
-
border: `1px dashed ${t.palette.divider}`,
|
|
870
|
+
border: `1px dashed ${t.vars.palette.divider}`,
|
|
861
871
|
width: "100%",
|
|
862
872
|
height: "100%",
|
|
863
873
|
mask: "url('data:image/svg+xml;base64, PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDcwIDcwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA3MCA3MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiM2MzczODE7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00NSw4LjdjMS40LTEuNSwzLjQtMi4zLDUuNC0yLjNzMy45LDAuOCw1LjQsMi4zczIuNCwzLjUsMi41LDUuN2MwLDIuMi0wLjksNC4yLTIuNCw1LjdzLTMuNSwyLjMtNS41LDIuMgoJCWMtMi4xLDAuMS00LTAuNy01LjUtMi4yYy0xLjQtMS41LTIuMy0zLjUtMi40LTUuN0M0Mi42LDEyLjIsNDMuNSwxMC4yLDQ1LDguN3oiLz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik02OC40LDYyLjFjLTAuMywwLjUtMC43LDAuOC0xLjIsMS4xcy0xLDAuNC0xLjYsMC40SDQuM2MtMC42LDAtMS4xLTAuMS0xLjYtMC40cy0wLjktMC42LTEuMi0xLjEKCQljLTAuMi0wLjUtMC40LTEtMC40LTEuNXMwLjEtMS4xLDAuNC0xLjVsMjMtMzYuNGMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNHMwLjksMC42LDEuMiwxLjEKCQlsMTEuNSwxOC4yYzAuMiwwLjMsMC41LDAuNSwwLjgsMC43czAuNiwwLjMsMSwwLjNjMC4zLDAsMC43LTAuMSwxLTAuM3MwLjYtMC40LDAuOC0wLjdsMy4xLTQuOWMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMQoJCXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNGMwLjUsMC4zLDAuOSwwLjYsMS4yLDEuMWwxNC42LDIzLjFjMC4zLDAuNSwwLjMsMSwwLjMsMS41UzY4LjcsNjEuNyw2OC40LDYyLjF6Ii8+CjwvZz4KPC9zdmc+Cg==')",
|
|
@@ -951,14 +961,14 @@ const r = (t) => ({
|
|
|
951
961
|
gap: "4px",
|
|
952
962
|
padding: "2px",
|
|
953
963
|
border: "1.5px solid",
|
|
954
|
-
borderColor: t.palette.state.borderPrimary,
|
|
964
|
+
borderColor: t.vars.palette.state.borderPrimary,
|
|
955
965
|
borderRadius: "4px",
|
|
956
966
|
width: "fit-content",
|
|
957
967
|
"& .M4LRHFColorPicker-boxColor": {
|
|
958
968
|
cursor: "pointer"
|
|
959
969
|
},
|
|
960
970
|
"& .M4LIcon-root:hover": {
|
|
961
|
-
background: t.palette.state.hoverDefault
|
|
971
|
+
background: t.vars.palette.state.hoverDefault
|
|
962
972
|
}
|
|
963
973
|
}
|
|
964
974
|
}
|
|
@@ -968,12 +978,12 @@ const r = (t) => ({
|
|
|
968
978
|
styleOverrides: {
|
|
969
979
|
"&.M4LRHFColorPicker-popoverRoot": {
|
|
970
980
|
"& .MuiPaper-root": {
|
|
971
|
-
background: t.palette.background.default,
|
|
981
|
+
background: t.vars.palette.background.default,
|
|
972
982
|
padding: "8px",
|
|
973
983
|
border: "1px solid",
|
|
974
|
-
borderColor: t.palette.state.borderSecondary,
|
|
984
|
+
borderColor: t.vars.palette.state.borderSecondary,
|
|
975
985
|
borderRadius: "4px",
|
|
976
|
-
boxShadow: t.customShadows.z4,
|
|
986
|
+
boxShadow: t.vars.customShadows.z4,
|
|
977
987
|
test: "root",
|
|
978
988
|
"& .M4LRHFColorPicker-containerPicker": {
|
|
979
989
|
background: "transparent",
|
|
@@ -990,9 +1000,9 @@ const r = (t) => ({
|
|
|
990
1000
|
flexDirection: "column",
|
|
991
1001
|
gap: "8px",
|
|
992
1002
|
border: "1px solid",
|
|
993
|
-
borderColor: t.palette.state.borderSecondary,
|
|
1003
|
+
borderColor: t.vars.palette.state.borderSecondary,
|
|
994
1004
|
borderRadius: "4px",
|
|
995
|
-
backgroundColor: t.palette.background.default,
|
|
1005
|
+
backgroundColor: t.vars.palette.background.default,
|
|
996
1006
|
"& :nth-of-type(-n + 1)": {
|
|
997
1007
|
borderRadius: "4px"
|
|
998
1008
|
},
|
|
@@ -1003,27 +1013,27 @@ const r = (t) => ({
|
|
|
1003
1013
|
"& > div": {
|
|
1004
1014
|
display: "flex",
|
|
1005
1015
|
flexDirection: "column-reverse",
|
|
1006
|
-
...t.typography.body,
|
|
1007
|
-
color: t.palette.text.secondary,
|
|
1016
|
+
...t.colorSchemes.finalTheme.typography.body,
|
|
1017
|
+
color: t.vars.palette.text.secondary,
|
|
1008
1018
|
gap: "2px",
|
|
1009
1019
|
padding: "0 important",
|
|
1010
1020
|
"& > input": {
|
|
1011
1021
|
display: "flex",
|
|
1012
1022
|
textAlign: "center !important",
|
|
1013
1023
|
border: "1px solid",
|
|
1014
|
-
borderColor: t.palette.state.borderPrimary,
|
|
1024
|
+
borderColor: t.vars.palette.state.borderPrimary,
|
|
1015
1025
|
borderRadius: "2px",
|
|
1016
1026
|
background: "transparent",
|
|
1017
1027
|
minHeight: "24px",
|
|
1018
1028
|
height: "24px !important",
|
|
1019
|
-
...t.typography.body,
|
|
1020
|
-
color: `${t.palette.text.primary} !important`
|
|
1029
|
+
...t.colorSchemes.finalTheme.typography.body,
|
|
1030
|
+
color: `${t.vars.palette.text.primary} !important`
|
|
1021
1031
|
},
|
|
1022
1032
|
"& > label": {
|
|
1023
1033
|
display: "flex",
|
|
1024
1034
|
textAlign: "left !important",
|
|
1025
|
-
...t.typography.body,
|
|
1026
|
-
color: `${t.palette.text.secondary} !important`,
|
|
1035
|
+
...t.colorSchemes.finalTheme.typography.body,
|
|
1036
|
+
color: `${t.vars.palette.text.secondary} !important`,
|
|
1027
1037
|
padding: "0 !important"
|
|
1028
1038
|
}
|
|
1029
1039
|
}
|
|
@@ -1044,9 +1054,9 @@ export {
|
|
|
1044
1054
|
l as M,
|
|
1045
1055
|
r as a,
|
|
1046
1056
|
p as b,
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1057
|
+
s as c,
|
|
1058
|
+
d,
|
|
1059
|
+
u as e,
|
|
1050
1060
|
M as f,
|
|
1051
1061
|
n as g,
|
|
1052
1062
|
c as h
|