@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.
Files changed (122) hide show
  1. package/index.js +42 -32
  2. package/package.json +2 -2
  3. package/theme/defaultThemeOptions.0976e58a.js +34 -0
  4. package/theme/defaultThemeOptions.d.ts +1 -5
  5. package/theme/index.5da3436d.js +7 -0
  6. package/theme/index.d.ts +1 -1
  7. package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +2 -2
  8. package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +2 -2
  9. package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +2 -65
  10. package/theme/overrides/M4LExtendedComponents/M4LAppBarCommercial.d.ts +2 -2
  11. package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +418 -2
  12. package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +4 -2
  13. package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +22 -1
  14. package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +2 -2
  15. package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +2 -2
  16. package/theme/overrides/M4LExtendedComponents/M4LCheckBox.d.ts +2 -2
  17. package/theme/overrides/M4LExtendedComponents/M4LCommonActions.d.ts +2 -2
  18. package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +2 -2
  19. package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +2 -2
  20. package/theme/overrides/M4LExtendedComponents/M4LErrorLabel.d.ts +2 -2
  21. package/theme/overrides/M4LExtendedComponents/M4LFieldLabel.d.ts +2 -2
  22. package/theme/overrides/M4LExtendedComponents/M4LFormatter.d.ts +2 -2
  23. package/theme/overrides/M4LExtendedComponents/M4LGridLayout.d.ts +2 -2
  24. package/theme/overrides/M4LExtendedComponents/M4LHamburgerMenuCommercial.d.ts +2 -2
  25. package/theme/overrides/M4LExtendedComponents/M4LIcon.d.ts +2 -2
  26. package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +2 -2
  27. package/theme/overrides/M4LExtendedComponents/M4LImage.d.ts +2 -2
  28. package/theme/overrides/M4LExtendedComponents/M4LImageButton.d.ts +2 -2
  29. package/theme/overrides/M4LExtendedComponents/M4LMFLoader.d.ts +2 -2
  30. package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +2 -2
  31. package/theme/overrides/M4LExtendedComponents/M4LMenuActions.d.ts +2 -2
  32. package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +2 -2
  33. package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.d.ts +2 -2
  34. package/theme/overrides/M4LExtendedComponents/M4LNavLink.d.ts +2 -2
  35. package/theme/overrides/M4LExtendedComponents/M4LNoItemSelected.d.ts +2 -2
  36. package/theme/overrides/M4LExtendedComponents/M4LPDFViewer.d.ts +2 -2
  37. package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +2 -2
  38. package/theme/overrides/M4LExtendedComponents/M4LPaperForm.d.ts +2 -2
  39. package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +2 -2
  40. package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +2 -2
  41. package/theme/overrides/M4LExtendedComponents/M4LPrintingSystem.d.ts +2 -2
  42. package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.d.ts +2 -2
  43. package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.d.ts +2 -2
  44. package/theme/overrides/M4LExtendedComponents/M4LScrollBar.d.ts +2 -2
  45. package/theme/overrides/M4LExtendedComponents/M4LSectionCommercial.d.ts +2 -2
  46. package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +2 -2
  47. package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.d.ts +2 -2
  48. package/theme/overrides/M4LExtendedComponents/M4LStack.d.ts +2 -2
  49. package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +2 -2
  50. package/theme/overrides/M4LExtendedComponents/M4LTabContent.d.ts +2 -2
  51. package/theme/overrides/M4LExtendedComponents/M4LTabs.d.ts +2 -2
  52. package/theme/overrides/M4LExtendedComponents/M4LToastContainer.d.ts +2 -2
  53. package/theme/overrides/M4LExtendedComponents/M4LTooltip.d.ts +2 -2
  54. package/theme/overrides/M4LExtendedComponents/M4LTopBar.d.ts +2 -2
  55. package/theme/overrides/M4LExtendedComponents/M4LTypography.d.ts +2 -2
  56. package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.d.ts +2 -2
  57. package/theme/overrides/M4LExtendedComponents/M4LinearProgressIndeterminate.d.ts +2 -2
  58. package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +2 -2
  59. package/theme/overrides/M4LExtendedComponents/M4LoadingError.d.ts +2 -2
  60. package/theme/overrides/M4LExtendedComponents/{index.0ba2f034.js → index.21814c8d.js} +819 -799
  61. package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +25 -15
  62. package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +2 -2
  63. package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.d.ts +2 -2
  64. package/theme/overrides/M4LRHFComponents/M4LRHFColorPicker.d.ts +2 -2
  65. package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.d.ts +2 -2
  66. package/theme/overrides/M4LRHFComponents/M4LRHFPeriod.d.ts +2 -2
  67. package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +2 -2
  68. package/theme/overrides/M4LRHFComponents/M4LRHFTextFieldPassword.d.ts +2 -2
  69. package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.d.ts +2 -2
  70. package/theme/overrides/M4LRHFComponents/{index.f37c2406.js → index.3599b255.js} +143 -133
  71. package/theme/overrides/MUIComponents/Accordion.d.ts +2 -2
  72. package/theme/overrides/MUIComponents/Autocomplete.d.ts +2 -2
  73. package/theme/overrides/MUIComponents/Avatar.d.ts +2 -2
  74. package/theme/overrides/MUIComponents/Backdrop.d.ts +2 -2
  75. package/theme/overrides/MUIComponents/Badge.d.ts +2 -2
  76. package/theme/overrides/MUIComponents/Breadcrumbs.d.ts +2 -2
  77. package/theme/overrides/MUIComponents/Button.d.ts +2 -2
  78. package/theme/overrides/MUIComponents/ButtonGroup.d.ts +2 -2
  79. package/theme/overrides/MUIComponents/Card.d.ts +2 -2
  80. package/theme/overrides/MUIComponents/Checkbox.d.ts +2 -2
  81. package/theme/overrides/MUIComponents/CmpDisenoTest.d.ts +2 -2
  82. package/theme/overrides/MUIComponents/ControlLabel.d.ts +2 -2
  83. package/theme/overrides/MUIComponents/CssBaseline.d.ts +2 -2
  84. package/theme/overrides/MUIComponents/DataGrid.d.ts +2 -2
  85. package/theme/overrides/MUIComponents/Drawer.d.ts +2 -2
  86. package/theme/overrides/MUIComponents/Fab.d.ts +2 -2
  87. package/theme/overrides/MUIComponents/IconButton.d.ts +2 -2
  88. package/theme/overrides/MUIComponents/Input.d.ts +2 -2
  89. package/theme/overrides/MUIComponents/InputLabel.d.ts +2 -2
  90. package/theme/overrides/MUIComponents/Link.d.ts +2 -2
  91. package/theme/overrides/MUIComponents/List.d.ts +2 -2
  92. package/theme/overrides/MUIComponents/LoadingButton.d.ts +2 -2
  93. package/theme/overrides/MUIComponents/Menu.d.ts +2 -2
  94. package/theme/overrides/MUIComponents/Pagination.d.ts +2 -2
  95. package/theme/overrides/MUIComponents/Paper.d.ts +2 -2
  96. package/theme/overrides/MUIComponents/Popover.d.ts +2 -2
  97. package/theme/overrides/MUIComponents/Progress.d.ts +2 -2
  98. package/theme/overrides/MUIComponents/Radio.d.ts +2 -2
  99. package/theme/overrides/MUIComponents/Skeleton.d.ts +2 -2
  100. package/theme/overrides/MUIComponents/Slider.d.ts +2 -2
  101. package/theme/overrides/MUIComponents/Stepper.d.ts +2 -2
  102. package/theme/overrides/MUIComponents/SvgIcon.d.ts +2 -2
  103. package/theme/overrides/MUIComponents/Switch.d.ts +2 -2
  104. package/theme/overrides/MUIComponents/Table.d.ts +2 -2
  105. package/theme/overrides/MUIComponents/Timeline.d.ts +2 -2
  106. package/theme/overrides/MUIComponents/ToggleButton.d.ts +2 -2
  107. package/theme/overrides/MUIComponents/Tooltip.d.ts +2 -2
  108. package/theme/overrides/MUIComponents/Typography.d.ts +2 -2
  109. package/theme/overrides/MUIComponents/{index.d2b98b86.js → index.7fb80545.js} +189 -189
  110. package/theme/overrides/{index.32aa77da.js → index.9323564e.js} +3 -3
  111. package/theme/overrides/index.d.ts +2 -2
  112. package/theme/{palette.0590e8a6.js → palette.287635f2.js} +64 -45
  113. package/theme/palette.d.ts +165 -347
  114. package/theme/{shadows.86540b18.js → shadows.e0c009ff.js} +1 -1
  115. package/theme/{typography.ed54f014.js → typography.2a9a38a6.js} +9 -8
  116. package/theme/typography.d.ts +4 -0
  117. package/types/augmentations.d.ts +42 -19
  118. package/utils/{getColorPresets.2a91ffaf.js → getColorPresets.a96a4046.js} +24 -18
  119. package/utils/getColorPresets.d.ts +8 -72
  120. package/utils/{getColorState.7b9634af.js → getColorState.b50b5b1e.js} +19 -7
  121. package/theme/defaultThemeOptions.656b9eff.js +0 -30
  122. package/theme/index.bc975e94.js +0 -7
@@ -1,19 +1,19 @@
1
1
  import { alpha as t } from "@mui/material/styles";
2
- import { alpha as e } from "@mui/system";
3
- import "../../defaultThemeOptions.656b9eff.js";
4
- import "../../shadows.86540b18.js";
5
- import { P as r } from "../../palette.0590e8a6.js";
6
- import "../../typography.ed54f014.js";
2
+ import { alpha as r } from "@mui/system";
3
+ import "../../defaultThemeOptions.0976e58a.js";
4
+ import "../../shadows.e0c009ff.js";
5
+ import { P as e } from "../../palette.287635f2.js";
6
+ import "../../typography.2a9a38a6.js";
7
7
  import "@mui/material";
8
8
  const c = (o) => ({
9
9
  M4LDynamicFilter: {
10
10
  styleOverrides: {
11
11
  "&.M4LDynamicFilter-root": {
12
12
  borderRadius: "4px",
13
- background: o.palette.background.default,
13
+ background: o.vars.palette.background.default,
14
14
  padding: "0px",
15
15
  border: "1px solid",
16
- borderColor: o.palette.state.borderPrimary,
16
+ borderColor: o.vars.palette.state.borderPrimary,
17
17
  height: "fit-content",
18
18
  [o.breakpoints.down("sm")]: {
19
19
  minHeight: "auto",
@@ -23,13 +23,13 @@ const c = (o) => ({
23
23
  "& .M4LDynamicFilter-containerFistRow": {
24
24
  "& .M4LDynamicFilter-containerClearFilter": {
25
25
  borderLeft: "1px solid",
26
- borderColor: o.palette.state.borderPrimary
26
+ borderColor: o.vars.palette.state.borderPrimary
27
27
  }
28
28
  },
29
29
  "& .M4LDynamicFilter-wrapperApplyedFilters": {
30
30
  display: "flex",
31
31
  borderTop: "1px solid ",
32
- borderColor: o.palette.state.borderSecondary,
32
+ borderColor: o.vars.palette.state.borderSecondary,
33
33
  height: "fit-content"
34
34
  }
35
35
  },
@@ -61,7 +61,7 @@ const c = (o) => ({
61
61
  width: "100%",
62
62
  alignItems: "center",
63
63
  maxWidth: "100%",
64
- color: o.palette.text.secondary,
64
+ color: o.vars.palette.text.secondary,
65
65
  border: "1px solid",
66
66
  borderColor: "transparent",
67
67
  [o.breakpoints.down("sm")]: {
@@ -71,7 +71,7 @@ const c = (o) => ({
71
71
  }
72
72
  },
73
73
  "&.M4LDynamicFilter-isInvalid": {
74
- borderColor: o.palette.state.error.normal
74
+ borderColor: o.vars.palette.state.error.normal
75
75
  },
76
76
  "& .M4LDynamicFilter-containerClearFilter": {
77
77
  display: "flex",
@@ -83,9 +83,9 @@ const c = (o) => ({
83
83
  borderTopRightRadius: "4px",
84
84
  borderBottomRightRadius: "4px",
85
85
  borderLeft: "1px solid",
86
- borderColor: o.palette.state.borderPrimary,
86
+ borderColor: o.vars.palette.state.borderPrimary,
87
87
  "& .M4LIconButton-root .M4LDynamicFilter-filterButton": {
88
- background: o.palette.state.focus
88
+ background: o.vars.palette.state.focus
89
89
  }
90
90
  },
91
91
  "& .M4LDynamicFilter-containerInputFilter": {
@@ -100,30 +100,30 @@ const c = (o) => ({
100
100
  borderTopLeftRadius: "4px",
101
101
  borderBottomLeftRadius: "4px",
102
102
  borderRight: "1px solid",
103
- borderColor: o.palette.state.borderPrimary,
103
+ borderColor: o.vars.palette.state.borderPrimary,
104
104
  "& > input": {
105
- background: o.palette.background.default,
106
- ...o.typography.body,
107
- color: o.palette.text.secondary,
105
+ background: o.vars.palette.background.default,
106
+ ...o.colorSchemes.finalTheme.typography.body,
107
+ color: o.vars.palette.text.secondary,
108
108
  border: "1px solid",
109
109
  borderColor: "transparent",
110
110
  padding: "4px 8px",
111
111
  width: "100%",
112
112
  height: "100%",
113
113
  "&::placeholder": {
114
- color: o.palette.text.secondary
114
+ color: o.vars.palette.text.secondary
115
115
  },
116
116
  "&:focus-visible": {
117
- color: o.palette.text.secondary,
117
+ color: o.vars.palette.text.secondary,
118
118
  border: "1px solid",
119
- borderColor: o.palette.state.active12,
120
- background: o.palette.state.active12,
119
+ borderColor: o.vars.palette.state.active12,
120
+ background: o.vars.palette.state.active12,
121
121
  BorderRadius: "2px",
122
122
  outline: "none!important"
123
123
  },
124
124
  "&:hover": {
125
- borderColor: o.palette.state.toneOp,
126
- background: o.palette.state.hoverDefault
125
+ borderColor: o.vars.palette.state?.toneOp,
126
+ background: o.vars.palette.state.hoverDefault
127
127
  }
128
128
  }
129
129
  },
@@ -153,17 +153,17 @@ const c = (o) => ({
153
153
  display: "flex",
154
154
  alignItems: "center",
155
155
  borderRadius: "4px",
156
- background: o.palette.state.default,
157
- color: o.palette.text.secondary,
158
- ...o.typography.body,
156
+ background: o.vars.palette.state.default,
157
+ color: o.vars.palette.text.secondary,
158
+ ...o.colorSchemes.finalTheme.typography.body,
159
159
  [o.breakpoints.down("sm")]: {
160
160
  height: "fit-content"
161
161
  },
162
162
  "& .css-5ca9fi": {
163
- ...o.typography.body
163
+ ...o.colorSchemes.finalTheme.typography.body
164
164
  },
165
165
  "& .css-1wytxsy": {
166
- ...o.typography.body
166
+ ...o.colorSchemes.finalTheme.typography.body
167
167
  }
168
168
  }
169
169
  }
@@ -183,16 +183,16 @@ const c = (o) => ({
183
183
  paddingRight: "4px",
184
184
  borderRadius: "4px",
185
185
  "& .M4LDynamicFilter-classespopoverLabelMemuItem": {
186
- ...o.typography.body,
187
- color: o.palette.text.primary
186
+ ...o.colorSchemes.finalTheme.typography.body,
187
+ color: o.vars.palette.text.primary
188
188
  },
189
189
  "& .M4LDynamicFilter-popoverMenuFieldsItem:hover": {
190
- ...o.typography.body,
191
- color: o.palette.state.hover,
192
- background: o.palette.state.default,
190
+ ...o.colorSchemes.finalTheme.typography.body,
191
+ color: o.vars.palette.state.hover,
192
+ background: o.vars.palette.state.default,
193
193
  borderRadius: "4px",
194
194
  padding: "4px 12px 4px 8px",
195
- boxShadow: o.customShadows.z2
195
+ boxShadow: o.customShadows?.z2
196
196
  }
197
197
  },
198
198
  [o.breakpoints.down("md")]: {
@@ -212,7 +212,7 @@ const c = (o) => ({
212
212
  minWidth: "220px",
213
213
  maxWidth: "100%",
214
214
  minHeight: "auto",
215
- boxShadow: o.customShadows.z3,
215
+ boxShadow: o.customShadows?.z2,
216
216
  "& .M4LPopover-arrowStyle": {
217
217
  background: "none"
218
218
  },
@@ -223,7 +223,7 @@ const c = (o) => ({
223
223
  maxWidth: "420px",
224
224
  height: "fit-content",
225
225
  "& .M4LDynamicFilter-popoverFilterHeader": {
226
- background: o.palette.state.default,
226
+ background: o.vars.palette.state.default,
227
227
  display: "flex",
228
228
  gap: "8px",
229
229
  padding: "4px 4px 4px 8px",
@@ -235,8 +235,8 @@ const c = (o) => ({
235
235
  "& .M4LIcon-icon": {}
236
236
  },
237
237
  "& .MuiTypography-root": {
238
- ...o.typography.paragraphDens,
239
- color: o.palette.text.primary,
238
+ ...o.colorSchemes.finalTheme.typography.paragraphDens,
239
+ color: o.vars.palette.text.primary,
240
240
  "& .MuiTypography-root": {}
241
241
  }
242
242
  },
@@ -275,8 +275,8 @@ const c = (o) => ({
275
275
  "& .M4LIcon-icon": {}
276
276
  },
277
277
  "& .MuiTypography-root": {
278
- ...o.typography.paragraphDens,
279
- color: o.palette.text.primary,
278
+ ...o.colorSchemes.finalTheme.typography.paragraphDens,
279
+ color: o.vars.palette.text.primary,
280
280
  "& .MuiTypography-root": {}
281
281
  }
282
282
  },
@@ -310,7 +310,7 @@ const c = (o) => ({
310
310
  }
311
311
  }
312
312
  }
313
- }), g = (o) => ({
313
+ }), x = (o) => ({
314
314
  M4LIcon: {
315
315
  styleOverrides: {
316
316
  ["&.M4LIcon-root"]: {
@@ -320,7 +320,7 @@ const c = (o) => ({
320
320
  width: "fit-content",
321
321
  transition: "transform 0.5s ease-in-out",
322
322
  ".M4LIcon-icon": {
323
- backgroundColor: o.palette.text.primary
323
+ backgroundColor: o.vars.palette.text.primary
324
324
  },
325
325
  ".M4LIcon-sizeExtraSmall": {
326
326
  width: "14px",
@@ -354,12 +354,12 @@ const c = (o) => ({
354
354
  },
355
355
  ".M4LIcon-variantSkeleton": {
356
356
  borderRadius: "4px",
357
- backgroundColor: o.palette.state?.skeleton.default
357
+ backgroundColor: o.vars.palette.state?.skeleton.default
358
358
  }
359
359
  }
360
360
  }
361
361
  }
362
- }), x = (o) => ({
362
+ }), g = (o) => ({
363
363
  M4LIconButton: {
364
364
  styleOverrides: {
365
365
  ["&.M4LIconButton-root"]: {
@@ -371,12 +371,12 @@ const c = (o) => ({
371
371
  transition: "all .3s ease",
372
372
  "& .M4LIcon-root .M4LIcon-icon": {
373
373
  transition: "all .3s ease",
374
- backgroundColor: o.palette.text.primary
374
+ backgroundColor: o.vars.palette.text.primary
375
375
  },
376
376
  "&::before": {
377
377
  boxSizing: "content-box",
378
378
  border: "1px solid",
379
- borderColor: o.palette.state?.focus,
379
+ borderColor: o.vars.palette.state?.focus,
380
380
  borderRadius: "4px",
381
381
  position: "absolute",
382
382
  transition: "all .3s ease"
@@ -403,24 +403,24 @@ const c = (o) => ({
403
403
  padding: "0px"
404
404
  },
405
405
  "&.M4LIconButton-variantPrimary:not(&.M4LIconButton-isDisabled)": {
406
- backgroundColor: o.palette.state?.default,
406
+ backgroundColor: o.vars.palette.state?.default,
407
407
  "&:hover": {
408
- backgroundColor: o.palette.state?.hover,
408
+ backgroundColor: o.vars.palette.state?.hover,
409
409
  "& .M4LIcon-icon": {
410
- backgroundColor: o.palette.patronus?.marbleLight[10]
410
+ backgroundColor: o.vars.palette.patronus?.marbleLight[10]
411
411
  }
412
412
  },
413
413
  "&:active": {
414
- backgroundColor: o.palette.state?.active,
414
+ backgroundColor: o.vars.palette.state?.active,
415
415
  transition: "background-color .5s ease",
416
416
  "& .M4LIcon-icon": {
417
- backgroundColor: o.palette.patronus?.marbleLight[10]
417
+ backgroundColor: o.vars.palette.patronus?.marbleLight[10]
418
418
  }
419
419
  },
420
420
  "&.M4LIconButton-isFocus": {
421
- backgroundColor: o.palette.state?.active,
421
+ backgroundColor: o.vars.palette.state?.active,
422
422
  "& .M4LIcon-icon": {
423
- backgroundColor: o.palette.patronus?.marbleLight[10]
423
+ backgroundColor: o.vars.palette.patronus?.marbleLight[10]
424
424
  },
425
425
  "&::before": {
426
426
  content: "''"
@@ -428,29 +428,29 @@ const c = (o) => ({
428
428
  }
429
429
  },
430
430
  "&.M4LIconButton-variantSecondary:not(&.M4LIconButton-isDisabled)": {
431
- borderColor: o.palette.state.borderDens,
431
+ borderColor: o.vars.palette.state.borderDens,
432
432
  "& .M4LIcon-icon": {
433
- backgroundColor: o.palette.text.primary
433
+ backgroundColor: o.vars.palette.text.primary
434
434
  },
435
435
  "&:hover": {
436
436
  border: "1px solid",
437
- borderColor: o.palette.state?.focus,
437
+ borderColor: o.vars.palette.state?.focus,
438
438
  "& .M4LIcon-icon": {
439
- backgroundColor: o.palette.state?.focus
439
+ backgroundColor: o.vars.palette.state?.focus
440
440
  }
441
441
  },
442
442
  "&:active": {
443
443
  border: "1px solid",
444
- borderColor: o.palette.state?.active,
444
+ borderColor: o.vars.palette.state?.active,
445
445
  "& .M4LIcon-icon": {
446
- backgroundColor: o.palette.state?.active
446
+ backgroundColor: o.vars.palette.state?.active
447
447
  }
448
448
  },
449
449
  "&.M4LIconButton-isFocus": {
450
450
  border: "1px solid",
451
- borderColor: o.palette.state?.active,
451
+ borderColor: o.vars.palette.state?.active,
452
452
  "& .M4LIcon-icon": {
453
- backgroundColor: o.palette.state?.active
453
+ backgroundColor: o.vars.palette.state?.active
454
454
  },
455
455
  "&::before": {
456
456
  content: "''"
@@ -459,29 +459,29 @@ const c = (o) => ({
459
459
  },
460
460
  "&.M4LIconButton-variantLine:not(&.M4LIconButton-isDisabled)": {
461
461
  "&:hover": {
462
- backgroundColor: o.palette.state?.active12,
462
+ backgroundColor: o.vars.palette.state?.active12,
463
463
  "& .M4LIcon-icon": {
464
- backgroundColor: o.palette.state?.focus
464
+ backgroundColor: o.vars.palette.state?.focus
465
465
  }
466
466
  },
467
467
  "&:active": {
468
468
  backgroundColor: "transparent",
469
469
  "& .M4LIcon-icon": {
470
- backgroundColor: o.palette.state?.active
470
+ backgroundColor: o.vars.palette.state?.active
471
471
  }
472
472
  },
473
473
  "&.M4LIconButton-isFocus": {
474
474
  backgroundColor: "transparent",
475
475
  border: "1px solid",
476
- borderColor: o.palette.state?.focus,
476
+ borderColor: o.vars.palette.state?.focus,
477
477
  "& .M4LIcon-icon": {
478
- backgroundColor: o.palette.state?.active
478
+ backgroundColor: o.vars.palette.state?.active
479
479
  }
480
480
  }
481
481
  },
482
482
  "&.M4LIconButton-isDisabled": {
483
483
  "& .M4LIcon-icon": {
484
- backgroundColor: o.palette.text.disabled
484
+ backgroundColor: o.vars.palette.text.disabled
485
485
  }
486
486
  },
487
487
  "&.M4LIconButton-root .MuiSkeleton-root": {
@@ -551,12 +551,12 @@ const c = (o) => ({
551
551
  borderRadius: "4px"
552
552
  },
553
553
  ".MuiButtonBase-root:hover": {
554
- backgroundColor: o.palette.state?.active12
554
+ backgroundColor: o.vars.palette.state?.active12
555
555
  },
556
556
  ".MuiButtonBase-root:focus": {
557
- backgroundColor: o.palette.state?.active12,
557
+ backgroundColor: o.vars.palette.state?.active12,
558
558
  border: "1px solid",
559
- borderColor: o.palette.state?.focus
559
+ borderColor: o.vars.palette.state?.focus
560
560
  },
561
561
  [o.breakpoints.down("md")]: {
562
562
  ".MuiButtonBase-root": {
@@ -580,7 +580,7 @@ const c = (o) => ({
580
580
  }
581
581
  }
582
582
  }
583
- }), L = (o) => ({
583
+ }), v = (o) => ({
584
584
  M4LPopover: {
585
585
  styleOverrides: {
586
586
  "&.M4LPopover-root": {
@@ -589,10 +589,10 @@ const c = (o) => ({
589
589
  width: "100%",
590
590
  height: "100%",
591
591
  ".MuiPaper-root": {
592
- background: o.palette.background.default,
592
+ background: o.vars.palette.background.default,
593
593
  borderRadius: "6px",
594
594
  padding: "8px",
595
- boxShadow: o.customShadows.z4,
595
+ boxShadow: o.vars.customShadows.z4,
596
596
  width: "auto",
597
597
  zIndex: "10000",
598
598
  "& .MuiButtonBase-root": {
@@ -615,8 +615,8 @@ const c = (o) => ({
615
615
  gap: "4px"
616
616
  },
617
617
  "& .M4LanguagePopover-labelItem": {
618
- ...o.typography.body,
619
- color: o.palette.text.secondary,
618
+ ...o.colorSchemes.finalTheme.typography.body,
619
+ color: o.vars.palette.text.secondary,
620
620
  borderRadius: "4px",
621
621
  margin: "0"
622
622
  },
@@ -628,14 +628,14 @@ const c = (o) => ({
628
628
  justifyContent: "normal !important"
629
629
  },
630
630
  "& .MuiButtonBase-root:hover": {
631
- backgroundColor: o.palette.state?.active12,
631
+ backgroundColor: o.vars.palette.state?.active12,
632
632
  borderRadius: "4px",
633
633
  padding: "4px"
634
634
  },
635
635
  "& .MuiButtonBase-root.Mui-selected": {
636
- backgroundColor: o.palette.state?.active12,
636
+ backgroundColor: o.vars.palette.state?.active12,
637
637
  "& .M4LanguagePopover-labelItem": {
638
- color: o.palette.state?.active
638
+ color: o.vars.palette.state?.active
639
639
  }
640
640
  }
641
641
  },
@@ -671,30 +671,30 @@ const c = (o) => ({
671
671
  }
672
672
  }
673
673
  }
674
- }), y = (o) => ({
674
+ }), L = (o) => ({
675
675
  M4LErrorLabel: {
676
676
  styleOverrides: {
677
677
  ["&.M4LHelperText-root"]: {
678
678
  "&.M4LHelperText-variantInfo .MuiTypography-root": {
679
- color: o.palette.info.main
679
+ color: o.vars.palette.info.main
680
680
  },
681
681
  "&.M4LHelperText-variantSuccess .MuiTypography-root": {
682
- color: o.palette.success.main
682
+ color: o.vars.palette.success.main
683
683
  },
684
684
  "&.M4LHelperText-variantWarning .MuiTypography-root": {
685
- color: o.palette.warning.main
685
+ color: o.vars.palette.warning.main
686
686
  },
687
687
  "&.M4LHelperText-variantError .MuiTypography-root": {
688
- color: o.palette.error.main
688
+ color: o.vars.palette.error.main
689
689
  }
690
690
  }
691
691
  }
692
692
  }
693
- }), f = (o) => ({
693
+ }), y = (o) => ({
694
694
  M4LTypography: {
695
695
  styleOverrides: {
696
696
  ["&.M4LTypography-root"]: {
697
- color: o.palette.text.primary,
697
+ color: o.vars.palette.text.primary,
698
698
  display: "inline",
699
699
  "& .MuiTypography-root": {
700
700
  margin: "unset"
@@ -710,7 +710,7 @@ const c = (o) => ({
710
710
  width: "fit-content",
711
711
  display: "flex",
712
712
  justifyContent: "center",
713
- ...o.typography.action,
713
+ ...o.colorSchemes.finalTheme.typography.action,
714
714
  minHeight: "24px",
715
715
  borderRadius: "4px",
716
716
  [o.breakpoints.down("md")]: {
@@ -728,7 +728,7 @@ const c = (o) => ({
728
728
  transition: "all .5s ease",
729
729
  borderRadius: "4px",
730
730
  border: "1px solid transparent",
731
- ...o.typography.action,
731
+ ...o.colorSchemes.finalTheme.typography.action,
732
732
  backgroundColor: "#fff0",
733
733
  height: "100% !important",
734
734
  "&:hover, &:focus": {
@@ -744,7 +744,7 @@ const c = (o) => ({
744
744
  "&::before": {
745
745
  inset: "0",
746
746
  border: "1px solid",
747
- borderColor: o.palette.state?.focus,
747
+ borderColor: o.vars.palette.state?.focus,
748
748
  borderRadius: "4px",
749
749
  transform: "scale(1.07, 1.36)",
750
750
  position: "absolute",
@@ -753,41 +753,41 @@ const c = (o) => ({
753
753
  },
754
754
  "&.M4LButton-isDisabled": {
755
755
  "& .MuiButtonBase-root": {
756
- color: `${o.palette.text.disabled}!important`,
756
+ color: `${o.vars.palette.text.disabled}!important`,
757
757
  "& .M4LIcon-icon": {
758
- backgroundColor: `${o.palette.text.disabled}!important`
758
+ backgroundColor: `${o.vars.palette.text.disabled}!important`
759
759
  }
760
760
  },
761
761
  "&.M4LButton-variantContained": {
762
- color: o.palette.text.disabled,
763
- backgroundColor: o.palette.state.default,
762
+ color: o.vars.palette.text.disabled,
763
+ backgroundColor: o.vars.palette.state.default,
764
764
  border: "1px solid",
765
- borderColor: o.palette.state.borderDisable,
765
+ borderColor: o.vars.palette.state.borderDisable,
766
766
  "& .M4LIcon-icon": {
767
- backgroundColor: o.palette.text.disabled
767
+ backgroundColor: o.vars.palette.text.disabled
768
768
  },
769
769
  "&:hover": {
770
- backgroundColor: o.palette.state?.default,
771
- color: o.palette.text.disabled,
770
+ backgroundColor: o.vars.palette.state?.default,
771
+ color: o.vars.palette.text.disabled,
772
772
  "& .M4LIcon-icon": {
773
- backgroundColor: o.palette.text.disabled,
774
- color: o.palette.text.disabled
773
+ backgroundColor: o.vars.palette.text.disabled,
774
+ color: o.vars.palette.text.disabled
775
775
  }
776
776
  },
777
777
  "&:active": {
778
- backgroundColor: o.palette.state?.active,
779
- color: o.palette.text.primary,
778
+ backgroundColor: o.vars.palette.state?.active,
779
+ color: o.vars.palette.text.primary,
780
780
  "& .M4LIcon-icon": {
781
- backgroundColor: o.palette.text.disabled,
782
- color: o.palette.text.disabled
781
+ backgroundColor: o.vars.palette.text.disabled,
782
+ color: o.vars.palette.text.disabled
783
783
  }
784
784
  },
785
785
  "&.Mui-focusVisible": {
786
- backgroundColor: o.palette.state?.default,
787
- color: o.palette.text.disabled,
786
+ backgroundColor: o.vars.palette.state?.default,
787
+ color: o.vars.palette.text.disabled,
788
788
  "& .M4LIcon-icon": {
789
- backgroundColor: o.palette.text.disabled,
790
- color: o.palette.text.disabled
789
+ backgroundColor: o.vars.palette.text.disabled,
790
+ color: o.vars.palette.text.disabled
791
791
  },
792
792
  "&::before": {
793
793
  content: "none"
@@ -816,25 +816,25 @@ const c = (o) => ({
816
816
  }
817
817
  },
818
818
  "&.M4LButton-variantContained": {
819
- backgroundColor: o.palette.state?.active,
820
- color: o.palette.patronus?.marbleLight[10],
819
+ backgroundColor: o.vars.palette.state?.active,
820
+ color: o.vars.palette.patronus?.marbleLight[10],
821
821
  boxShadow: o.customShadows?.z1,
822
822
  position: "relative",
823
823
  "& .M4LIcon-icon": {
824
- backgroundColor: o.palette.patronus?.marbleLight[10]
824
+ backgroundColor: o.vars.palette.patronus?.marbleLight[10]
825
825
  },
826
826
  "&:hover": {
827
- backgroundColor: o.palette.state?.hover,
828
- color: o.palette.patronus?.marbleLight[10],
827
+ backgroundColor: o.vars.palette.state?.hover,
828
+ color: o.vars.palette.patronus?.marbleLight[10],
829
829
  "& .M4LIcon-icon": {
830
- backgroundColor: o.palette.patronus?.marbleLight[10]
830
+ backgroundColor: o.vars.palette.patronus?.marbleLight[10]
831
831
  }
832
832
  },
833
833
  "&.Mui-focusVisible": {
834
- backgroundColor: o.palette.state?.active,
835
- color: o.palette.patronus?.marbleLight[10],
834
+ backgroundColor: o.vars.palette.state?.active,
835
+ color: o.vars.palette.patronus?.marbleLight[10],
836
836
  "& .M4LIcon-icon": {
837
- backgroundColor: o.palette.patronus?.marbleLight[10]
837
+ backgroundColor: o.vars.palette.patronus?.marbleLight[10]
838
838
  },
839
839
  "&::before": {
840
840
  content: "''"
@@ -844,33 +844,33 @@ const c = (o) => ({
844
844
  "&.M4LButton-variantOutlined": {
845
845
  "& .MuiButtonBase-root": {
846
846
  border: "1px solid",
847
- borderColor: o.palette.state.borderDens,
848
- color: o.palette.text.primary,
847
+ borderColor: o.vars.palette.state.borderDens,
848
+ color: o.vars.palette.text.primary,
849
849
  "& .M4LIcon-icon": {
850
- backgroundColor: o.palette.text.primary
850
+ backgroundColor: o.vars.palette.text.primary
851
851
  },
852
852
  "&:hover": {
853
- borderColor: o.palette.state?.hover,
854
- color: o.palette.state?.hover,
855
- backgroundColor: o.palette.state?.active12,
853
+ borderColor: o.vars.palette.state?.hover,
854
+ color: o.vars.palette.state?.hover,
855
+ backgroundColor: o.vars.palette.state?.active12,
856
856
  "& .M4LIcon-icon": {
857
- backgroundColor: o.palette.state?.hover
857
+ backgroundColor: o.vars.palette.state?.hover
858
858
  }
859
859
  },
860
860
  "&:active": {
861
- borderColor: o.palette.state?.active,
862
- color: o.palette.state?.active,
861
+ borderColor: o.vars.palette.state?.active,
862
+ color: o.vars.palette.state?.active,
863
863
  backgroundColor: "transparent",
864
864
  "& .M4LIcon-icon": {
865
- backgroundColor: o.palette.state?.active
865
+ backgroundColor: o.vars.palette.state?.active
866
866
  }
867
867
  },
868
868
  "&.Mui-focusVisible": {
869
- borderColor: o.palette.state?.active,
870
- color: o.palette.state?.active,
869
+ borderColor: o.vars.palette.state?.active,
870
+ color: o.vars.palette.state?.active,
871
871
  backgroundColor: "transparent",
872
872
  "& .M4LIcon-icon": {
873
- backgroundColor: o.palette.state?.active
873
+ backgroundColor: o.vars.palette.state?.active
874
874
  },
875
875
  "&::before": {
876
876
  content: "''"
@@ -880,29 +880,29 @@ const c = (o) => ({
880
880
  },
881
881
  "&.M4LButton-variantText": {
882
882
  "& .MuiButtonBase-root": {
883
- color: o.palette.text.primary,
883
+ color: o.vars.palette.text.primary,
884
884
  "& .M4LIcon-icon": {
885
- backgroundColor: o.palette.text.primary
885
+ backgroundColor: o.vars.palette.text.primary
886
886
  },
887
887
  "&:hover": {
888
- backgroundColor: o.palette.state?.active12,
889
- color: o.palette.state?.hover,
888
+ backgroundColor: o.vars.palette.state?.active12,
889
+ color: o.vars.palette.state?.hover,
890
890
  "& .M4LIcon-icon": {
891
- backgroundColor: o.palette.state?.hover
891
+ backgroundColor: o.vars.palette.state?.hover
892
892
  }
893
893
  },
894
894
  "&:active": {
895
895
  backgroundColor: "transparent",
896
- color: o.palette.state?.active,
896
+ color: o.vars.palette.state?.active,
897
897
  "& .M4LIcon-icon": {
898
- backgroundColor: o.palette.state?.active
898
+ backgroundColor: o.vars.palette.state?.active
899
899
  }
900
900
  },
901
901
  "&.Mui-focusVisible": {
902
902
  backgroundColor: "transparent",
903
- color: o.palette.state?.active,
903
+ color: o.vars.palette.state?.active,
904
904
  "& .M4LIcon-icon": {
905
- backgroundColor: o.palette.state?.active
905
+ backgroundColor: o.vars.palette.state?.active
906
906
  },
907
907
  "&:before": {
908
908
  content: "''"
@@ -911,21 +911,21 @@ const c = (o) => ({
911
911
  }
912
912
  },
913
913
  "&.M4LButton-colorError": {
914
- backgroundColor: `${o.palette.state.error.normal}`,
914
+ backgroundColor: `${o.vars.palette.state.error.normal}`,
915
915
  "&:hover": {
916
- backgroundColor: `${o.palette.state.error.hover}`
916
+ backgroundColor: `${o.vars.palette.state.error.hover}`
917
917
  }
918
918
  },
919
919
  "&.M4LButton-colorWarning": {
920
- backgroundColor: `${o.palette.state.warning.normal}`,
920
+ backgroundColor: `${o.vars.palette.state.warning.normal}`,
921
921
  "&:hover": {
922
- backgroundColor: `${o.palette.state.warning.hover}`
922
+ backgroundColor: `${o.vars.palette.state.warning.hover}`
923
923
  }
924
924
  },
925
925
  "&.M4LButton-colorSuccess": {
926
- backgroundColor: `${o.palette.state.success.normal}`,
926
+ backgroundColor: `${o.vars.palette.state.success.normal}`,
927
927
  "&:hover": {
928
- backgroundColor: `${o.palette.state.success.hover}`
928
+ backgroundColor: `${o.vars.palette.state.success.hover}`
929
929
  }
930
930
  },
931
931
  "&.M4LButton-togglePressed .MuiButtonBase-root": {
@@ -935,18 +935,18 @@ const c = (o) => ({
935
935
  }
936
936
  }
937
937
  }
938
- }), w = (o) => ({
938
+ }), f = (o) => ({
939
939
  M4LNavLink: {
940
940
  styleOverrides: {
941
941
  ["&.M4LNavLink-root"]: {
942
942
  "& .M4LTypography-root": {
943
- color: o.palette.state.active
943
+ color: o.vars.palette.state.active
944
944
  },
945
945
  "&: hover": {
946
946
  "& .M4LTypography-root": {
947
- color: o.palette.state?.hover,
947
+ color: o.vars.palette.state?.hover,
948
948
  textDecoration: "underline",
949
- textDecorationColor: o.palette.state?.hover
949
+ textDecorationColor: o.vars.palette.state?.hover
950
950
  }
951
951
  },
952
952
  "& > a": {
@@ -955,7 +955,7 @@ const c = (o) => ({
955
955
  }
956
956
  }
957
957
  }
958
- }), v = (o) => ({
958
+ }), w = (o) => ({
959
959
  M4LSideBar: {
960
960
  styleOverrides: {
961
961
  "&.M4LSideBar-root": {
@@ -974,7 +974,7 @@ const c = (o) => ({
974
974
  display: "flex",
975
975
  width: "100%",
976
976
  height: "100%",
977
- boxShadow: o.customShadows.z2,
977
+ boxShadow: o.vars.customShadows?.z2,
978
978
  transition: "all 0.3s",
979
979
  "& .M4LSideBar-containerContentGroupsFooter": {
980
980
  flexGrow: "1",
@@ -983,8 +983,8 @@ const c = (o) => ({
983
983
  height: "100%",
984
984
  position: "relative",
985
985
  borderRight: "1px solid",
986
- borderColor: o.palette.state.borderPrimary,
987
- backgroundColor: o.palette.background.default,
986
+ borderColor: o.vars.palette.state.borderPrimary,
987
+ backgroundColor: o.vars.palette.background.default,
988
988
  "& .M4LSideBar-contentGroups": {
989
989
  padding: "32px 12px",
990
990
  "& .M4LSideBar-wrapperGroup": {
@@ -992,7 +992,7 @@ const c = (o) => ({
992
992
  padding: "8px",
993
993
  borderTop: "1px solid",
994
994
  borderBottom: "1px solid",
995
- borderColor: o.palette.state.borderSecondary,
995
+ borderColor: o.vars.palette.state.borderSecondary,
996
996
  height: "fit-content",
997
997
  width: "100%",
998
998
  "& .M4LSideBar-navItemRootContent": {
@@ -1008,7 +1008,7 @@ const c = (o) => ({
1008
1008
  display: "flex",
1009
1009
  padding: "10px 5px",
1010
1010
  borderTop: "1px solid",
1011
- borderColor: o.palette.state.borderDisable,
1011
+ borderColor: o.vars.palette.state.borderDisable,
1012
1012
  justifyContent: "center",
1013
1013
  gap: "24px",
1014
1014
  alignItems: "center",
@@ -1037,7 +1037,7 @@ const c = (o) => ({
1037
1037
  },
1038
1038
  "&.M4LSideBar-root.M4LSideBar-variantDefault": {
1039
1039
  height: "100%",
1040
- background: o.palette.background.default,
1040
+ background: o.vars.palette.background.default,
1041
1041
  position: "relative",
1042
1042
  "& .M4LIconButton-sizeSmall": {
1043
1043
  width: "20px",
@@ -1061,9 +1061,9 @@ const c = (o) => ({
1061
1061
  top: "16px",
1062
1062
  right: "-8px",
1063
1063
  borderRadius: "4px",
1064
- backgroundColor: `${o.palette.background.default}!important`,
1064
+ backgroundColor: `${o.vars.palette.background.default}!important`,
1065
1065
  transition: "all 0.3s",
1066
- boxShadow: o.customShadows.z1,
1066
+ boxShadow: o.vars.customShadows.z1,
1067
1067
  zIndex: "1"
1068
1068
  },
1069
1069
  "&:not(.M4LSideBar-collapsed) .M4LSideBar-collapseButton": {
@@ -1073,7 +1073,7 @@ const c = (o) => ({
1073
1073
  "& .M4LSideBar-subItemActive": {
1074
1074
  padding: "0px",
1075
1075
  "& .M4LIcon-icon": {
1076
- backgroundColor: `${o.palette.state.focus}!important`
1076
+ backgroundColor: `${o.vars.palette.state.focus}!important`
1077
1077
  }
1078
1078
  },
1079
1079
  "&.M4LSideBar-collapsed": {
@@ -1164,7 +1164,7 @@ const c = (o) => ({
1164
1164
  overflow: "hidden",
1165
1165
  textOverflow: "ellipsis",
1166
1166
  textWrap: "nowrap",
1167
- ...o.typography.paragraphDens,
1167
+ ...o.colorSchemes.finalTheme.typography.paragraphDens,
1168
1168
  textTransform: "capitalize",
1169
1169
  fontWeight: "700"
1170
1170
  }
@@ -1182,7 +1182,7 @@ const c = (o) => ({
1182
1182
  backgroundColor: "transparent",
1183
1183
  borderRadius: "4px",
1184
1184
  "&:hover": {
1185
- background: o.palette.state.default,
1185
+ background: o.vars.palette.state.default,
1186
1186
  cursor: "pointer"
1187
1187
  }
1188
1188
  },
@@ -1190,13 +1190,13 @@ const c = (o) => ({
1190
1190
  borderRadius: "4px",
1191
1191
  height: "auto",
1192
1192
  "& .M4LSideBar-navItemMainRoot": {
1193
- background: o.palette.state.active12,
1193
+ background: o.vars.palette.state.active12,
1194
1194
  border: "1px solid",
1195
- borderColor: o.palette.state.active12,
1195
+ borderColor: o.vars.palette.state.active12,
1196
1196
  boxShadow: o.shadows[1],
1197
1197
  "&:hover": {
1198
1198
  background: t(
1199
- o.palette.state.active || "#fff",
1199
+ o.colorSchemes.finalTheme.palette.state.active || "#fff",
1200
1200
  0.24
1201
1201
  ),
1202
1202
  cursor: "pointer"
@@ -1206,21 +1206,21 @@ const c = (o) => ({
1206
1206
  "& .M4LSideBar-navItemRootContentIconTypo": {
1207
1207
  alignItems: "center",
1208
1208
  "& .M4LIcon-icon": {
1209
- backgroundColor: o.palette.state.focus
1209
+ backgroundColor: o.vars.palette.state.focus
1210
1210
  },
1211
1211
  "& .M4LTypography-root": {
1212
1212
  "& .MuiTypography-root": {
1213
- color: o.palette.state.focus
1213
+ color: o.vars.palette.state.focus
1214
1214
  }
1215
1215
  },
1216
1216
  "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1217
- backgroundColor: o.palette.state.focus
1217
+ backgroundColor: o.vars.palette.state.focus
1218
1218
  }
1219
1219
  },
1220
1220
  "& .M4LSideBar-arrowIconRoot": {
1221
1221
  "& .M4LIcon-root": {
1222
1222
  "& .M4LIcon-icon": {
1223
- backgroundColor: o.palette.state.focus
1223
+ backgroundColor: o.vars.palette.state.focus
1224
1224
  }
1225
1225
  }
1226
1226
  },
@@ -1231,7 +1231,7 @@ const c = (o) => ({
1231
1231
  top: "25%",
1232
1232
  bottom: "25%",
1233
1233
  left: "0px",
1234
- backgroundColor: o.palette.state.focus,
1234
+ backgroundColor: o.vars.palette.state.focus,
1235
1235
  borderRadius: "0px 4px 4px 0px",
1236
1236
  position: "absolute"
1237
1237
  }
@@ -1247,7 +1247,7 @@ const c = (o) => ({
1247
1247
  gap: "8px",
1248
1248
  width: "100%",
1249
1249
  "& .M4LIcon-icon": {
1250
- backgroundColor: o.palette.text.secondary,
1250
+ backgroundColor: o.vars.palette.text.secondary,
1251
1251
  width: "18px",
1252
1252
  height: "18px"
1253
1253
  },
@@ -1256,8 +1256,8 @@ const c = (o) => ({
1256
1256
  flexGrow: "1",
1257
1257
  overflow: "hidden",
1258
1258
  "& .MuiTypography-root": {
1259
- ...o.typography.paragraph,
1260
- color: o.palette.text.primary,
1259
+ ...o.colorSchemes.finalTheme.typography.paragraph,
1260
+ color: o.vars.palette.text.primary,
1261
1261
  textWrap: "nowrap",
1262
1262
  textOverflow: "ellipsis",
1263
1263
  display: "block",
@@ -1265,13 +1265,13 @@ const c = (o) => ({
1265
1265
  }
1266
1266
  },
1267
1267
  "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1268
- backgroundColor: o.palette.text.primary
1268
+ backgroundColor: o.vars.palette.text.primary
1269
1269
  }
1270
1270
  },
1271
1271
  "& .M4LSideBar-arrowIconRoot": {
1272
1272
  "& .M4LIcon-root": {
1273
1273
  "& .M4LIcon-icon": {
1274
- background: o.palette.text.primary
1274
+ background: o.vars.palette.text.primary
1275
1275
  }
1276
1276
  }
1277
1277
  }
@@ -1289,15 +1289,15 @@ const c = (o) => ({
1289
1289
  borderRadius: "4px",
1290
1290
  gap: "8px",
1291
1291
  "&.M4LSideBar-subItemCollapseActive": {
1292
- backgroundColor: o.palette.state.active12,
1292
+ backgroundColor: o.vars.palette.state.active12,
1293
1293
  gap: "8px",
1294
1294
  border: "1px solid",
1295
- borderColor: o.palette.state.active12,
1295
+ borderColor: o.vars.palette.state.active12,
1296
1296
  "& .MuiButtonBase-root": {
1297
1297
  padding: "0px",
1298
1298
  "& .M4LIcon-root": {
1299
1299
  "& .M4LIcon-icon": {
1300
- backgroundColor: o.palette.state.focus
1300
+ backgroundColor: o.vars.palette.state.focus
1301
1301
  }
1302
1302
  }
1303
1303
  }
@@ -1315,12 +1315,12 @@ const c = (o) => ({
1315
1315
  "& .M4LSideBar-navSubItemContentBullet": {
1316
1316
  height: "14px",
1317
1317
  borderRadius: "4px",
1318
- backgroundColor: o.palette.state.focus,
1318
+ backgroundColor: o.vars.palette.state.focus,
1319
1319
  gap: "8px"
1320
1320
  }
1321
1321
  },
1322
1322
  "&:hover": {
1323
- background: o.palette.state.default,
1323
+ background: o.vars.palette.state.default,
1324
1324
  padding: "0 8px"
1325
1325
  }
1326
1326
  },
@@ -1331,14 +1331,14 @@ const c = (o) => ({
1331
1331
  minWidth: "5px",
1332
1332
  minHeight: "5px",
1333
1333
  borderRadius: "50%",
1334
- backgroundColor: o.palette.text.primary
1334
+ backgroundColor: o.vars.palette.text.primary
1335
1335
  },
1336
1336
  "& .M4LTypography-root": {
1337
1337
  display: "flex",
1338
1338
  width: "100%",
1339
1339
  "& .MuiTypography-root": {
1340
- ...o.typography.paragraph,
1341
- color: o.palette.text.primary,
1340
+ ...o.colorSchemes.finalTheme.typography.paragraph,
1341
+ color: o.vars.palette.text.primary,
1342
1342
  with: "100%",
1343
1343
  overflow: "hidden",
1344
1344
  textOverflow: "ellipsis",
@@ -1347,9 +1347,9 @@ const c = (o) => ({
1347
1347
  },
1348
1348
  "&.M4LSideBar-subItemActive.M4LSideBar-navSubItemContentRoot": {
1349
1349
  "& .M4LTypography-root": {
1350
- color: o.palette.state.focus,
1350
+ color: o.vars.palette.state.focus,
1351
1351
  "& .MuiTypography-root": {
1352
- color: o.palette.state.focus
1352
+ color: o.vars.palette.state.focus
1353
1353
  }
1354
1354
  }
1355
1355
  }
@@ -1361,7 +1361,7 @@ const c = (o) => ({
1361
1361
  }
1362
1362
  },
1363
1363
  "& .M4LIcon-root .M4LIcon-icon": {
1364
- backgroundColor: o.palette.text.primary
1364
+ backgroundColor: o.vars.palette.text.primary
1365
1365
  }
1366
1366
  },
1367
1367
  "& .M4LSideBar-footer": {
@@ -1380,7 +1380,7 @@ const c = (o) => ({
1380
1380
  "&.M4LSideBar-root.M4LSideBar-variantComercial": {
1381
1381
  "& .M4LSideBar-subItemActive": {
1382
1382
  "& .M4LIcon-icon": {
1383
- backgroundColor: `${o.palette.state.focus}!important`
1383
+ backgroundColor: `${o.vars.palette.state.focus}!important`
1384
1384
  }
1385
1385
  },
1386
1386
  "&.M4LSideBar-collapsed": {
@@ -1480,20 +1480,20 @@ const c = (o) => ({
1480
1480
  backgroundColor: "transparent",
1481
1481
  borderRadius: "4px",
1482
1482
  "&:hover": {
1483
- background: o.palette.state.default,
1483
+ background: o.vars.palette.state.default,
1484
1484
  cursor: "pointer"
1485
1485
  }
1486
1486
  },
1487
1487
  "&.M4LSideBar-itemMainActive": {
1488
- background: o.palette.state.active12,
1488
+ background: o.vars.palette.state.active12,
1489
1489
  borderRadius: "4px",
1490
1490
  border: "1px solid",
1491
- borderColor: o.palette.state.borderDisable,
1491
+ borderColor: o.vars.palette.state.borderDisable,
1492
1492
  "& .M4LSideBar-navItemMainRoot": {
1493
- background: o.palette.state.active12,
1493
+ background: o.vars.palette.state.active12,
1494
1494
  "&:hover": {
1495
1495
  background: t(
1496
- o.palette.state.active || "#fff",
1496
+ o.colorSchemes.finalTheme.palette.state.active || "#fff",
1497
1497
  0.24
1498
1498
  ),
1499
1499
  cursor: "pointer"
@@ -1502,21 +1502,21 @@ const c = (o) => ({
1502
1502
  "& .M4LSideBar-navItemRootContent": {
1503
1503
  "& .M4LSideBar-navItemRootContentIconTypo": {
1504
1504
  "& .M4LIcon-icon": {
1505
- backgroundColor: o.palette.state.focus
1505
+ backgroundColor: o.vars.palette.state.focus
1506
1506
  },
1507
1507
  "& .M4LTypography-root": {
1508
1508
  "& .MuiTypography-root": {
1509
- color: o.palette.state.focus
1509
+ color: o.vars.palette.state.focus
1510
1510
  }
1511
1511
  },
1512
1512
  "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1513
- backgroundColor: o.palette.state.focus
1513
+ backgroundColor: o.vars.palette.state.focus
1514
1514
  }
1515
1515
  },
1516
1516
  "& .M4LSideBar-arrowIconRoot": {
1517
1517
  "& .M4LIcon-root": {
1518
1518
  "& .M4LIcon-icon": {
1519
- backgroundColor: o.palette.state.focus
1519
+ backgroundColor: o.vars.palette.state.focus
1520
1520
  }
1521
1521
  }
1522
1522
  },
@@ -1526,7 +1526,7 @@ const c = (o) => ({
1526
1526
  top: "0px",
1527
1527
  bottom: "0px",
1528
1528
  right: "0px",
1529
- backgroundColor: o.palette.state.focus,
1529
+ backgroundColor: o.vars.palette.state.focus,
1530
1530
  borderRadius: "4px 0px 0px 4px",
1531
1531
  position: "absolute"
1532
1532
  }
@@ -1543,7 +1543,7 @@ const c = (o) => ({
1543
1543
  gap: "8px",
1544
1544
  width: "100%",
1545
1545
  "& .M4LIcon-icon": {
1546
- backgroundColor: o.palette.text.primary,
1546
+ backgroundColor: o.vars.palette.text.primary,
1547
1547
  width: "18px",
1548
1548
  height: "18px"
1549
1549
  },
@@ -1552,8 +1552,8 @@ const c = (o) => ({
1552
1552
  flexGrow: "1",
1553
1553
  overflow: "hidden",
1554
1554
  "& .MuiTypography-root": {
1555
- ...o.typography.paragraph,
1556
- color: o.palette.text.primary,
1555
+ ...o.colorSchemes.finalTheme.typography.paragraph,
1556
+ color: o.vars.palette.text.primary,
1557
1557
  textWrap: "nowrap",
1558
1558
  textOverflow: "ellipsis",
1559
1559
  display: "block",
@@ -1561,13 +1561,13 @@ const c = (o) => ({
1561
1561
  }
1562
1562
  },
1563
1563
  "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1564
- backgroundColor: o.palette.text.primary
1564
+ backgroundColor: o.vars.palette.text.primary
1565
1565
  }
1566
1566
  },
1567
1567
  "& .M4LSideBar-arrowIconRoot": {
1568
1568
  "& .M4LIcon-root": {
1569
1569
  "& .M4LIcon-icon": {
1570
- background: o.palette.text.primary
1570
+ background: o.vars.palette.text.primary
1571
1571
  }
1572
1572
  }
1573
1573
  }
@@ -1584,14 +1584,14 @@ const c = (o) => ({
1584
1584
  borderRadius: "4px",
1585
1585
  gap: "8px",
1586
1586
  "&.M4LSideBar-subItemCollapseActive": {
1587
- backgroundColor: o.palette.state.active12,
1587
+ backgroundColor: o.vars.palette.state.active12,
1588
1588
  gap: "8px",
1589
1589
  "& .MuiButtonBase-root": {
1590
1590
  paddingLeft: "0",
1591
1591
  padding: "0px",
1592
1592
  "& .M4LIcon-root": {
1593
1593
  "& .M4LIcon-icon": {
1594
- backgroundColor: o.palette.state.focus
1594
+ backgroundColor: o.vars.palette.state.focus
1595
1595
  }
1596
1596
  }
1597
1597
  }
@@ -1602,20 +1602,20 @@ const c = (o) => ({
1602
1602
  padding: "0px",
1603
1603
  "& .M4LIcon-root": {
1604
1604
  "& .M4LIcon-icon": {
1605
- backgroundColor: `${o.palette.state.focus}!important`
1605
+ backgroundColor: `${o.vars.palette.state.focus}!important`
1606
1606
  }
1607
1607
  }
1608
1608
  },
1609
1609
  "& .M4LSideBar-navSubItemContentBullet": {
1610
1610
  height: "14px",
1611
1611
  borderRadius: "4px",
1612
- backgroundColor: o.palette.state.focus,
1612
+ backgroundColor: o.vars.palette.state.focus,
1613
1613
  gap: "8px"
1614
1614
  }
1615
1615
  },
1616
1616
  "&:hover": {
1617
1617
  padding: "0 8px",
1618
- background: o.palette.state.default
1618
+ background: o.vars.palette.state.default
1619
1619
  }
1620
1620
  },
1621
1621
  "& .M4LSideBar-navSubItemContentRoot": {
@@ -1626,14 +1626,14 @@ const c = (o) => ({
1626
1626
  minWidth: "5px",
1627
1627
  minHeight: "5px",
1628
1628
  borderRadius: "50%",
1629
- backgroundColor: o.palette.text.primary
1629
+ backgroundColor: o.vars.palette.text.primary
1630
1630
  },
1631
1631
  "& .M4LTypography-root": {
1632
1632
  display: "flex",
1633
1633
  width: "100%",
1634
1634
  "& .MuiTypography-root": {
1635
- ...o.typography.paragraph,
1636
- color: o.palette.text.primary,
1635
+ ...o.colorSchemes.finalTheme.typography.paragraph,
1636
+ color: o.vars.palette.text.primary,
1637
1637
  with: "100%",
1638
1638
  overflow: "hidden",
1639
1639
  textOverflow: "ellipsis",
@@ -1648,7 +1648,7 @@ const c = (o) => ({
1648
1648
  }
1649
1649
  },
1650
1650
  "& .M4LIcon-root .M4LIcon-icon": {
1651
- backgroundColor: o.palette.text.primary
1651
+ backgroundColor: o.vars.palette.text.primary
1652
1652
  }
1653
1653
  },
1654
1654
  "& .M4LSideBar-footer": {
@@ -1675,7 +1675,7 @@ const c = (o) => ({
1675
1675
  "&.M4LSideBar-popover.M4LSideBar-variantDefault": {
1676
1676
  "& .M4LSideBar-subItemActive": {
1677
1677
  "& .M4LIcon-icon": {
1678
- backgroundColor: `${o.palette.state.focus}!important`
1678
+ backgroundColor: `${o.vars.palette.state.focus}!important`
1679
1679
  }
1680
1680
  },
1681
1681
  "& .M4LSideBar-navListSubItemRoot": {
@@ -1687,14 +1687,14 @@ const c = (o) => ({
1687
1687
  height: "fit-content",
1688
1688
  borderRadius: "4px",
1689
1689
  "&.M4LSideBar-subItemCollapseActive": {
1690
- backgroundColor: o.palette.state.active12
1690
+ backgroundColor: o.vars.palette.state.active12
1691
1691
  },
1692
1692
  "& .M4LTypography-root": {
1693
1693
  display: "flex",
1694
1694
  width: "100%",
1695
1695
  "& .MuiTypography-root": {
1696
- ...o.typography.paragraph,
1697
- color: o.palette.text.secondary,
1696
+ ...o.colorSchemes.finalTheme.typography.paragraph,
1697
+ color: o.vars.palette.text.secondary,
1698
1698
  with: "100%",
1699
1699
  overflow: "hidden",
1700
1700
  textOverflow: "ellipsis",
@@ -1708,7 +1708,7 @@ const c = (o) => ({
1708
1708
  padding: "0px",
1709
1709
  "& .M4LIcon-root": {
1710
1710
  "& .M4LIcon-icon": {
1711
- backgroundColor: o.palette.state.focus
1711
+ backgroundColor: o.vars.palette.state.focus
1712
1712
  }
1713
1713
  }
1714
1714
  }
@@ -1721,25 +1721,25 @@ const c = (o) => ({
1721
1721
  padding: "0px",
1722
1722
  "& .M4LIcon-root": {
1723
1723
  "& .M4LIcon-icon": {
1724
- backgroundColor: `${o.palette.state.focus}!important`
1724
+ backgroundColor: `${o.vars.palette.state.focus}!important`
1725
1725
  }
1726
1726
  }
1727
1727
  },
1728
1728
  "& .M4LSideBar-navSubItemContentBullet": {
1729
1729
  height: "14px",
1730
1730
  borderRadius: "10px",
1731
- backgroundColor: o.palette.state.focus
1731
+ backgroundColor: o.vars.palette.state.focus
1732
1732
  }
1733
1733
  },
1734
1734
  "& .M4LSideBar-navSubItemContentBullet": {
1735
1735
  minWidth: "5px",
1736
1736
  minHeight: "5px",
1737
1737
  borderRadius: "50%",
1738
- backgroundColor: o.palette.text.primary
1738
+ backgroundColor: o.vars.palette.text.primary
1739
1739
  },
1740
1740
  "&:hover": {
1741
1741
  padding: "0 8px",
1742
- background: o.palette.state.default
1742
+ background: o.vars.palette.state.default
1743
1743
  }
1744
1744
  }
1745
1745
  }
@@ -1747,7 +1747,7 @@ const c = (o) => ({
1747
1747
  "&.M4LSideBar-popover.M4LSideBar-variantComercial": {
1748
1748
  "& .M4LSideBar-subItemActive": {
1749
1749
  "& .M4LIcon-icon": {
1750
- backgroundColor: `${o.palette.state.focus}!important`
1750
+ backgroundColor: `${o.vars.palette.state.focus}!important`
1751
1751
  }
1752
1752
  },
1753
1753
  "& .M4LSideBar-navListSubItemRoot": {
@@ -1759,15 +1759,15 @@ const c = (o) => ({
1759
1759
  height: "fit-content",
1760
1760
  borderRadius: "4px",
1761
1761
  "&.M4LSideBar-subItemCollapseActive": {
1762
- backgroundColor: o.palette.state.active12,
1762
+ backgroundColor: o.vars.palette.state.active12,
1763
1763
  Text: "iufbivecf"
1764
1764
  },
1765
1765
  "& .M4LTypography-root": {
1766
1766
  display: "flex",
1767
1767
  width: "100%",
1768
1768
  "& .MuiTypography-root": {
1769
- ...o.typography.paragraph,
1770
- color: o.palette.text.secondary,
1769
+ ...o.colorSchemes.finalTheme.typography.paragraph,
1770
+ color: o.vars.palette.text.secondary,
1771
1771
  with: "100%",
1772
1772
  overflow: "hidden",
1773
1773
  textOverflow: "ellipsis",
@@ -1781,7 +1781,7 @@ const c = (o) => ({
1781
1781
  padding: "0px",
1782
1782
  "& .M4LIcon-root": {
1783
1783
  "& .M4LIcon-icon": {
1784
- backgroundColor: o.palette.state.focus
1784
+ backgroundColor: o.vars.palette.state.focus
1785
1785
  }
1786
1786
  }
1787
1787
  }
@@ -1794,25 +1794,25 @@ const c = (o) => ({
1794
1794
  padding: "0px",
1795
1795
  "& .M4LIcon-root": {
1796
1796
  "& .M4LIcon-icon": {
1797
- backgroundColor: `${o.palette.state.focus}!important`
1797
+ backgroundColor: `${o.vars.palette.state.focus}!important`
1798
1798
  }
1799
1799
  }
1800
1800
  },
1801
1801
  "& .M4LSideBar-navSubItemContentBullet": {
1802
1802
  height: "14px",
1803
1803
  borderRadius: "10px",
1804
- backgroundColor: o.palette.state.focus
1804
+ backgroundColor: o.vars.palette.state.focus
1805
1805
  }
1806
1806
  },
1807
1807
  "& .M4LSideBar-navSubItemContentBullet": {
1808
1808
  minWidth: "5px",
1809
1809
  minHeight: "5px",
1810
1810
  borderRadius: "50%",
1811
- backgroundColor: o.palette.text.primary
1811
+ backgroundColor: o.vars.palette.text.primary
1812
1812
  },
1813
1813
  "&:hover": {
1814
1814
  padding: "0 8px",
1815
- background: o.palette.state.default
1815
+ background: o.vars.palette.state.default
1816
1816
  }
1817
1817
  }
1818
1818
  }
@@ -1825,11 +1825,11 @@ const c = (o) => ({
1825
1825
  "&.M4LSideBar-variantDefault": {
1826
1826
  "& .M4LSideBar-subItemActive": {
1827
1827
  "& .M4LIcon-icon": {
1828
- backgroundColor: `${o.palette.state.focus}!important`
1828
+ backgroundColor: `${o.vars.palette.state.focus}!important`
1829
1829
  },
1830
1830
  "& .M4LTypography-root": {
1831
1831
  "& .MuiTypography-root": {
1832
- color: `${o.palette.state.focus}!important`
1832
+ color: `${o.vars.palette.state.focus}!important`
1833
1833
  }
1834
1834
  }
1835
1835
  },
@@ -1865,8 +1865,8 @@ const c = (o) => ({
1865
1865
  },
1866
1866
  "& .M4LImage-root": {
1867
1867
  position: "relative",
1868
- background: o.palette.background.default,
1869
- boxShadow: o.customShadows.z2,
1868
+ background: o.vars.palette.background.default,
1869
+ boxShadow: o.vars.customShadows?.z2,
1870
1870
  padding: "6px",
1871
1871
  borderRadius: "6px",
1872
1872
  minWidth: "50px !important",
@@ -1899,7 +1899,7 @@ const c = (o) => ({
1899
1899
  overflow: "hidden",
1900
1900
  textOverflow: "ellipsis",
1901
1901
  textWrap: "nowrap",
1902
- ...o.typography.paragraphDens,
1902
+ ...o.colorSchemes.finalTheme.typography.paragraphDens,
1903
1903
  textTransform: "capitalize"
1904
1904
  }
1905
1905
  }
@@ -1916,20 +1916,20 @@ const c = (o) => ({
1916
1916
  backgroundColor: "transparent",
1917
1917
  borderRadius: "4px",
1918
1918
  "&:hover": {
1919
- background: o.palette.state.default,
1919
+ background: o.vars.palette.state.default,
1920
1920
  cursor: "pointer"
1921
1921
  }
1922
1922
  },
1923
1923
  "&.M4LSideBar-itemMainActive": {
1924
1924
  borderRadius: "4px",
1925
- background: o.palette.state.active12,
1925
+ background: o.vars.palette.state.active12,
1926
1926
  border: "1px solid",
1927
- borderColor: o.palette.state.active12,
1927
+ borderColor: o.vars.palette.state.active12,
1928
1928
  "& .M4LSideBar-navItemMainRoot": {
1929
- background: o.palette.state.active,
1929
+ background: o.vars.palette.state.active,
1930
1930
  "&:hover": {
1931
1931
  background: t(
1932
- o.palette.state.active || "#fff",
1932
+ o.colorSchemes.finalTheme.palette.state.active || "#fff",
1933
1933
  0.24
1934
1934
  ),
1935
1935
  cursor: "pointer"
@@ -1939,21 +1939,21 @@ const c = (o) => ({
1939
1939
  "& .M4LSideBar-navItemRootContentIconTypo": {
1940
1940
  alignItems: "center",
1941
1941
  "& .M4LIcon-icon": {
1942
- backgroundColor: o.palette.state.focus
1942
+ backgroundColor: o.vars.palette.state.focus
1943
1943
  },
1944
1944
  "& .M4LTypography-root": {
1945
1945
  "& .MuiTypography-root": {
1946
- color: o.palette.state.focus
1946
+ color: o.vars.palette.state.focus
1947
1947
  }
1948
1948
  },
1949
1949
  "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
1950
- backgroundColor: o.palette.state.focus
1950
+ backgroundColor: o.vars.palette.state.focus
1951
1951
  }
1952
1952
  },
1953
1953
  "& .M4LSideBar-arrowIconRoot": {
1954
1954
  "& .M4LIcon-root": {
1955
1955
  "& .M4LIcon-icon": {
1956
- backgroundColor: o.palette.state.focus
1956
+ backgroundColor: o.vars.palette.state.focus
1957
1957
  }
1958
1958
  }
1959
1959
  },
@@ -1963,7 +1963,7 @@ const c = (o) => ({
1963
1963
  top: "0px",
1964
1964
  bottom: "0px",
1965
1965
  left: "0px",
1966
- backgroundColor: o.palette.state.focus,
1966
+ backgroundColor: o.vars.palette.state.focus,
1967
1967
  borderRadius: "4px 0px 0px 4px",
1968
1968
  position: "absolute"
1969
1969
  }
@@ -1980,7 +1980,7 @@ const c = (o) => ({
1980
1980
  gap: "8px",
1981
1981
  width: "100%",
1982
1982
  "& .M4LIcon-icon": {
1983
- backgroundColor: o.palette.text.primary,
1983
+ backgroundColor: o.vars.palette.text.primary,
1984
1984
  width: "18px",
1985
1985
  height: "18px"
1986
1986
  },
@@ -1989,8 +1989,8 @@ const c = (o) => ({
1989
1989
  flexGrow: "1",
1990
1990
  overflow: "hidden",
1991
1991
  "& .MuiTypography-root": {
1992
- ...o.typography.paragraph,
1993
- color: o.palette.text.primary,
1992
+ ...o.colorSchemes.finalTheme.typography.paragraph,
1993
+ color: o.vars.palette.text.primary,
1994
1994
  textWrap: "nowrap",
1995
1995
  textOverflow: "ellipsis",
1996
1996
  display: "block",
@@ -1998,13 +1998,13 @@ const c = (o) => ({
1998
1998
  }
1999
1999
  },
2000
2000
  "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
2001
- backgroundColor: o.palette.text.primary
2001
+ backgroundColor: o.vars.palette.text.primary
2002
2002
  }
2003
2003
  },
2004
2004
  "& .M4LSideBar-arrowIconRoot": {
2005
2005
  "& .M4LIcon-root": {
2006
2006
  "& .M4LIcon-icon": {
2007
- background: o.palette.text.primary
2007
+ background: o.vars.palette.text.primary
2008
2008
  }
2009
2009
  }
2010
2010
  }
@@ -2022,14 +2022,14 @@ const c = (o) => ({
2022
2022
  gap: "8px",
2023
2023
  padding: "0px",
2024
2024
  "&.M4LSideBar-subItemCollapseActive": {
2025
- backgroundColor: o.palette.state.active12,
2025
+ backgroundColor: o.vars.palette.state.active12,
2026
2026
  gap: "8px",
2027
2027
  padding: "0px",
2028
2028
  "& .MuiButtonBase-root": {
2029
2029
  padding: "0px",
2030
2030
  "& .M4LIcon-root": {
2031
2031
  "& .M4LIcon-icon": {
2032
- backgroundColor: o.palette.state.focus
2032
+ backgroundColor: o.vars.palette.state.focus
2033
2033
  }
2034
2034
  }
2035
2035
  }
@@ -2039,20 +2039,20 @@ const c = (o) => ({
2039
2039
  padding: "0px",
2040
2040
  "& .M4LIcon-root": {
2041
2041
  "& .M4LIcon-icon": {
2042
- backgroundColor: `${o.palette.state.focus}!important`
2042
+ backgroundColor: `${o.vars.palette.state.focus}!important`
2043
2043
  }
2044
2044
  }
2045
2045
  },
2046
2046
  "& .M4LSideBar-navSubItemContentBullet": {
2047
2047
  height: "14px",
2048
2048
  borderRadius: "4px",
2049
- backgroundColor: o.palette.state.focus,
2049
+ backgroundColor: o.vars.palette.state.focus,
2050
2050
  gap: "8px"
2051
2051
  }
2052
2052
  },
2053
2053
  "&:hover": {
2054
2054
  padding: "0 8px",
2055
- background: o.palette.state.default
2055
+ background: o.vars.palette.state.default
2056
2056
  }
2057
2057
  },
2058
2058
  "& .M4LSideBar-navSubItemContentRoot": {
@@ -2071,14 +2071,14 @@ const c = (o) => ({
2071
2071
  minWidth: "5px",
2072
2072
  minHeight: "5px",
2073
2073
  borderRadius: "50%",
2074
- backgroundColor: o.palette.text.primary
2074
+ backgroundColor: o.vars.palette.text.primary
2075
2075
  },
2076
2076
  "& .M4LTypography-root": {
2077
2077
  display: "flex",
2078
2078
  width: "100%",
2079
2079
  "& .MuiTypography-root": {
2080
- ...o.typography.paragraph,
2081
- color: o.palette.text.primary,
2080
+ ...o.colorSchemes.finalTheme.typography.paragraph,
2081
+ color: o.vars.palette.text.primary,
2082
2082
  with: "100%",
2083
2083
  overflow: "hidden",
2084
2084
  textOverflow: "ellipsis",
@@ -2093,7 +2093,7 @@ const c = (o) => ({
2093
2093
  }
2094
2094
  },
2095
2095
  "& .M4LIcon-root .M4LIcon-icon": {
2096
- backgroundColor: o.palette.text.primary
2096
+ backgroundColor: o.vars.palette.text.primary
2097
2097
  }
2098
2098
  },
2099
2099
  "& .M4LSideBar-footer": {
@@ -2192,20 +2192,20 @@ const c = (o) => ({
2192
2192
  backgroundColor: "transparent",
2193
2193
  borderRadius: "4px",
2194
2194
  "&:hover": {
2195
- background: o.palette.state.default,
2195
+ background: o.vars.palette.state.default,
2196
2196
  cursor: "pointer"
2197
2197
  }
2198
2198
  },
2199
2199
  "&.M4LSideBar-itemMainActive": {
2200
2200
  borderRadius: "4px",
2201
- background: o.palette.state.active12,
2201
+ background: o.vars.palette.state.active12,
2202
2202
  border: "1px solid",
2203
- borderColor: o.palette.state.active12,
2203
+ borderColor: o.vars.palette.state.active12,
2204
2204
  "& .M4LSideBar-navItemMainRoot": {
2205
- background: o.palette.state.active12,
2205
+ background: o.vars.palette.state.active12,
2206
2206
  "&:hover": {
2207
2207
  background: t(
2208
- o.palette.state.active || "#fff",
2208
+ o.colorSchemes.finalTheme.palette.state.active || "#fff",
2209
2209
  0.24
2210
2210
  ),
2211
2211
  cursor: "pointer"
@@ -2215,21 +2215,21 @@ const c = (o) => ({
2215
2215
  "& .M4LSideBar-navItemRootContentIconTypo": {
2216
2216
  fontSize: "14px !important",
2217
2217
  "& .M4LIcon-icon": {
2218
- backgroundColor: o.palette.state.focus
2218
+ backgroundColor: o.vars.palette.state.focus
2219
2219
  },
2220
2220
  "& .M4LTypography-root": {
2221
2221
  "& .MuiTypography-root": {
2222
- color: o.palette.state.focus
2222
+ color: o.vars.palette.state.focus
2223
2223
  }
2224
2224
  },
2225
2225
  "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
2226
- backgroundColor: o.palette.state.focus
2226
+ backgroundColor: o.vars.palette.state.focus
2227
2227
  }
2228
2228
  },
2229
2229
  "& .M4LSideBar-arrowIconRoot": {
2230
2230
  "& .M4LIcon-root": {
2231
2231
  "& .M4LIcon-icon": {
2232
- backgroundColor: o.palette.state.focus
2232
+ backgroundColor: o.vars.palette.state.focus
2233
2233
  }
2234
2234
  }
2235
2235
  },
@@ -2239,7 +2239,7 @@ const c = (o) => ({
2239
2239
  top: "0px",
2240
2240
  bottom: "0px",
2241
2241
  right: "0px",
2242
- backgroundColor: o.palette.state.focus,
2242
+ backgroundColor: o.vars.palette.state.focus,
2243
2243
  borderRadius: "4px 0px 0px 4px",
2244
2244
  position: "absolute"
2245
2245
  }
@@ -2256,7 +2256,7 @@ const c = (o) => ({
2256
2256
  gap: "8px",
2257
2257
  width: "100%",
2258
2258
  "& .M4LIcon-icon": {
2259
- backgroundColor: o.palette.text.primary,
2259
+ backgroundColor: o.vars.palette.text.primary,
2260
2260
  width: "18px",
2261
2261
  height: "18px"
2262
2262
  },
@@ -2265,8 +2265,8 @@ const c = (o) => ({
2265
2265
  flexGrow: "1",
2266
2266
  overflow: "hidden",
2267
2267
  "& .MuiTypography-root": {
2268
- ...o.typography.paragraph,
2269
- color: o.palette.text.primary,
2268
+ ...o.colorSchemes.finalTheme.typography.paragraph,
2269
+ color: o.vars.palette.text.primary,
2270
2270
  textWrap: "nowrap",
2271
2271
  textOverflow: "ellipsis",
2272
2272
  display: "block",
@@ -2275,13 +2275,13 @@ const c = (o) => ({
2275
2275
  }
2276
2276
  },
2277
2277
  "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
2278
- backgroundColor: o.palette.text.primary
2278
+ backgroundColor: o.vars.palette.text.primary
2279
2279
  }
2280
2280
  },
2281
2281
  "& .M4LSideBar-arrowIconRoot": {
2282
2282
  "& .M4LIcon-root": {
2283
2283
  "& .M4LIcon-icon": {
2284
- background: o.palette.text.primary
2284
+ background: o.vars.palette.text.primary
2285
2285
  }
2286
2286
  }
2287
2287
  }
@@ -2299,13 +2299,13 @@ const c = (o) => ({
2299
2299
  gap: "8px",
2300
2300
  padding: "0px",
2301
2301
  "&.M4LSideBar-subItemCollapseActive": {
2302
- backgroundColor: o.palette.state.active12,
2302
+ backgroundColor: o.vars.palette.state.active12,
2303
2303
  gap: "8px",
2304
2304
  "& .MuiButtonBase-root": {
2305
2305
  padding: "0px",
2306
2306
  "& .M4LIcon-root": {
2307
2307
  "& .M4LIcon-icon": {
2308
- backgroundColor: o.palette.state.focus
2308
+ backgroundColor: o.vars.palette.state.focus
2309
2309
  }
2310
2310
  }
2311
2311
  }
@@ -2315,20 +2315,20 @@ const c = (o) => ({
2315
2315
  padding: "0px",
2316
2316
  "& .M4LIcon-root": {
2317
2317
  "& .M4LIcon-icon": {
2318
- backgroundColor: `${o.palette.state.focus}!important`
2318
+ backgroundColor: `${o.vars.palette.state.focus}!important`
2319
2319
  }
2320
2320
  }
2321
2321
  },
2322
2322
  "& .M4LSideBar-navSubItemContentBullet": {
2323
2323
  height: "14px",
2324
2324
  borderRadius: "4px",
2325
- backgroundColor: o.palette.state.focus,
2325
+ backgroundColor: o.vars.palette.state.focus,
2326
2326
  gap: "8px"
2327
2327
  }
2328
2328
  },
2329
2329
  "&:hover": {
2330
2330
  padding: "0 8px",
2331
- background: o.palette.state.default
2331
+ background: o.vars.palette.state.default
2332
2332
  }
2333
2333
  },
2334
2334
  "& .M4LSideBar-navSubItemContentRoot": {
@@ -2339,14 +2339,14 @@ const c = (o) => ({
2339
2339
  minWidth: "5px",
2340
2340
  minHeight: "5px",
2341
2341
  borderRadius: "50%",
2342
- backgroundColor: o.palette.text.primary
2342
+ backgroundColor: o.vars.palette.text.primary
2343
2343
  },
2344
2344
  "& .M4LTypography-root": {
2345
2345
  display: "flex",
2346
2346
  width: "100%",
2347
2347
  "& .MuiTypography-root": {
2348
- ...o.typography.paragraph,
2349
- color: o.palette.text.primary,
2348
+ ...o.colorSchemes.finalTheme.typography.paragraph,
2349
+ color: o.vars.palette.text.primary,
2350
2350
  with: "100%",
2351
2351
  overflow: "hidden",
2352
2352
  textOverflow: "ellipsis",
@@ -2361,7 +2361,7 @@ const c = (o) => ({
2361
2361
  "&.M4LSideBar-drawer.M4LSideBar-variantComercial": {
2362
2362
  "& .M4LSideBar-subItemActive": {
2363
2363
  "& .M4LIcon-icon": {
2364
- backgroundColor: `${o.palette.state.focus}!important`
2364
+ backgroundColor: `${o.vars.palette.state.focus}!important`
2365
2365
  }
2366
2366
  },
2367
2367
  "& .M4LSideBar-contentMobile": {
@@ -2395,8 +2395,8 @@ const c = (o) => ({
2395
2395
  },
2396
2396
  "& .M4LImage-root": {
2397
2397
  position: "relative",
2398
- background: o.palette.background.default,
2399
- boxShadow: o.customShadows.z2,
2398
+ background: o.vars.palette.background.default,
2399
+ boxShadow: o.vars.customShadows?.z2,
2400
2400
  padding: "6px",
2401
2401
  borderRadius: "6px",
2402
2402
  minWidth: "50px !important",
@@ -2442,20 +2442,20 @@ const c = (o) => ({
2442
2442
  backgroundColor: "transparent",
2443
2443
  borderRadius: "4px",
2444
2444
  "&:hover": {
2445
- background: o.palette.state.default,
2445
+ background: o.vars.palette.state.default,
2446
2446
  cursor: "pointer"
2447
2447
  }
2448
2448
  },
2449
2449
  "&.M4LSideBar-itemMainActive": {
2450
2450
  borderRadius: "4px",
2451
- background: o.palette.state.active12,
2451
+ background: o.vars.palette.state.active12,
2452
2452
  border: "1px solid",
2453
- borderColor: o.palette.state.active12,
2453
+ borderColor: o.vars.palette.state.active12,
2454
2454
  "& .M4LSideBar-navItemMainRoot": {
2455
- background: o.palette.state.active12,
2455
+ background: o.vars.palette.state.active12,
2456
2456
  "&:hover": {
2457
2457
  background: t(
2458
- o.palette.state.active || "#fff",
2458
+ o.colorSchemes.finalTheme.palette.state.active || "#fff",
2459
2459
  0.24
2460
2460
  ),
2461
2461
  cursor: "pointer"
@@ -2464,21 +2464,21 @@ const c = (o) => ({
2464
2464
  "& .M4LSideBar-navItemRootContent": {
2465
2465
  "& .M4LSideBar-navItemRootContentIconTypo": {
2466
2466
  "& .M4LIcon-icon": {
2467
- backgroundColor: o.palette.state.focus
2467
+ backgroundColor: o.vars.palette.state.focus
2468
2468
  },
2469
2469
  "& .M4LTypography-root": {
2470
2470
  "& .MuiTypography-root": {
2471
- color: o.palette.state.focus
2471
+ color: o.vars.palette.state.focus
2472
2472
  }
2473
2473
  },
2474
2474
  "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
2475
- backgroundColor: o.palette.state.focus
2475
+ backgroundColor: o.vars.palette.state.focus
2476
2476
  }
2477
2477
  },
2478
2478
  "& .M4LSideBar-arrowIconRoot": {
2479
2479
  "& .M4LIcon-root": {
2480
2480
  "& .M4LIcon-icon": {
2481
- backgroundColor: o.palette.state.focus
2481
+ backgroundColor: o.vars.palette.state.focus
2482
2482
  }
2483
2483
  }
2484
2484
  },
@@ -2488,7 +2488,7 @@ const c = (o) => ({
2488
2488
  top: "0px",
2489
2489
  bottom: "0px",
2490
2490
  right: "0px",
2491
- backgroundColor: o.palette.state.focus,
2491
+ backgroundColor: o.vars.palette.state.focus,
2492
2492
  borderRadius: "4px 0px 0px 4px",
2493
2493
  position: "absolute"
2494
2494
  }
@@ -2505,7 +2505,7 @@ const c = (o) => ({
2505
2505
  gap: "8px",
2506
2506
  width: "100%",
2507
2507
  "& .M4LIcon-icon": {
2508
- backgroundColor: o.palette.text.primary,
2508
+ backgroundColor: o.vars.palette.text.primary,
2509
2509
  width: "18px",
2510
2510
  height: "18px"
2511
2511
  },
@@ -2514,8 +2514,8 @@ const c = (o) => ({
2514
2514
  flexGrow: "1",
2515
2515
  overflow: "hidden",
2516
2516
  "& .MuiTypography-root": {
2517
- ...o.typography.paragraph,
2518
- color: o.palette.text.primary,
2517
+ ...o.colorSchemes.finalTheme.typography.paragraph,
2518
+ color: o.vars.palette.text.primary,
2519
2519
  textWrap: "nowrap",
2520
2520
  textOverflow: "ellipsis",
2521
2521
  display: "block",
@@ -2523,13 +2523,13 @@ const c = (o) => ({
2523
2523
  }
2524
2524
  },
2525
2525
  "& .M4LSideBar-arrowIconRoot .M4LIcon-icon": {
2526
- backgroundColor: o.palette.text.primary
2526
+ backgroundColor: o.vars.palette.text.primary
2527
2527
  }
2528
2528
  },
2529
2529
  "& .M4LSideBar-arrowIconRoot": {
2530
2530
  "& .M4LIcon-root": {
2531
2531
  "& .M4LIcon-icon": {
2532
- background: o.palette.text.primary
2532
+ background: o.vars.palette.text.primary
2533
2533
  }
2534
2534
  }
2535
2535
  }
@@ -2547,13 +2547,13 @@ const c = (o) => ({
2547
2547
  gap: "8px",
2548
2548
  padding: "0px",
2549
2549
  "&.M4LSideBar-subItemCollapseActive": {
2550
- backgroundColor: o.palette.state.active12,
2550
+ backgroundColor: o.vars.palette.state.active12,
2551
2551
  gap: "8px",
2552
2552
  "& .MuiButtonBase-root": {
2553
2553
  padding: "0px",
2554
2554
  "& .M4LIcon-root": {
2555
2555
  "& .M4LIcon-icon": {
2556
- backgroundColor: o.palette.state.focus
2556
+ backgroundColor: o.vars.palette.state.focus
2557
2557
  }
2558
2558
  }
2559
2559
  }
@@ -2563,19 +2563,19 @@ const c = (o) => ({
2563
2563
  padding: "0px",
2564
2564
  "& .M4LIcon-root": {
2565
2565
  "& .M4LIcon-icon": {
2566
- backgroundColor: `${o.palette.state.focus}!important`
2566
+ backgroundColor: `${o.vars.palette.state.focus}!important`
2567
2567
  }
2568
2568
  }
2569
2569
  },
2570
2570
  "& .M4LSideBar-navSubItemContentBullet": {
2571
2571
  height: "14px",
2572
2572
  borderRadius: "4px",
2573
- backgroundColor: o.palette.state.focus,
2573
+ backgroundColor: o.vars.palette.state.focus,
2574
2574
  gap: "8px"
2575
2575
  }
2576
2576
  },
2577
2577
  "&:hover": {
2578
- background: o.palette.state.default,
2578
+ background: o.vars.palette.state.default,
2579
2579
  padding: "0 8px"
2580
2580
  }
2581
2581
  },
@@ -2587,14 +2587,14 @@ const c = (o) => ({
2587
2587
  minWidth: "5px",
2588
2588
  minHeight: "5px",
2589
2589
  borderRadius: "50%",
2590
- backgroundColor: o.palette.text.primary
2590
+ backgroundColor: o.vars.palette.text.primary
2591
2591
  },
2592
2592
  "& .M4LTypography-root": {
2593
2593
  display: "flex",
2594
2594
  width: "100%",
2595
2595
  "& .MuiTypography-root": {
2596
- ...o.typography.paragraph,
2597
- color: o.palette.text.primary,
2596
+ ...o.colorSchemes.finalTheme.typography.paragraph,
2597
+ color: o.colorSchemes.finalTheme.palette.text.primary,
2598
2598
  with: "100%",
2599
2599
  overflow: "hidden",
2600
2600
  textOverflow: "ellipsis",
@@ -2609,7 +2609,7 @@ const c = (o) => ({
2609
2609
  }
2610
2610
  },
2611
2611
  "& .M4LIcon-root .M4LIcon-icon": {
2612
- backgroundColor: o.palette.text.primary
2612
+ backgroundColor: o.vars.palette.text.primary
2613
2613
  }
2614
2614
  },
2615
2615
  "& .M4LSideBar-footer": {
@@ -2633,7 +2633,7 @@ const c = (o) => ({
2633
2633
  }
2634
2634
  },
2635
2635
  "& .M4LIcon-root .M4LIcon-icon": {
2636
- backgroundColor: o.palette.text.primary
2636
+ backgroundColor: o.vars.palette.text.primary
2637
2637
  }
2638
2638
  },
2639
2639
  "& .M4LSideBar-footer": {
@@ -2656,7 +2656,7 @@ const c = (o) => ({
2656
2656
  }
2657
2657
  }
2658
2658
  }
2659
- }), C = (o) => ({
2659
+ }), m = (o) => ({
2660
2660
  M4LAreasAdmin: {
2661
2661
  styleOverrides: {
2662
2662
  "&.M4LAreasAdmin-root": {
@@ -2672,7 +2672,7 @@ const c = (o) => ({
2672
2672
  gap: "8px",
2673
2673
  borderRight: "1px solid",
2674
2674
  borderLeft: "1px solid",
2675
- borderColor: o.palette.state.borderDisable,
2675
+ borderColor: o.vars.palette.state.borderDisable,
2676
2676
  [o.breakpoints.down("sm")]: {
2677
2677
  paddingRight: "0px",
2678
2678
  width: "100%",
@@ -2701,12 +2701,12 @@ const c = (o) => ({
2701
2701
  },
2702
2702
  "&.M4LAreasAdmin-isFocus": {
2703
2703
  border: "1px solid",
2704
- borderColor: o.palette.primary.main,
2704
+ borderColor: o.vars.palette.primary.main,
2705
2705
  gap: "0px"
2706
2706
  },
2707
2707
  [o.breakpoints.down("sm")]: {
2708
2708
  height: "auto",
2709
- background: o.palette.background.default,
2709
+ background: o.vars.palette.background.default,
2710
2710
  width: "100%",
2711
2711
  maxWidth: "100%",
2712
2712
  paddingRight: "0px",
@@ -2717,12 +2717,12 @@ const c = (o) => ({
2717
2717
  width: "8px",
2718
2718
  maxWidth: "12px",
2719
2719
  height: "6px",
2720
- background: o.palette.state.default,
2720
+ background: o.vars.palette.state.default,
2721
2721
  position: "absolute",
2722
2722
  zIndex: "10000"
2723
2723
  },
2724
2724
  "*::-webkit-scrollbar-thumb": {
2725
- background: o.palette.text.disabled,
2725
+ background: o.vars.palette.text.disabled,
2726
2726
  position: "absolute",
2727
2727
  borderRadius: "4px",
2728
2728
  zIndex: "10000"
@@ -2734,15 +2734,15 @@ const c = (o) => ({
2734
2734
  width: "100%",
2735
2735
  overflow: "auto",
2736
2736
  height: "36px",
2737
- borderColor: o.palette.state.hoverDefault,
2737
+ borderColor: o.vars.palette.state.hoverDefault,
2738
2738
  [o.breakpoints.down("sm")]: {
2739
2739
  background: "none",
2740
2740
  borderRight: "none",
2741
2741
  paddingLeft: "0px"
2742
2742
  },
2743
2743
  "& .M4LAreasAdmin-areaIconLayer": {
2744
- background: o.palette.background.neutral,
2745
- boxShadow: o.customShadows.z2,
2744
+ background: o.vars.palette.background.neutral,
2745
+ boxShadow: o.vars.customShadows.z2,
2746
2746
  display: "flex",
2747
2747
  justifyContent: "center",
2748
2748
  width: "36px",
@@ -2801,7 +2801,7 @@ const c = (o) => ({
2801
2801
  "& .M4LAreasAdmin-areaChipMobileRoot": {
2802
2802
  width: "100%",
2803
2803
  border: "0",
2804
- background: o.palette.background.default,
2804
+ background: o.vars.palette.background.default,
2805
2805
  "& .M4LAreasAdmin-areaChipRoot": {
2806
2806
  width: "100%",
2807
2807
  paddingLeft: "8px",
@@ -2811,7 +2811,7 @@ const c = (o) => ({
2811
2811
  overflow: "hidden",
2812
2812
  textOverflow: "ellipsis",
2813
2813
  gap: "4px",
2814
- background: o.palette.background.default,
2814
+ background: o.vars.palette.background.default,
2815
2815
  "& .M4LAreasAdmin-areaChipRoot": {
2816
2816
  width: "100%"
2817
2817
  }
@@ -2826,25 +2826,33 @@ const c = (o) => ({
2826
2826
  maxWidth: "100%",
2827
2827
  cursor: "pointer",
2828
2828
  "&:hover": {
2829
- background: o.palette.state.hoverDefault
2829
+ background: o.vars.palette.state.hoverDefault
2830
2830
  },
2831
2831
  [o.breakpoints.down("sm")]: {
2832
2832
  background: "none",
2833
2833
  border: "none",
2834
2834
  boxShadow: "none",
2835
2835
  width: "100%"
2836
+ },
2837
+ "& .M4LAreasAdmin-areaChipEditButton": {
2838
+ "& .M4LIcon-icon": {
2839
+ width: "12px",
2840
+ height: "12px",
2841
+ minWidth: "12px",
2842
+ minHeight: "12px"
2843
+ }
2836
2844
  }
2837
2845
  },
2838
2846
  "& .M4LAreasAdmin-areaChipMobileRoot": {
2839
2847
  display: "flex",
2840
2848
  overflow: "hidden",
2841
2849
  width: "100%",
2842
- backgroundColor: o.palette.state.default,
2850
+ backgroundColor: o.vars.palette.state.default,
2843
2851
  borderTop: "1.5px solid",
2844
- borderColor: o.palette.state.borderTop,
2852
+ borderColor: o.vars.palette.state.borderTop,
2845
2853
  borderRadius: "4px",
2846
2854
  [o.breakpoints.down("sm")]: {
2847
- backgroundColor: o.palette.background.default,
2855
+ backgroundColor: o.vars.palette.background.default,
2848
2856
  width: "100%"
2849
2857
  },
2850
2858
  "& .M4LAreasAdmin-areaChipRoot ": {
@@ -2869,11 +2877,11 @@ const c = (o) => ({
2869
2877
  display: "flex",
2870
2878
  width: "fit-content",
2871
2879
  borderLeft: "1px solid",
2872
- borderColor: o.palette.divider,
2880
+ borderColor: o.vars.palette.divider,
2873
2881
  borderRadius: "0px 0px 0px 0px",
2874
- boxShadow: o.customShadows.z2,
2875
- ...o.typography.body,
2876
- color: o.palette.text.primary,
2882
+ boxShadow: o.vars.customShadows.z2,
2883
+ ...o.colorSchemes.finalTheme.typography.body,
2884
+ color: o.vars.palette.text.primary,
2877
2885
  [o.breakpoints.down("sm")]: {
2878
2886
  boxShadow: "none"
2879
2887
  },
@@ -2881,7 +2889,7 @@ const c = (o) => ({
2881
2889
  background: "transparent",
2882
2890
  backgroundColor: "transparent",
2883
2891
  "&:hover": {
2884
- background: o.palette.state.active12
2892
+ background: o.vars.palette.state.active12
2885
2893
  },
2886
2894
  "& .M4LIcon-icon": {}
2887
2895
  }
@@ -2893,7 +2901,7 @@ const c = (o) => ({
2893
2901
  },
2894
2902
  "& .M4LAreasAdmin-areaChipRoot": {
2895
2903
  display: "flex",
2896
- background: o.palette.state.default,
2904
+ background: o.vars.palette.state.default,
2897
2905
  borderRadius: "4px 4px 4px 4px",
2898
2906
  minHeight: "24px",
2899
2907
  width: "fit-content",
@@ -2907,18 +2915,19 @@ const c = (o) => ({
2907
2915
  boxShadow: "none"
2908
2916
  },
2909
2917
  "&.M4LAreasAdmin-selected": {
2910
- background: o.palette.state.active,
2911
- ...o.typography.body,
2912
- color: o.palette.text.primary,
2918
+ background: o.vars.palette.state.active,
2919
+ ...o.colorSchemes.finalTheme.typography.body,
2920
+ color: o.vars.palette.text.primary,
2913
2921
  height: "22px",
2922
+ transition: "all 0.5s ease",
2914
2923
  "&:hover": {
2915
- background: o.palette.state.hover
2924
+ background: o.vars.palette.state.hover
2916
2925
  },
2917
2926
  [o.breakpoints.down("sm")]: {
2918
2927
  height: "auto",
2919
2928
  background: "none",
2920
2929
  "&:hover": {
2921
- background: o.palette.state.hoverDefault
2930
+ background: o.vars.palette.state.hoverDefault
2922
2931
  }
2923
2932
  },
2924
2933
  "& .M4LAreasAdmin-areaChipTitle": {
@@ -2930,8 +2939,8 @@ const c = (o) => ({
2930
2939
  justifyContent: "center",
2931
2940
  display: "flex",
2932
2941
  alignItems: "center",
2933
- color: o.palette.patronus?.marbleLight[10],
2934
- ...o.typography.action,
2942
+ color: o.vars.palette.patronus?.marbleLight[10],
2943
+ ...o.colorSchemes.finalTheme.typography.body,
2935
2944
  [o.breakpoints.down("sm")]: {
2936
2945
  display: "inline",
2937
2946
  fontSize: "14px",
@@ -2939,20 +2948,20 @@ const c = (o) => ({
2939
2948
  overflow: "hidden",
2940
2949
  whiteSpace: "nowrap",
2941
2950
  flex: "1",
2942
- color: o.palette.text.primary
2951
+ color: o.vars.palette.text.primary
2943
2952
  }
2944
2953
  },
2945
2954
  "& .M4LIconButton-root": {
2946
2955
  "&:hover": {
2947
- background: o.palette.state.active
2956
+ background: o.vars.palette.state.active
2948
2957
  },
2949
2958
  [o.breakpoints.down("sm")]: {
2950
- color: o.palette.text.primary
2959
+ color: o.vars.palette.text.primary
2951
2960
  },
2952
2961
  "& .M4LIcon-icon": {
2953
- backgroundColor: `${o.palette.patronus?.marbleLight[10]}`,
2962
+ backgroundColor: `${o.vars.palette.patronus?.marbleLight[10]}`,
2954
2963
  [o.breakpoints.down("sm")]: {
2955
- color: o.palette.text.primary
2964
+ color: o.vars.palette.text.primary
2956
2965
  }
2957
2966
  }
2958
2967
  }
@@ -2966,8 +2975,8 @@ const c = (o) => ({
2966
2975
  justifyContent: "center",
2967
2976
  display: "flex",
2968
2977
  alignItems: "center",
2969
- color: o.palette.text.secondary,
2970
- ...o.typography.action
2978
+ color: o.vars.palette.text.secondary,
2979
+ ...o.colorSchemes.finalTheme.typography.body
2971
2980
  },
2972
2981
  "& .M4LAreasAdmin-areaContainerChipEditButton": {
2973
2982
  display: "flex",
@@ -2979,12 +2988,12 @@ const c = (o) => ({
2979
2988
  width: "20px",
2980
2989
  height: "20px",
2981
2990
  [o.breakpoints.down("sm")]: {
2982
- color: o.palette.text.primary
2991
+ color: o.vars.palette.text.primary
2983
2992
  },
2984
2993
  "&.M4LIconButton-variantPrimary": {
2985
- background: o.palette.state.active,
2994
+ background: o.vars.palette.state.active,
2986
2995
  [o.breakpoints.down("sm")]: {
2987
- color: o.palette.text.primary
2996
+ color: o.vars.palette.text.primary
2988
2997
  }
2989
2998
  }
2990
2999
  }
@@ -2997,17 +3006,17 @@ const c = (o) => ({
2997
3006
  width: "100%",
2998
3007
  height: "28px",
2999
3008
  borderLeft: "1px solid",
3000
- borderColor: o.palette.state.borderSecondary,
3009
+ borderColor: o.vars.palette.state.borderSecondary,
3001
3010
  borderRadius: "0px"
3002
3011
  }
3003
3012
  },
3004
3013
  "& .M4LAreasAdmin-areasAddButton": {
3005
3014
  flexGrow: "2",
3006
- background: o.palette.state.default
3015
+ background: o.vars.palette.state.default
3007
3016
  },
3008
3017
  "&.M4LAreasAdmin-isMobile": {
3009
3018
  overflow: "hidden",
3010
- boxShadow: o.customShadows.z1,
3019
+ boxShadow: o.vars.customShadows.z1,
3011
3020
  width: "100%",
3012
3021
  "& .M4LAreasAdmin-areaContainerChips": {
3013
3022
  width: "100%",
@@ -3088,12 +3097,12 @@ const c = (o) => ({
3088
3097
  }
3089
3098
  }
3090
3099
  }
3091
- }), m = (o) => ({
3100
+ }), C = (o) => ({
3092
3101
  M4LAreasViewer: {
3093
3102
  styleOverrides: {
3094
3103
  "&.M4LAreasViewer-root": {
3095
3104
  test: "root",
3096
- background: o.palette.background.background,
3105
+ background: o.vars.palette.background.background,
3097
3106
  "& .M4LGridLayout-gridItemRoot.M4LGridLayout-colapsed-40 .M4LAreasViewer-windowHeader": {
3098
3107
  minHeight: "38px",
3099
3108
  height: "38px"
@@ -3131,9 +3140,9 @@ const c = (o) => ({
3131
3140
  }
3132
3141
  },
3133
3142
  "& .M4LAreasViewer-windowRoot": {
3134
- background: o.palette.background.neutral,
3143
+ background: o.vars.palette.background.neutral,
3135
3144
  border: "1.5px solid",
3136
- borderColor: o.palette.state.borderPrimary,
3145
+ borderColor: o.vars.palette.state.borderPrimary,
3137
3146
  borderRadius: "4px",
3138
3147
  display: "flex",
3139
3148
  "&:not(.M4LAreasViewer-loading)": {
@@ -3146,7 +3155,7 @@ const c = (o) => ({
3146
3155
  },
3147
3156
  "&.react-colapsed": {
3148
3157
  border: "1px solid",
3149
- borderColor: o.palette.state.borderPrimary
3158
+ borderColor: o.vars.palette.state.borderPrimary
3150
3159
  },
3151
3160
  "& .M4LAreasViewer-windowRootContainer": {
3152
3161
  display: "flex",
@@ -3159,7 +3168,7 @@ const c = (o) => ({
3159
3168
  display: "flex",
3160
3169
  flexDirection: "column",
3161
3170
  padding: "6px 4px 6px 8px",
3162
- boxShadow: o.customShadows.z1,
3171
+ boxShadow: o.vars.customShadows.z1,
3163
3172
  "& .M4LAreasViewer-windowHeaderContent": {
3164
3173
  display: "flex",
3165
3174
  width: "100%",
@@ -3167,7 +3176,7 @@ const c = (o) => ({
3167
3176
  alignItems: "center",
3168
3177
  "& .M4LIcon-root": {
3169
3178
  "& .M4LIcon-icon": {
3170
- background: o.palette.text.secondary
3179
+ background: o.vars.palette.text.secondary
3171
3180
  }
3172
3181
  },
3173
3182
  "& .M4LAreasViewer-windowHeaderTitle": {
@@ -3182,22 +3191,23 @@ const c = (o) => ({
3182
3191
  overflow: "hidden",
3183
3192
  textOverflow: "ellipsis",
3184
3193
  width: "100%",
3185
- color: o.palette.text.secondary
3194
+ fontSize: "16px",
3195
+ color: o.vars.palette.text.secondary
3186
3196
  }
3187
3197
  },
3188
3198
  "& .M4LAreasViewer-windowHeaderCancelHandle": {
3189
3199
  "& .M4LIconButton-icon": {
3190
3200
  "& .MuiButtonBase-root": {
3191
3201
  "& .M4LIcon-icon": {
3192
- background: o.palette.text.secondary
3202
+ background: o.vars.palette.text.secondary
3193
3203
  }
3194
3204
  }
3195
3205
  }
3196
3206
  }
3197
3207
  },
3198
3208
  "& .M4LTypography-root .MuiTypography-root": {
3199
- ...o.typography.paragraphDens,
3200
- color: o.palette.text.primary,
3209
+ ...o.colorSchemes.finalTheme.typography.paragraphDens,
3210
+ color: o.vars.palette.text.primary,
3201
3211
  overflow: "visible"
3202
3212
  }
3203
3213
  },
@@ -3211,8 +3221,8 @@ const c = (o) => ({
3211
3221
  maxHeight: "fit-content",
3212
3222
  zIndex: "1000",
3213
3223
  gap: "2px",
3214
- background: o.palette.background.default,
3215
- boxShadow: o.customShadows.z3,
3224
+ background: o.vars.palette.background.default,
3225
+ boxShadow: o.customShadows?.z2,
3216
3226
  "& .M4LAreasViewer-windowToastiesContainerTostys": {
3217
3227
  boxSizing: "border-box",
3218
3228
  overflow: "auto",
@@ -3221,11 +3231,11 @@ const c = (o) => ({
3221
3231
  width: "100%",
3222
3232
  maxHeight: "128px",
3223
3233
  "& .M4LAreasViewer-windowToastyContainer": {
3224
- background: o.palette.patronus?.middleYellow[10],
3234
+ background: o.vars.palette.patronus?.middleYellow[10],
3225
3235
  borderRadius: "4px",
3226
3236
  padding: "0px 0px 0px 0px",
3227
3237
  width: "100%",
3228
- boxShadow: o.customShadows.z2,
3238
+ boxShadow: o.customShadows?.z2,
3229
3239
  gap: "4px",
3230
3240
  position: "relative",
3231
3241
  "& .M4LAreasViewer-windowToastyButtonsContainer": {
@@ -3239,85 +3249,85 @@ const c = (o) => ({
3239
3249
  display: "flex",
3240
3250
  alignItems: "center",
3241
3251
  padding: "8px",
3242
- ...o.typography.body,
3243
- color: o.palette.patronus?.onyx[60],
3252
+ ...o.colorSchemes.finalTheme.typography.body,
3253
+ color: o.vars.palette.patronus?.onyx[60],
3244
3254
  position: "relative",
3245
3255
  "& .MuiLinearProgress-root": {
3246
3256
  position: "absolute",
3247
3257
  width: "100%",
3248
3258
  top: "0px",
3249
3259
  left: "0px",
3250
- background: o.palette.state.active12,
3260
+ background: o.vars.palette.state.active12,
3251
3261
  "& .MuiLinearProgress-bar1Determinate .MuiLinearProgress-barColorPrimary": {
3252
3262
  transform: "translateX(100%)"
3253
3263
  }
3254
3264
  }
3255
3265
  },
3256
3266
  "&.M4LAreasViewer-error": {
3257
- background: o.palette.patronus?.desertBeige[10],
3267
+ background: o.vars.palette.patronus?.desertBeige[10],
3258
3268
  "& .M4LAreasViewer-windowToastyButtonsContainer": {
3259
- background: o.palette.error.main,
3269
+ background: o.vars.palette.error.main,
3260
3270
  "& .M4LIcon-icon": {
3261
- backgroundColor: o.palette.patronus?.marbleLight[40]
3271
+ backgroundColor: o.vars.palette.patronus?.marbleLight[40]
3262
3272
  },
3263
3273
  "& .M4LAreasViewer-pinIn": {
3264
- background: o.palette.state.error.hover,
3265
- boxShadow: o.customShadows.z1,
3274
+ background: o.vars.palette.state.error.hover,
3275
+ boxShadow: o.vars.customShadows.z1,
3266
3276
  border: "none"
3267
3277
  },
3268
3278
  "& .M4LIconButton-root:hover": {
3269
- background: o.palette.state.error.hover
3279
+ background: o.vars.palette.state.error.hover
3270
3280
  }
3271
3281
  }
3272
3282
  },
3273
3283
  "&.M4LAreasViewer-info": {
3274
- background: o.palette.patronus?.crayonBlue[10],
3284
+ background: o.vars.palette.patronus?.crayonBlue[10],
3275
3285
  "& .M4LAreasViewer-windowToastyButtonsContainer": {
3276
- background: o.palette.info.main,
3286
+ background: o.vars.palette.info.main,
3277
3287
  "& .M4LIcon-icon": {
3278
- backgroundColor: o.palette.patronus?.marbleLight[40]
3288
+ backgroundColor: o.vars.palette.patronus?.marbleLight[40]
3279
3289
  },
3280
3290
  "& .M4LAreasViewer-pinIn": {
3281
- background: o.palette.state.info.hover,
3282
- boxShadow: o.customShadows.z1,
3291
+ background: o.vars.palette.state.info.hover,
3292
+ boxShadow: o.vars.customShadows.z1,
3283
3293
  border: "none"
3284
3294
  },
3285
3295
  "& .M4LIconButton-root:hover": {
3286
- background: o.palette.state.info.hover
3296
+ background: o.vars.palette.state.info.hover
3287
3297
  }
3288
3298
  }
3289
3299
  },
3290
3300
  "&.M4LAreasViewer-warning": {
3291
- background: o.palette.patronus?.middleYellow[10],
3301
+ background: o.vars.palette.patronus?.middleYellow[10],
3292
3302
  "& .M4LAreasViewer-windowToastyButtonsContainer": {
3293
- background: o.palette.warning.main,
3303
+ background: o.vars.palette.warning.main,
3294
3304
  "& .M4LIcon-icon": {
3295
- backgroundColor: o.palette.patronus?.onyx[50]
3305
+ backgroundColor: o.vars.palette.patronus?.onyx[50]
3296
3306
  },
3297
3307
  "& .M4LAreasViewer-pinIn": {
3298
- background: o.palette.state.warning.hover,
3299
- boxShadow: o.customShadows.z1,
3308
+ background: o.vars.palette.state.warning.hover,
3309
+ boxShadow: o.vars.customShadows.z1,
3300
3310
  border: "none"
3301
3311
  },
3302
3312
  "& .M4LIconButton-root:hover": {
3303
- background: o.palette.state.warning.hover
3313
+ background: o.vars.palette.state.warning.hover
3304
3314
  }
3305
3315
  }
3306
3316
  },
3307
3317
  "&.M4LAreasViewer-success ": {
3308
- background: o.palette.patronus?.acidGreen[10],
3318
+ background: o.vars.palette.patronus?.acidGreen[10],
3309
3319
  "& .M4LAreasViewer-windowToastyButtonsContainer": {
3310
- background: o.palette.success.main,
3320
+ background: o.vars.palette.success.main,
3311
3321
  "& .M4LIcon-icon": {
3312
- backgroundColor: o.palette.patronus?.onyx[50]
3322
+ backgroundColor: o.vars.palette.patronus?.onyx[50]
3313
3323
  },
3314
3324
  "& .M4LAreasViewer-pinIn": {
3315
- background: o.palette.state.success.hover,
3316
- boxShadow: o.customShadows.z1,
3325
+ background: o.vars.palette.state.success.hover,
3326
+ boxShadow: o.vars.customShadows.z1,
3317
3327
  border: "none"
3318
3328
  },
3319
3329
  "& .M4LIconButton-root:hover": {
3320
- background: o.palette.state.success.hover
3330
+ background: o.vars.palette.state.success.hover
3321
3331
  }
3322
3332
  }
3323
3333
  }
@@ -3326,7 +3336,7 @@ const c = (o) => ({
3326
3336
  },
3327
3337
  "& .M4LAreasViewer-windowContent": {
3328
3338
  padding: "16px",
3329
- background: o.palette.background.default,
3339
+ background: o.vars.palette.background.default,
3330
3340
  display: "flex",
3331
3341
  flexDirection: "column",
3332
3342
  alignItems: "center",
@@ -3360,20 +3370,20 @@ const c = (o) => ({
3360
3370
  alignItems: "center",
3361
3371
  padding: "0 16px",
3362
3372
  "& .MuiLinearProgress-root": {
3363
- background: e(o.palette.state.active, 0.3)
3373
+ background: r(o.colorSchemes.finalTheme.palette.state.active, 0.3)
3364
3374
  }
3365
3375
  }
3366
3376
  },
3367
3377
  "&.M4LAreasViewer-selectedWindow": {
3368
3378
  border: "1.5px solid",
3369
- borderColor: o.palette.state.lineTheme,
3370
- boxShadow: o.customShadows.z3,
3379
+ borderColor: o.vars.palette.state.lineTheme,
3380
+ boxShadow: o.customShadows?.z2,
3371
3381
  backdropFilter: "blur(100px)",
3372
- background: o.palette.background.default,
3382
+ background: o.vars.palette.background.default,
3373
3383
  "& .M4LAreasViewer-windowHeader": {
3374
3384
  display: "flex",
3375
3385
  flexDirection: "column",
3376
- background: o.palette.state.active12,
3386
+ background: o.vars.palette.state.active12,
3377
3387
  gap: "4px",
3378
3388
  alignItems: "center",
3379
3389
  position: "relative",
@@ -3384,34 +3394,34 @@ const c = (o) => ({
3384
3394
  "& .M4LAreasViewer-windowHeaderContent": {
3385
3395
  "& .M4LIcon-root": {
3386
3396
  "& .M4LIcon-icon": {
3387
- background: o.palette.state.focus
3397
+ background: o.vars.palette.state.focus
3388
3398
  }
3389
3399
  },
3390
3400
  "& .M4LAreasViewer-windowHeaderCancelHandle": {
3391
3401
  "& .M4LIcon-root": {
3392
3402
  "& .M4LIcon-icon": {
3393
- background: o.palette.text.primary
3403
+ background: o.vars.palette.text.primary
3394
3404
  }
3395
3405
  }
3396
3406
  }
3397
3407
  },
3398
3408
  "& .M4LTypography-root .MuiTypography-root": {
3399
- ...o.typography.paragraphDens,
3400
- color: o.palette.state.focus
3409
+ ...o.colorSchemes.finalTheme.typography.paragraphDens,
3410
+ color: o.vars.palette.state.focus
3401
3411
  },
3402
3412
  "& .MuiButtonBase-root": {
3403
3413
  "& .M4LIcon-icon": {
3404
- backgroundColor: o.palette.text.primary
3414
+ backgroundColor: o.vars.palette.text.primary
3405
3415
  }
3406
3416
  },
3407
3417
  "& .Mui-disabled": {
3408
3418
  "& .M4LIcon-icon": {
3409
- backgroundColor: o.palette.text.disabled
3419
+ backgroundColor: o.vars.palette.text.disabled
3410
3420
  }
3411
3421
  },
3412
3422
  "& .MuiButtonBase-root:hover": {
3413
3423
  "& .M4LIcon-icon": {
3414
- backgroundColor: o.palette.state.hover
3424
+ backgroundColor: o.vars.palette.state.hover
3415
3425
  }
3416
3426
  }
3417
3427
  }
@@ -3419,7 +3429,7 @@ const c = (o) => ({
3419
3429
  },
3420
3430
  "&.M4LGridLayout-root .M4LGridLayout-maximizeMe": {
3421
3431
  border: "1.5px solid",
3422
- borderColor: o.palette.state.borderPrimary,
3432
+ borderColor: o.vars.palette.state.borderPrimary,
3423
3433
  borderRadius: "4px",
3424
3434
  "& .M4LAreasViewer-windowContent": {
3425
3435
  padding: "16px"
@@ -3433,41 +3443,41 @@ const c = (o) => ({
3433
3443
  },
3434
3444
  "&.M4LGridLayout-colapsed ": {
3435
3445
  "& .M4LAreasViewer-windowRoot": {
3436
- borderColor: o.palette.state.hoverDefault,
3437
- boxShadow: o.customShadows.z1
3446
+ borderColor: o.vars.palette.state.hoverDefault,
3447
+ boxShadow: o.vars.customShadows.z1
3438
3448
  }
3439
3449
  },
3440
3450
  "&.react-draggable": {
3441
- background: o.palette.state.active12
3451
+ background: o.vars.palette.state.active12
3442
3452
  },
3443
3453
  "& .M4LAreasViewer-windowPopupRoot": {
3444
- boxShadow: o.customShadows.z3,
3454
+ boxShadow: o.customShadows?.z2,
3445
3455
  border: "none",
3446
- background: o.palette.background.default,
3456
+ background: o.vars.palette.background.default,
3447
3457
  borderRadius: "4px",
3448
3458
  backdropFilter: "blur(8px)",
3449
3459
  "& .M4LIcon-root.custom-handle": {
3450
3460
  "& .M4LIcon-icon": {
3451
- backgroundColor: o.palette.state.skeleton.default,
3461
+ backgroundColor: o.vars.palette.state.skeleton.default,
3452
3462
  width: "11px",
3453
3463
  height: "11px",
3454
3464
  minWidth: "11px",
3455
3465
  minHeight: "11px",
3456
- boxShadow: o.customShadows.z1,
3466
+ boxShadow: o.vars.customShadows.z1,
3457
3467
  border: "1px solid",
3458
- borderColor: o.palette.opacity.cool[24]
3468
+ borderColor: o.vars.palette.opacity.cool[24]
3459
3469
  }
3460
3470
  },
3461
3471
  "& .M4LAreasViewer-windowRootContainer": {
3462
- background: o.palette.background.default,
3472
+ background: o.vars.palette.background.default,
3463
3473
  borderRadius: "4px",
3464
3474
  border: "1.5px solid",
3465
- borderColor: o.palette.state.borderPrimary,
3475
+ borderColor: o.vars.palette.state.borderPrimary,
3466
3476
  "& .M4LAreasViewer-windowHeader": {
3467
3477
  boxShadow: "none",
3468
3478
  borderTopLeftRadius: "4px",
3469
3479
  borderTopRightRadius: "4px",
3470
- background: o.palette.background.header,
3480
+ background: o.vars.palette.background.header,
3471
3481
  border: "none",
3472
3482
  "& .M4LIcon-root": {
3473
3483
  "& .M4LIcon-icon": {
@@ -3475,25 +3485,25 @@ const c = (o) => ({
3475
3485
  height: "18px",
3476
3486
  minWidth: "18px",
3477
3487
  minHeight: "18px",
3478
- backgroundColor: o.palette.text.secondary
3488
+ backgroundColor: o.vars.palette.text.secondary
3479
3489
  }
3480
3490
  },
3481
3491
  "& .M4LTypography-root .MuiTypography-root": {
3482
- ...o.typography.paragraphDens,
3483
- color: o.palette.text.secondary,
3492
+ ...o.colorSchemes.finalTheme.typography.paragraphDens,
3493
+ color: o.vars.palette.text.secondary,
3484
3494
  overflow: "visible"
3485
3495
  }
3486
3496
  },
3487
3497
  "& .M4LAreasViewer-windowContent": {
3488
- background: o.palette.background.neutral,
3498
+ background: o.vars.palette.background.neutral,
3489
3499
  padding: "12px"
3490
3500
  }
3491
3501
  },
3492
3502
  "& .M4LAreasViewer-windowRoot": {
3493
3503
  padding: "4px",
3494
- background: o.palette.background.default,
3504
+ background: o.vars.palette.background.default,
3495
3505
  borderRadius: "4px",
3496
- borderColor: o.palette.state.hoverDefault,
3506
+ borderColor: o.vars.palette.state.hoverDefault,
3497
3507
  "&:not(.M4LAreasViewer-loading)": {
3498
3508
  "& .M4LinearProgressIndeterminate-root": {
3499
3509
  opacity: 0
@@ -3503,23 +3513,23 @@ const c = (o) => ({
3503
3513
  backgroundColor: "transparent"
3504
3514
  },
3505
3515
  "&.M4LAreasViewer-selectedWindow": {
3506
- borderColor: o.palette.state.active12,
3507
- background: o.palette.state.active12,
3508
- boxShadow: o.customShadows.z4,
3516
+ borderColor: o.vars.palette.state.active12,
3517
+ background: o.vars.palette.state.active12,
3518
+ boxShadow: o.vars.customShadows.z4,
3509
3519
  padding: "4px",
3510
3520
  "& .M4LAreasViewer-windowRootContainer": {
3511
3521
  "& .M4LAreasViewer-windowHeader": {
3512
- background: o.palette.state.default,
3522
+ background: o.vars.palette.state.default,
3513
3523
  borderRadius: "4px",
3514
- boxShadow: o.customShadows.z1,
3524
+ boxShadow: o.vars.customShadows.z1,
3515
3525
  "& .M4LIcon-root": {
3516
3526
  "& .M4LIcon-icon": {
3517
- backgroundColor: o.palette.text.primary
3527
+ backgroundColor: o.vars.palette.text.primary
3518
3528
  }
3519
3529
  },
3520
3530
  "& .M4LTypography-root .MuiTypography-root": {
3521
- ...o.typography.paragraph,
3522
- color: o.palette.text.primary,
3531
+ ...o.colorSchemes.finalTheme.typography.paragraph,
3532
+ color: o.vars.palette.text.primary,
3523
3533
  overflow: "visible"
3524
3534
  }
3525
3535
  }
@@ -3528,27 +3538,27 @@ const c = (o) => ({
3528
3538
  },
3529
3539
  "&.M4LAreasViewer-selectedWindow": {
3530
3540
  border: "none",
3531
- background: o.palette.state.active12,
3532
- boxShadow: o.customShadows.z4,
3541
+ background: o.vars.palette.state.active12,
3542
+ boxShadow: o.vars.customShadows.z4,
3533
3543
  [o.breakpoints.down("sm")]: {
3534
3544
  padding: "0"
3535
3545
  },
3536
3546
  "& .M4LAreasViewer-windowRootContainer": {
3537
- boxShadow: o.customShadows.z2,
3547
+ boxShadow: o.customShadows?.z2,
3538
3548
  border: "1.5px solid",
3539
- borderColor: e(o.palette.state.active, 0.5),
3549
+ borderColor: r(o.colorSchemes.finalTheme.palette.state.active, 0.5),
3540
3550
  "& .M4LAreasViewer-windowHeader": {
3541
- background: o.palette.state.active12,
3551
+ background: o.vars.palette.state.active12,
3542
3552
  borderTopLeftRadius: "4px",
3543
3553
  borderTopRightRadius: "4px",
3544
3554
  "& .M4LIcon-root": {
3545
3555
  "& .M4LIcon-icon": {
3546
- backgroundColor: o.palette.text.primary
3556
+ backgroundColor: o.vars.palette.text.primary
3547
3557
  }
3548
3558
  },
3549
3559
  "& .M4LTypography-root .MuiTypography-root": {
3550
- ...o.typography.paragraphDens,
3551
- color: o.palette.text.primary,
3560
+ ...o.colorSchemes.finalTheme.typography.paragraphDens,
3561
+ color: o.vars.palette.text.primary,
3552
3562
  overflow: "visible"
3553
3563
  }
3554
3564
  }
@@ -3557,22 +3567,22 @@ const c = (o) => ({
3557
3567
  }
3558
3568
  },
3559
3569
  "& .M4LAreasViewer-panelWindowsRoot": {
3560
- background: o.palette.background.neutral,
3570
+ background: o.vars.palette.background.neutral,
3561
3571
  display: "flex",
3562
3572
  alignItems: "center",
3563
3573
  padding: "8px",
3564
3574
  gap: "8px",
3565
3575
  borderLeft: "1.5px solid",
3566
- borderColor: o.palette.state.borderPrimary,
3576
+ borderColor: o.vars.palette.state.borderPrimary,
3567
3577
  "& .M4LAreasViewer-panelWindowsButtonContainer": {
3568
3578
  borderRadius: "2px",
3569
- boxShadow: o.customShadows.z1,
3579
+ boxShadow: o.vars.customShadows.z1,
3570
3580
  "&.M4LAreasViewer-selected": {
3571
- background: o.palette.state.active,
3581
+ background: o.vars.palette.state.active,
3572
3582
  "& .M4LIconButton-root": {
3573
3583
  "& .M4LIcon-root": {
3574
3584
  "& .M4LIcon-icon": {
3575
- backgroundColor: o.palette.primary.contrastText
3585
+ backgroundColor: o.vars.palette.primary.contrastText
3576
3586
  }
3577
3587
  }
3578
3588
  }
@@ -3586,13 +3596,13 @@ const c = (o) => ({
3586
3596
  styleOverrides: {
3587
3597
  "&.M4LAreasViewer-windowModalRoot .M4LAreasViewer-windowRoot": {
3588
3598
  borderRadius: "4px",
3589
- boxShadow: o.customShadows.z4,
3590
- background: o.palette.background.default,
3599
+ boxShadow: o.vars.customShadows.z4,
3600
+ background: o.vars.palette.background.default,
3591
3601
  border: "2px solid",
3592
- borderColor: o.palette.state.borderDens,
3602
+ borderColor: o.vars.palette.state.borderDens,
3593
3603
  "& .M4LAreasViewer-windowContent": {
3594
3604
  borderRadius: "4px",
3595
- background: o.palette.background.default
3605
+ background: o.vars.palette.background.default
3596
3606
  },
3597
3607
  "& .M4LAreasViewer-windowHeaderTitle": {
3598
3608
  display: "flex",
@@ -3605,7 +3615,8 @@ const c = (o) => ({
3605
3615
  whiteSpace: "nowrap",
3606
3616
  overflow: "hidden",
3607
3617
  textOverflow: "ellipsis",
3608
- width: "100%"
3618
+ width: "100%",
3619
+ fontSize: "16px"
3609
3620
  }
3610
3621
  },
3611
3622
  "& .M4LAreasViewer-areasLoadingErrorRoot": {
@@ -3634,28 +3645,28 @@ const c = (o) => ({
3634
3645
  " .M4LIcon-icon": {
3635
3646
  width: "100px",
3636
3647
  height: "100px",
3637
- backgroundColor: o.palette.state.skeleton.default
3648
+ backgroundColor: o.vars.palette.state.skeleton.default
3638
3649
  }
3639
3650
  },
3640
3651
  "& .M4LAreasViewer-areasLoadingErrorTitle": {
3641
- ...o.typography.h3,
3642
- color: o.palette.text.primary,
3652
+ ...o.colorSchemes.finalTheme.typography.h3,
3653
+ color: o.vars.palette.text.primary,
3643
3654
  [o.breakpoints.down("sm")]: {
3644
- ...o.typography.h5
3655
+ ...o.colorSchemes.finalTheme.typography.h5
3645
3656
  }
3646
3657
  },
3647
3658
  "& .M4LAreasViewer-areasLoadingErrorDescription": {
3648
- ...o.typography.subtitle,
3649
- color: o.palette.text.secondary
3659
+ ...o.colorSchemes.finalTheme.typography.subtitle,
3660
+ color: o.vars.palette.text.secondary
3650
3661
  },
3651
3662
  "& .M4LAreasViewer-areasLoadingErrorDivider": {
3652
3663
  width: "208px",
3653
3664
  height: "1px",
3654
- background: o.palette.state.skeleton.default
3665
+ background: o.vars.palette.state.skeleton.default
3655
3666
  },
3656
3667
  "& .MuiTypography-paragraph": {
3657
- ...o.typography.body,
3658
- color: o.palette.text.primary
3668
+ ...o.colorSchemes.finalTheme.typography.body,
3669
+ color: o.vars.palette.text.primary
3659
3670
  },
3660
3671
  "& .MuiButtonBase-root": {
3661
3672
  marginTop: "4px"
@@ -3663,7 +3674,7 @@ const c = (o) => ({
3663
3674
  }
3664
3675
  },
3665
3676
  "& .MuiBackdrop-root": {
3666
- background: e(`${o.palette.patronus?.onyx[60]}`, 0.8)
3677
+ background: r(`${o.colorSchemes.finalTheme.palette.patronus?.onyx[60]}`, 0.8)
3667
3678
  },
3668
3679
  "&:not(.M4LAreasViewer-loading)": {
3669
3680
  "& .M4LinearProgressIndeterminate-root": {
@@ -3677,9 +3688,9 @@ const c = (o) => ({
3677
3688
  display: "flex",
3678
3689
  flexDirection: "column",
3679
3690
  height: "100%",
3680
- background: o.palette.background.default,
3691
+ background: o.vars.palette.background.default,
3681
3692
  borderRadius: "4px",
3682
- boxShadow: o.customShadows.z4,
3693
+ boxShadow: o.vars.customShadows.z4,
3683
3694
  overflow: "hidden",
3684
3695
  "& .M4LAreasViewer-windowHeader": {
3685
3696
  cursor: "all-scroll",
@@ -3688,7 +3699,7 @@ const c = (o) => ({
3688
3699
  padding: "6px 4px 6px 8px",
3689
3700
  borderRadius: "4px",
3690
3701
  border: "none",
3691
- background: o.palette.state.active12,
3702
+ background: o.vars.palette.state.active12,
3692
3703
  height: "28px",
3693
3704
  minHeight: "28px",
3694
3705
  [o.breakpoints.down("md")]: {
@@ -3696,8 +3707,8 @@ const c = (o) => ({
3696
3707
  minHeight: "36px"
3697
3708
  },
3698
3709
  "& .M4LTypography-root .MuiTypography-root": {
3699
- ...o.typography.paragraph,
3700
- color: o.palette.text.primary,
3710
+ ...o.colorSchemes.finalTheme.typography.paragraph,
3711
+ color: o.vars.palette.text.primary,
3701
3712
  overflow: "hidden"
3702
3713
  },
3703
3714
  "& .M4LAreasViewer-windowHeaderContent": {
@@ -3708,7 +3719,7 @@ const c = (o) => ({
3708
3719
  },
3709
3720
  "& .M4LAreasViewer-windowContent": {
3710
3721
  padding: "12px",
3711
- background: o.palette.background.default,
3722
+ background: o.vars.palette.background.default,
3712
3723
  borderRadius: "4px",
3713
3724
  display: "flex",
3714
3725
  flexDirection: "column",
@@ -3737,19 +3748,19 @@ const c = (o) => ({
3737
3748
  },
3738
3749
  "& .M4LIcon-root.custom-handle": {
3739
3750
  "& .M4LIcon-icon": {
3740
- backgroundColor: o.palette.state.skeleton.default,
3751
+ backgroundColor: o.vars.palette.state.skeleton.default,
3741
3752
  width: "11px",
3742
3753
  height: "11px",
3743
3754
  minWidth: "11px",
3744
3755
  minHeight: "11px",
3745
- boxShadow: o.customShadows.z2,
3756
+ boxShadow: o.customShadows?.z2,
3746
3757
  border: "1px solid",
3747
- borderColor: o.palette.state.hoverDefault
3758
+ borderColor: o.vars.palette.state.hoverDefault
3748
3759
  }
3749
3760
  }
3750
3761
  }
3751
3762
  }
3752
- }), k = (o) => ({
3763
+ }), S = (o) => ({
3753
3764
  M4LAppBar: {
3754
3765
  styleOverrides: {
3755
3766
  "&.M4LAppBar-root": {
@@ -3761,9 +3772,9 @@ const c = (o) => ({
3761
3772
  height: "52px",
3762
3773
  alignItems: "center",
3763
3774
  padding: "8px 16px",
3764
- background: o.palette.background.default,
3775
+ background: o.vars.palette.background.default,
3765
3776
  borderBottom: "1.5px solid",
3766
- borderColor: o.palette.state.borderPrimary,
3777
+ borderColor: o.vars.palette.state.borderPrimary,
3767
3778
  justifyContent: "space-between",
3768
3779
  gap: "40px",
3769
3780
  [o.breakpoints.down("sm")]: {
@@ -3799,16 +3810,16 @@ const c = (o) => ({
3799
3810
  minHeight: "36px",
3800
3811
  alignItems: "center",
3801
3812
  borderRadius: "4px",
3802
- borderColor: o.palette.state.default,
3813
+ borderColor: o.vars.palette.state.default,
3803
3814
  justifyContent: "space-between",
3804
3815
  "& .M4LAppBar-iconMenuToggle": {
3805
- background: o.palette.state.default,
3816
+ background: o.vars.palette.state.default,
3806
3817
  width: "36px",
3807
3818
  height: "36px",
3808
3819
  minWidth: "36px",
3809
3820
  minHeight: "36px",
3810
3821
  [o.breakpoints.down("sm")]: {
3811
- background: o.palette.state.default,
3822
+ background: o.vars.palette.state.default,
3812
3823
  width: "36px",
3813
3824
  height: "36px",
3814
3825
  minWidth: "36px",
@@ -3840,14 +3851,6 @@ const c = (o) => ({
3840
3851
  borderRadius: "6px",
3841
3852
  gap: "8px"
3842
3853
  },
3843
- "& .M4LanguagePopover-root": {
3844
- "& .M4LImageButton-root": {
3845
- "& .MuiButtonBase-root": {
3846
- width: "28px",
3847
- height: "28px"
3848
- }
3849
- }
3850
- },
3851
3854
  "& .M4LAvatar-root": {
3852
3855
  width: "28px",
3853
3856
  height: "28px",
@@ -3872,29 +3875,46 @@ const c = (o) => ({
3872
3875
  }
3873
3876
  }
3874
3877
  }
3875
- }), B = (o) => ({
3878
+ }), k = (o) => ({
3876
3879
  M4LAvatar: {
3877
3880
  styleOverrides: {
3878
3881
  "&.M4LAvatar-root": {
3882
+ padding: "0px !important",
3883
+ display: "flex",
3884
+ alignItems: "center",
3885
+ justifyContent: "center",
3886
+ width: "36px !important",
3887
+ height: "36px !important",
3879
3888
  "& .MuiAvatar-root": {
3880
- width: "36px",
3881
- height: "36px",
3889
+ width: "28px !important",
3890
+ height: "28px !important",
3882
3891
  borderRadius: "4px",
3883
- padding: "4px",
3884
- background: r.blazeOrange[50],
3885
- color: r.marbleLight[30],
3886
- boxShadow: o.customShadows.z1,
3887
- ...o.typography.subtitle,
3888
- [o.breakpoints.down("sm")]: {
3889
- width: "36px",
3890
- height: "36px"
3892
+ background: e.blazeOrange[50],
3893
+ color: e.marbleLight[30],
3894
+ boxShadow: o.vars.customShadows.z1,
3895
+ ...o.typography.subtitle
3896
+ },
3897
+ [o.breakpoints.up("md")]: {
3898
+ width: "28px !important",
3899
+ height: "28px !important",
3900
+ "& .MuiAvatar-root": {
3901
+ width: "20px !important",
3902
+ height: "20px !important"
3903
+ }
3904
+ },
3905
+ [o.breakpoints.down("sm")]: {
3906
+ width: "36px !important",
3907
+ height: "36px !important",
3908
+ "& .MuiAvatar-root": {
3909
+ width: "28px !important",
3910
+ height: "28px !important"
3891
3911
  }
3892
3912
  },
3893
3913
  test: "root"
3894
3914
  }
3895
3915
  }
3896
3916
  }
3897
- }), I = (o) => ({
3917
+ }), B = (o) => ({
3898
3918
  M4LAccountPopover: {
3899
3919
  styleOverrides: {
3900
3920
  "&.M4LAccountPopover-root": {
@@ -3916,8 +3936,8 @@ const c = (o) => ({
3916
3936
  gap: "4px",
3917
3937
  padding: "12px",
3918
3938
  borderRadius: "6px",
3919
- boxShadow: o.customShadows.z3,
3920
- background: o.palette.background.default,
3939
+ boxShadow: o.customShadows?.z2,
3940
+ background: o.vars.palette.background.default,
3921
3941
  "& .M4LAccountPopover-containerUserInfo": {
3922
3942
  display: "flex",
3923
3943
  flexDirection: "column",
@@ -3932,8 +3952,8 @@ const c = (o) => ({
3932
3952
  minHeight: "16px"
3933
3953
  },
3934
3954
  "& .M4LAccountPopover-labelUserName": {
3935
- color: o.palette.text.primary,
3936
- ...o.typography.bodyDens,
3955
+ color: o.vars.palette.text.primary,
3956
+ ...o.colorSchemes.finalTheme.typography.bodyDens,
3937
3957
  width: "100%",
3938
3958
  minHeight: "20px",
3939
3959
  display: "flex",
@@ -3950,8 +3970,8 @@ const c = (o) => ({
3950
3970
  minHeight: "16px"
3951
3971
  },
3952
3972
  "& .M4LAccountPopover-labelUserEmail": {
3953
- color: o.palette.text.primary,
3954
- ...o.typography.body,
3973
+ color: o.vars.palette.text.primary,
3974
+ ...o.colorSchemes.finalTheme.typography.body,
3955
3975
  width: "100%",
3956
3976
  minHeight: "20px",
3957
3977
  display: "flex",
@@ -3969,8 +3989,8 @@ const c = (o) => ({
3969
3989
  minHeight: "16px"
3970
3990
  },
3971
3991
  "& .M4LAccountPopover-labelVersion": {
3972
- color: o.palette.text.secondary,
3973
- ...o.typography.body,
3992
+ color: o.vars.palette.text.secondary,
3993
+ ...o.colorSchemes.finalTheme.typography.body,
3974
3994
  width: "100%",
3975
3995
  minHeight: "20px",
3976
3996
  display: "flex",
@@ -3980,7 +4000,7 @@ const c = (o) => ({
3980
4000
  "& .M4LAccountPopover-containerMenuItems": {
3981
4001
  borderTop: "1.5px solid",
3982
4002
  borderBottom: "1.5px solid",
3983
- borderColor: o.palette.state.default,
4003
+ borderColor: o.vars.palette.state.default,
3984
4004
  padding: "2px 4px",
3985
4005
  display: "flex",
3986
4006
  flexDirection: "column",
@@ -3998,15 +4018,15 @@ const c = (o) => ({
3998
4018
  borderRadius: "4px",
3999
4019
  cursor: "pointer",
4000
4020
  "&:hover": {
4001
- background: o.palette.state.default
4021
+ background: o.vars.palette.state.default
4002
4022
  },
4003
4023
  "& .M4LIcon-root": {
4004
4024
  minWidth: "16px",
4005
4025
  minHeight: "16px"
4006
4026
  },
4007
4027
  "& .M4LAccountPopover-menuItem": {
4008
- color: o.palette.text.primary,
4009
- ...o.typography.body,
4028
+ color: o.vars.palette.text.primary,
4029
+ ...o.colorSchemes.finalTheme.typography.body,
4010
4030
  borderRadius: "4px",
4011
4031
  width: "100%",
4012
4032
  minHeight: "20px",
@@ -4025,15 +4045,15 @@ const c = (o) => ({
4025
4045
  alignItems: "center",
4026
4046
  cursor: "pointer",
4027
4047
  "&:hover": {
4028
- background: o.palette.state.default
4048
+ background: o.vars.palette.state.default
4029
4049
  },
4030
4050
  "& .M4LIcon-root": {
4031
4051
  minWidth: "16px",
4032
4052
  minHeight: "16px"
4033
4053
  },
4034
4054
  "& .M4LAccountPopover-logOut": {
4035
- color: o.palette.text.primary,
4036
- ...o.typography.body,
4055
+ color: o.vars.palette.text.primary,
4056
+ ...o.colorSchemes.finalTheme.typography.body,
4037
4057
  borderRadius: "4px",
4038
4058
  width: "100%",
4039
4059
  minHeight: "20px",
@@ -4110,7 +4130,7 @@ const c = (o) => ({
4110
4130
  minHeight: "36px",
4111
4131
  alignItems: "center",
4112
4132
  "&:hover": {
4113
- background: o.palette.state.default
4133
+ background: o.vars.palette.state.default
4114
4134
  },
4115
4135
  "& .M4LIcon-root": {
4116
4136
  minWidth: "20px",
@@ -4133,7 +4153,7 @@ const c = (o) => ({
4133
4153
  minHeight: "36px",
4134
4154
  alignItems: "center",
4135
4155
  "&:hover": {
4136
- background: o.palette.state.default
4156
+ background: o.vars.palette.state.default
4137
4157
  },
4138
4158
  "& .M4LIcon-root": {
4139
4159
  minWidth: "20px",
@@ -4173,7 +4193,7 @@ const c = (o) => ({
4173
4193
  }
4174
4194
  }
4175
4195
  }
4176
- }), S = (o) => ({
4196
+ }), I = (o) => ({
4177
4197
  M4LModuleLayout: {
4178
4198
  styleOverrides: {
4179
4199
  "&.M4LModuleLayout-root": {
@@ -4190,7 +4210,7 @@ const c = (o) => ({
4190
4210
  }
4191
4211
  }
4192
4212
  }
4193
- }), R = (o) => ({
4213
+ }), T = (o) => ({
4194
4214
  M4LMasterDetailLayout: {
4195
4215
  styleOverrides: {
4196
4216
  "&.M4LMasterDetailLayout-root": {
@@ -4203,7 +4223,7 @@ const c = (o) => ({
4203
4223
  width: "100%",
4204
4224
  height: "100%",
4205
4225
  boxShadow: "none",
4206
- background: o.palette.background.default,
4226
+ background: o.vars.palette.background.default,
4207
4227
  border: "0px",
4208
4228
  borderColor: "transparent",
4209
4229
  borderRadius: "4px",
@@ -4213,17 +4233,17 @@ const c = (o) => ({
4213
4233
  }
4214
4234
  },
4215
4235
  "& .M4LSplitLayout-secondPart": {
4216
- background: o.palette.background.default,
4236
+ background: o.vars.palette.background.default,
4217
4237
  borderRadius: "4px"
4218
4238
  },
4219
4239
  "& .layout-pane-primary": {
4220
- background: o.palette.background.default,
4240
+ background: o.vars.palette.background.default,
4221
4241
  borderRadius: "4px"
4222
4242
  }
4223
4243
  }
4224
4244
  }
4225
4245
  }
4226
- }), T = (o) => ({
4246
+ }), R = (o) => ({
4227
4247
  M4LSplitLayout: {
4228
4248
  styleOverrides: {
4229
4249
  "&.M4LSplitLayout-root": {
@@ -4287,7 +4307,7 @@ const c = (o) => ({
4287
4307
  width: "4px",
4288
4308
  top: "calc(50% - 22.5px)",
4289
4309
  position: "absolute",
4290
- background: o.palette.state.active,
4310
+ background: o.vars.palette.state.active,
4291
4311
  borderRadius: "1px",
4292
4312
  margin: "1px 0px"
4293
4313
  },
@@ -4312,12 +4332,12 @@ const c = (o) => ({
4312
4332
  height: "4px !important",
4313
4333
  left: "calc(50% - 22.5px)",
4314
4334
  top: "unset",
4315
- background: o.palette.state.active,
4335
+ background: o.vars.palette.state.active,
4316
4336
  borderRadius: "2px",
4317
4337
  zIndex: "1"
4318
4338
  },
4319
4339
  "& .splitter-layout > .layout-splitter:hover:before, .splitter-layout.layout-changing > .layout-splitter:before": {
4320
- background: o.palette.state.hover
4340
+ background: o.vars.palette.state.hover
4321
4341
  },
4322
4342
  "& .splitter-layout.splitter-layout-vertical": {
4323
4343
  flexDirection: "column",
@@ -4328,7 +4348,7 @@ const c = (o) => ({
4328
4348
  left: "0",
4329
4349
  right: "0",
4330
4350
  position: "absolute",
4331
- background: o.palette.state.borderPrimary
4351
+ background: o.vars.palette.state.borderPrimary
4332
4352
  }
4333
4353
  },
4334
4354
  "& .splitter-layout:not(.splitter-layout-vertical)": {
@@ -4338,7 +4358,7 @@ const c = (o) => ({
4338
4358
  top: "0",
4339
4359
  bottom: "0",
4340
4360
  position: "absolute",
4341
- background: o.palette.state.borderPrimary
4361
+ background: o.vars.palette.state.borderPrimary
4342
4362
  }
4343
4363
  }
4344
4364
  }
@@ -4357,7 +4377,7 @@ const c = (o) => ({
4357
4377
  }
4358
4378
  }
4359
4379
  }
4360
- }), P = (o) => ({
4380
+ }), D = (o) => ({
4361
4381
  M4LinearProgressIndeterminate: {
4362
4382
  styleOverrides: {
4363
4383
  "&.M4LinearProgressIndeterminate-root": {
@@ -4404,14 +4424,14 @@ const c = (o) => ({
4404
4424
  right: "100%",
4405
4425
  bottom: "0",
4406
4426
  left: "0",
4407
- backgroundColor: o.palette.state.focus,
4427
+ backgroundColor: o.vars.palette.state.focus,
4408
4428
  width: "0",
4409
4429
  animation: "borealisBar 2s linear infinite"
4410
4430
  }
4411
4431
  }
4412
4432
  }
4413
4433
  }
4414
- }), D = (o) => ({
4434
+ }), P = (o) => ({
4415
4435
  M4LPropertyValue: {
4416
4436
  styleOverrides: {
4417
4437
  "&.M4LPropertyValue-root": {
@@ -4422,7 +4442,7 @@ const c = (o) => ({
4422
4442
  minHeight: "23px",
4423
4443
  flexDirection: "column",
4424
4444
  borderBottom: "1px solid",
4425
- borderColor: o.palette.state.borderDisable,
4445
+ borderColor: o.vars.palette.state.borderDisable,
4426
4446
  "&.M4LPropertyValue-isMobile": {
4427
4447
  gridTemplateColumns: "1fr!important",
4428
4448
  minHeight: "24px"
@@ -4439,8 +4459,8 @@ const c = (o) => ({
4439
4459
  maxWidth: "100%",
4440
4460
  width: "100% !important",
4441
4461
  minHeight: "24px",
4442
- ...o.typography.body,
4443
- color: o.palette.text.secondary,
4462
+ ...o.colorSchemes.finalTheme.typography.body,
4463
+ color: o.vars.palette.text.secondary,
4444
4464
  fontWeight: "400 !important",
4445
4465
  display: "flex",
4446
4466
  alignItems: "center",
@@ -4450,8 +4470,8 @@ const c = (o) => ({
4450
4470
  overflow: "hidden",
4451
4471
  overflowWrap: "break-word",
4452
4472
  "& .M4LTypography-root": {
4453
- ...o.typography.body,
4454
- color: o.palette.text.secondary,
4473
+ ...o.colorSchemes.finalTheme.typography.body,
4474
+ color: o.vars.palette.text.secondary,
4455
4475
  fontWeight: "400 !important"
4456
4476
  }
4457
4477
  },
@@ -4459,8 +4479,8 @@ const c = (o) => ({
4459
4479
  maxWidth: "100%",
4460
4480
  width: "100%",
4461
4481
  minHeight: "24px",
4462
- ...o.typography.body,
4463
- color: o.palette.text.primary,
4482
+ ...o.colorSchemes.finalTheme.typography.body,
4483
+ color: o.vars.palette.text.primary,
4464
4484
  overflow: "hidden",
4465
4485
  textOverflow: "ellipsis",
4466
4486
  position: "relative",
@@ -4469,8 +4489,8 @@ const c = (o) => ({
4469
4489
  overflowWrap: "break-word",
4470
4490
  justifyContent: "center",
4471
4491
  "& .M4LTypography-root": {
4472
- ...o.typography.body,
4473
- color: o.palette.text.primary
4492
+ ...o.colorSchemes.finalTheme.typography.body,
4493
+ color: o.vars.palette.text.primary
4474
4494
  },
4475
4495
  "& .M4LRHFTextField-root.M4LRHFTextField-sizeSmall": {
4476
4496
  "& .MuiFormControl-root": {
@@ -4513,16 +4533,16 @@ const c = (o) => ({
4513
4533
  }
4514
4534
  }
4515
4535
  }
4516
- }), F = (o) => ({
4536
+ }), H = (o) => ({
4517
4537
  M4LTab: {
4518
4538
  styleOverrides: {
4519
4539
  "&.M4LTab-root": {
4520
4540
  width: "fit-content",
4521
- background: o.palette.background.header,
4541
+ background: o.vars.palette.background.header,
4522
4542
  borderRadius: "4px 4px 0 0",
4523
4543
  zIndex: "3",
4524
4544
  "& .MuiButtonBase-root": {
4525
- background: o.palette.background.header,
4545
+ background: o.vars.palette.background.header,
4526
4546
  height: "32px",
4527
4547
  display: "flex",
4528
4548
  flexDirection: "row",
@@ -4532,8 +4552,8 @@ const c = (o) => ({
4532
4552
  minHeight: "fit-content",
4533
4553
  minWidth: "fit-content",
4534
4554
  gap: "8px",
4535
- ...o.typography.body,
4536
- color: o.palette.text.primary,
4555
+ ...o.colorSchemes.finalTheme.typography.body,
4556
+ color: o.vars.palette.text.primary,
4537
4557
  lineHeight: "none",
4538
4558
  borderRadius: "4px 4px 0 0",
4539
4559
  "& .M4LIcon-root": {
@@ -4545,22 +4565,22 @@ const c = (o) => ({
4545
4565
  }
4546
4566
  },
4547
4567
  "& .MuiTab-root": {
4548
- borderBottom: `1px solid ${o.palette.state.borderSecondary}`
4568
+ borderBottom: `1px solid ${o.vars.palette.state.borderSecondary}`
4549
4569
  },
4550
4570
  "& .MuiButtonBase-root:hover": {
4551
- color: o.palette.state.hover,
4571
+ color: o.vars.palette.state.hover,
4552
4572
  "& .M4LIcon-icon": {
4553
- backgroundColor: o.palette.state.hover
4573
+ backgroundColor: o.vars.palette.state.hover
4554
4574
  }
4555
4575
  },
4556
4576
  "& .Mui-selected": {
4557
- background: o.palette.background.default,
4558
- borderTop: `1px solid ${o.palette.state.borderSecondary}`,
4559
- borderLeft: `1px solid ${o.palette.state.borderSecondary}`,
4560
- borderRight: `1px solid ${o.palette.state.borderSecondary}`,
4561
- borderBottom: `1px solid ${o.palette.background.default}`,
4562
- ...o.typography.bodyDens,
4563
- color: o.palette.text.primary,
4577
+ background: o.vars.palette.background.default,
4578
+ borderTop: `1px solid ${o.vars.palette.state.borderSecondary}`,
4579
+ borderLeft: `1px solid ${o.vars.palette.state.borderSecondary}`,
4580
+ borderRight: `1px solid ${o.vars.palette.state.borderSecondary}`,
4581
+ borderBottom: `1px solid ${o.vars.palette.background.default}`,
4582
+ ...o.colorSchemes.finalTheme.typography.bodyDens,
4583
+ color: o.vars.palette.text.primary,
4564
4584
  lineHeight: "none",
4565
4585
  "&::before": {
4566
4586
  content: '""',
@@ -4568,7 +4588,7 @@ const c = (o) => ({
4568
4588
  height: "2px",
4569
4589
  left: "1.5px",
4570
4590
  top: "0px",
4571
- backgroundColor: o.palette.state.active,
4591
+ backgroundColor: o.vars.palette.state.active,
4572
4592
  borderRadius: "2px 2px 0px 0px",
4573
4593
  position: "absolute"
4574
4594
  }
@@ -4576,27 +4596,27 @@ const c = (o) => ({
4576
4596
  }
4577
4597
  }
4578
4598
  }
4579
- }), H = (o) => ({
4599
+ }), F = (o) => ({
4580
4600
  M4LAccordion: {
4581
4601
  styleOverrides: {
4582
4602
  "&.M4LAccordion-root": {
4583
4603
  width: "100%",
4584
- background: o.palette.background.default,
4604
+ background: o.vars.palette.background.default,
4585
4605
  borderRadius: "4px",
4586
4606
  "& .M4LTypography-root": {
4587
4607
  padding: "4px 8px",
4588
4608
  display: "flex",
4589
4609
  alignItems: "center",
4590
4610
  "& .MuiTypography-root": {
4591
- ...o.typography.bodyDens,
4592
- color: o.palette.text.primary
4611
+ ...o.colorSchemes.finalTheme.typography.bodyDens,
4612
+ color: o.vars.palette.text.primary
4593
4613
  }
4594
4614
  },
4595
4615
  "& .MuiPaper-root": {
4596
4616
  marginBottom: "0px",
4597
4617
  borderRadius: "4px",
4598
4618
  border: "1px solid",
4599
- borderColor: o.palette.state.borderPrimary,
4619
+ borderColor: o.vars.palette.state.borderPrimary,
4600
4620
  "& .MuiCollapse-root": {
4601
4621
  padding: "8px",
4602
4622
  "& .MuiCollapse-wrapper": {
@@ -4631,20 +4651,20 @@ const c = (o) => ({
4631
4651
  }
4632
4652
  },
4633
4653
  "& .Mui-expanded": {
4634
- background: o.palette.state.active12,
4654
+ background: o.vars.palette.state.active12,
4635
4655
  height: "28px",
4636
4656
  minHeight: "28px",
4637
4657
  "& .MuiButtonBase-root": {
4638
4658
  "&.MuiAccordionSummary-content": {
4639
4659
  borderRadius: "0 0 0 0 !important",
4640
- background: o.palette.state.active12,
4660
+ background: o.vars.palette.state.active12,
4641
4661
  height: "28px",
4642
4662
  minHeight: "28px"
4643
4663
  },
4644
4664
  "& .M4LTypography-root": {
4645
4665
  "& .MuiTypography-root": {
4646
- ...o.typography.bodyDens,
4647
- color: o.palette.text?.primary
4666
+ ...o.colorSchemes.finalTheme.typography.bodyDens,
4667
+ color: o.vars.palette.text?.primary
4648
4668
  }
4649
4669
  },
4650
4670
  "& .MuiAccordionSummary-expandIconWrapper": {
@@ -4670,17 +4690,17 @@ const c = (o) => ({
4670
4690
  minHeight: "28px",
4671
4691
  padding: "0",
4672
4692
  "&:hover": {
4673
- background: o.palette.state?.hoverDefault
4693
+ background: o.vars.palette.state?.hoverDefault
4674
4694
  }
4675
4695
  },
4676
4696
  "& .MuiCollapse-root": {
4677
- background: o.palette.background.default,
4678
- borderColor: o.palette.state.borderPrimary,
4697
+ background: o.vars.palette.background.default,
4698
+ borderColor: o.vars.palette.state.borderPrimary,
4679
4699
  borderRadius: "0px 0px 4px 4px",
4680
4700
  padding: "8px",
4681
4701
  "&.MuiButtonBase-root": {
4682
4702
  padding: "4px 8px !important",
4683
- background: o.palette.background.neutral
4703
+ background: o.vars.palette.background.neutral
4684
4704
  },
4685
4705
  "& .M4LAccordion-content": {
4686
4706
  display: "flex !important",
@@ -4737,7 +4757,7 @@ const c = (o) => ({
4737
4757
  styleOverrides: {
4738
4758
  "&.M4LPeriod-root": {
4739
4759
  border: "solid 1px",
4740
- borderColor: o.palette.state.borderPrimary,
4760
+ borderColor: o.vars.palette.state.borderPrimary,
4741
4761
  display: "flex",
4742
4762
  width: "100%",
4743
4763
  height: "auto",
@@ -4758,11 +4778,11 @@ const c = (o) => ({
4758
4778
  borderRight: "1px solid",
4759
4779
  display: "flex",
4760
4780
  alignItems: "center",
4761
- borderColor: o.palette.state.borderPrimary,
4781
+ borderColor: o.vars.palette.state.borderPrimary,
4762
4782
  [o.breakpoints.down("md")]: {
4763
4783
  borderRight: "0",
4764
4784
  borderBottom: "1px solid",
4765
- borderColor: o.palette.state.borderPrimary
4785
+ borderColor: o.vars.palette.state.borderPrimary
4766
4786
  }
4767
4787
  },
4768
4788
  "& .M4LPeriod-skeletonFieldSecondary": {
@@ -4773,20 +4793,20 @@ const c = (o) => ({
4773
4793
  }
4774
4794
  },
4775
4795
  "&:hover": {
4776
- borderColor: o.palette.state.hover
4796
+ borderColor: o.vars.palette.state.hover
4777
4797
  },
4778
4798
  "&.M4LPeriod-isFocus": {
4779
- borderColor: o.palette.state.active
4799
+ borderColor: o.vars.palette.state.active
4780
4800
  },
4781
4801
  "& .MuiAutocomplete-root": {
4782
4802
  width: "100%",
4783
4803
  borderRadius: 0,
4784
4804
  borderRight: "1px solid",
4785
- borderColor: o.palette.state.borderPrimary,
4805
+ borderColor: o.vars.palette.state.borderPrimary,
4786
4806
  [o.breakpoints.down("md")]: {
4787
4807
  borderRight: 0,
4788
4808
  borderBottom: "1px solid",
4789
- borderColor: o.palette.state.borderPrimary
4809
+ borderColor: o.vars.palette.state.borderPrimary
4790
4810
  },
4791
4811
  "& .MuiInput-root": {
4792
4812
  backgroundColor: "transparent"
@@ -4840,7 +4860,7 @@ const c = (o) => ({
4840
4860
  height: "100% !important",
4841
4861
  padding: "0px 0px 0px 8px",
4842
4862
  borderRight: "1px solid",
4843
- borderColor: o.palette.state.borderPrimary
4863
+ borderColor: o.vars.palette.state.borderPrimary
4844
4864
  },
4845
4865
  "& .M4LPeriod-containerDateValue": {
4846
4866
  display: "flex",
@@ -4848,63 +4868,63 @@ const c = (o) => ({
4848
4868
  padding: "0px 0px 0px 8px"
4849
4869
  },
4850
4870
  "&.M4LPeriod-stateError": {
4851
- borderColor: o.palette.state.error.normal,
4852
- boxShadow: o.customShadows.z2,
4871
+ borderColor: o.vars.palette.state.error.normal,
4872
+ boxShadow: o.customShadows?.z2,
4853
4873
  "&.M4LPeriod-stateError:hover": {
4854
- borderColor: o.palette.state.error.normal,
4874
+ borderColor: o.vars.palette.state.error.normal,
4855
4875
  background: "transparent",
4856
- boxShadow: o.customShadows.z2
4876
+ boxShadow: o.customShadows?.z2
4857
4877
  },
4858
4878
  "& .MuiTextField-root:hover": {
4859
4879
  width: "100%",
4860
4880
  background: "transparent",
4861
4881
  "& .MuiInputBase-root:hover": {
4862
- background: o.palette.error.opacity,
4882
+ background: o.vars.palette.error.opacity,
4863
4883
  height: "100%"
4864
4884
  }
4865
4885
  }
4866
4886
  },
4867
4887
  "&.M4LPeriod-stateWarning": {
4868
- borderColor: o.palette.state.warning.normal,
4869
- boxShadow: o.customShadows.z2,
4888
+ borderColor: o.vars.palette.state.warning.normal,
4889
+ boxShadow: o.customShadows?.z2,
4870
4890
  "&.M4LPeriod-stateWarning:hover": {
4871
- borderColor: o.palette.state.warning.normal,
4872
- boxShadow: o.customShadows.z2,
4891
+ borderColor: o.vars.palette.state.warning.normal,
4892
+ boxShadow: o.customShadows?.z2,
4873
4893
  background: "transparent",
4874
4894
  "& .MuiTextField-root:hover": {
4875
4895
  background: "transparent",
4876
4896
  "& .MuiInputBase-root:hover": {
4877
- background: o.palette.warning.opacity
4897
+ background: o.vars.palette.warning.opacity
4878
4898
  }
4879
4899
  }
4880
4900
  }
4881
4901
  },
4882
4902
  "&.M4LPeriod-stateSuccess": {
4883
- borderColor: o.palette.state.success.normal,
4884
- boxShadow: o.customShadows.z2,
4903
+ borderColor: o.vars.palette.state.success.normal,
4904
+ boxShadow: o.customShadows?.z2,
4885
4905
  "&.M4LPeriod-stateSuccess:hover": {
4886
- borderColor: o.palette.state.success.normal,
4887
- boxShadow: o.customShadows.z2,
4906
+ borderColor: o.vars.palette.state.success.normal,
4907
+ boxShadow: o.customShadows?.z2,
4888
4908
  background: "transparent",
4889
4909
  "& .MuiTextField-root:hover": {
4890
4910
  background: "transparent",
4891
4911
  "& .MuiInputBase-root:hover": {
4892
- background: o.palette.success.opacity
4912
+ background: o.vars.palette.success.opacity
4893
4913
  }
4894
4914
  }
4895
4915
  }
4896
4916
  },
4897
4917
  "&.M4LPeriod-stateInfo": {
4898
- borderColor: o.palette.state.info.normal,
4899
- boxShadow: o.customShadows.z2,
4918
+ borderColor: o.vars.palette.state.info.normal,
4919
+ boxShadow: o.customShadows?.z2,
4900
4920
  "&.M4LPeriod-stateInfo:hover": {
4901
- borderColor: o.palette.state.info.normal,
4921
+ borderColor: o.vars.palette.state.info.normal,
4902
4922
  background: "transparent",
4903
- boxShadow: o.customShadows.z2,
4923
+ boxShadow: o.customShadows?.z2,
4904
4924
  "& .MuiTextField-root:hover": {
4905
4925
  background: "transparent",
4906
4926
  "& .MuiInputBase-root:hover": {
4907
- background: o.palette.info.opacity
4927
+ background: o.vars.palette.info.opacity
4908
4928
  }
4909
4929
  }
4910
4930
  }
@@ -4932,8 +4952,8 @@ const c = (o) => ({
4932
4952
  height: "100%",
4933
4953
  overflow: "hidden",
4934
4954
  width: "100%",
4935
- background: o.palette.background.default,
4936
- boxShadow: o.customShadows.z3,
4955
+ background: o.vars.palette.background.default,
4956
+ boxShadow: o.customShadows?.z2,
4937
4957
  borderRadius: "4px",
4938
4958
  "& .M4LCommonActions-root": {
4939
4959
  padding: "16px 0 0 0",
@@ -4970,12 +4990,12 @@ const c = (o) => ({
4970
4990
  width: "100px"
4971
4991
  },
4972
4992
  "& .MuiTypography-subtitle": {
4973
- ...o.typography.subtitleDens,
4974
- color: o.palette.text.primary
4993
+ ...o.colorSchemes.finalTheme.typography.subtitleDens,
4994
+ color: o.vars.palette.text.primary
4975
4995
  },
4976
4996
  "& .M4LModal-messageContainer": {
4977
- ...o.typography.body,
4978
- color: o.palette.text.secondary,
4997
+ ...o.colorSchemes.finalTheme.typography.body,
4998
+ color: o.vars.palette.text.secondary,
4979
4999
  textAlign: "center"
4980
5000
  }
4981
5001
  }
@@ -4994,7 +5014,7 @@ const c = (o) => ({
4994
5014
  justifyContent: "center"
4995
5015
  },
4996
5016
  "& .M4LModal-titleHeader": {
4997
- ...o.typography.paragraphDens,
5017
+ ...o.colorSchemes.finalTheme.typography.paragraphDens,
4998
5018
  width: "100%",
4999
5019
  whiteSpace: "nowrap",
5000
5020
  textOverflow: "ellipsis",
@@ -5029,10 +5049,10 @@ const c = (o) => ({
5029
5049
  margin: "0px",
5030
5050
  maxWidth: "unset",
5031
5051
  maxHeight: "unset",
5032
- background: o.palette.state.active12,
5052
+ background: o.vars.palette.state.active12,
5033
5053
  border: "2px solid",
5034
- borderColor: o.palette.state.borderPrimary,
5035
- boxShadow: o.customShadows.z4,
5054
+ borderColor: o.vars.palette.state.borderPrimary,
5055
+ boxShadow: o.vars.customShadows.z4,
5036
5056
  width: "auto",
5037
5057
  height: "auto"
5038
5058
  }
@@ -5044,9 +5064,9 @@ const c = (o) => ({
5044
5064
  "&.M4LPaperForm-root": {
5045
5065
  padding: "0",
5046
5066
  borderRadius: "4px",
5047
- background: o.palette.background.default,
5067
+ background: o.vars.palette.background.default,
5048
5068
  border: "1px solid",
5049
- borderColor: o.palette.state.borderSecondary,
5069
+ borderColor: o.vars.palette.state.borderSecondary,
5050
5070
  width: "100%",
5051
5071
  height: "auto",
5052
5072
  "&.M4LPaperForm-isForm .M4LPaperForm-content": {
@@ -5059,15 +5079,15 @@ const c = (o) => ({
5059
5079
  padding: "2px 4px 2px 8px",
5060
5080
  margin: "0px",
5061
5081
  borderRadius: "4px",
5062
- background: o.palette.background.header,
5082
+ background: o.vars.palette.background.header,
5063
5083
  borderBottom: "none",
5064
5084
  [o.breakpoints.down("md")]: {
5065
5085
  height: "36px",
5066
5086
  minHeight: "36px"
5067
5087
  },
5068
5088
  "& .M4LPaperForm-iconTitleContainer": {
5069
- ...o.typography.bodyDens,
5070
- color: o.palette.text.primary,
5089
+ ...o.colorSchemes.finalTheme.typography.bodyDens,
5090
+ color: o.vars.palette.text.primary,
5071
5091
  display: "flex",
5072
5092
  gap: "8px",
5073
5093
  "& .M4LPaperForm-iconHeaderContainer": {
@@ -5081,8 +5101,8 @@ const c = (o) => ({
5081
5101
  height: "fit-content",
5082
5102
  width: "100%",
5083
5103
  padding: "12px",
5084
- color: o.palette.text.primary,
5085
- ...o.typography.body
5104
+ color: o.vars.palette.text.primary,
5105
+ ...o.colorSchemes.finalTheme.typography.body
5086
5106
  }
5087
5107
  }
5088
5108
  }
@@ -5095,15 +5115,15 @@ const c = (o) => ({
5095
5115
  "& .MuiTooltip-tooltip": {
5096
5116
  display: "flex",
5097
5117
  alignItems: "center",
5098
- background: o.palette.info.main,
5118
+ background: o.vars.palette.info.main,
5099
5119
  borderRadius: "4px",
5100
- boxShadow: o.customShadows.z3,
5120
+ boxShadow: o.customShadows?.z2,
5101
5121
  padding: "4px 8px",
5102
5122
  height: "fit-content",
5103
5123
  minHeight: "24px",
5104
5124
  width: "fit-content",
5105
- color: r.marbleLight[30],
5106
- ...o.typography.body
5125
+ color: e.marbleLight[30],
5126
+ ...o.colorSchemes.finalTheme.typography.body
5107
5127
  }
5108
5128
  }
5109
5129
  }
@@ -5128,26 +5148,26 @@ const c = (o) => ({
5128
5148
  paddingLeft: "7px",
5129
5149
  borderRadius: "4px",
5130
5150
  border: "1px solid",
5131
- borderColor: o.palette.background.default,
5132
- backgroundColor: o.palette.state.error.normal,
5151
+ borderColor: o.vars.palette.background.default,
5152
+ backgroundColor: o.vars.palette.state.error.normal,
5133
5153
  height: "16px",
5134
5154
  top: "14%",
5135
5155
  right: "16%",
5136
- color: o.palette.patronus?.marbleLight[30]
5156
+ color: o.vars.palette.patronus?.marbleLight[30]
5137
5157
  }
5138
5158
  }
5139
5159
  }
5140
5160
  }
5141
5161
  }
5142
- }), N = (o) => ({
5162
+ }), N = (o) => (console.log("Test media query", o.typography.body), {
5143
5163
  M4LDataGrid: {
5144
5164
  styleOverrides: {
5145
5165
  "&.M4LDataGrid-root": {
5146
- background: o.palette.background.default,
5166
+ background: o.vars.palette.background.default,
5147
5167
  boxShadow: "unset",
5148
5168
  borderRadius: "4px",
5149
5169
  border: "1px solid",
5150
- borderColor: o.palette.state.borderPrimary,
5170
+ borderColor: o.vars.palette.state.borderPrimary,
5151
5171
  display: "flex",
5152
5172
  position: "relative",
5153
5173
  flexDirection: "column",
@@ -5168,7 +5188,7 @@ const c = (o) => ({
5168
5188
  }
5169
5189
  },
5170
5190
  "& .M4LDataGrid-actions": {
5171
- ...o.typography.body,
5191
+ ...o.colorSchemes.finalTheme.typography.body,
5172
5192
  left: "0px",
5173
5193
  right: "0px",
5174
5194
  top: "0px",
@@ -5180,7 +5200,7 @@ const c = (o) => ({
5180
5200
  borderRadius: "4px",
5181
5201
  alignItems: "center",
5182
5202
  justifyContent: "space-between",
5183
- background: o.palette.background.default,
5203
+ background: o.vars.palette.background.default,
5184
5204
  position: "absolute",
5185
5205
  gap: "8px",
5186
5206
  ["@container main (max-width: 600px)"]: {
@@ -5192,7 +5212,7 @@ const c = (o) => ({
5192
5212
  gap: "8px",
5193
5213
  marginLeft: "12px",
5194
5214
  "& .M4LIconButton-root": {
5195
- background: o.palette.background.default
5215
+ background: o.vars.palette.background.default
5196
5216
  }
5197
5217
  },
5198
5218
  "& .M4LDataGrid-rowsCount": {
@@ -5200,8 +5220,8 @@ const c = (o) => ({
5200
5220
  gap: "8px",
5201
5221
  alignItems: "center",
5202
5222
  "& .M4LDataGrid-rowsCountLabel": {
5203
- ...o.typography.body,
5204
- color: o.palette.text.primary,
5223
+ ...o.colorSchemes.finalTheme.typography.body,
5224
+ color: o.vars.palette.text.primary,
5205
5225
  height: "100%"
5206
5226
  },
5207
5227
  "& .M4LDataGrid-rowsCountValue": {
@@ -5209,7 +5229,7 @@ const c = (o) => ({
5209
5229
  paddingBottom: "2px",
5210
5230
  paddingLeft: "4px",
5211
5231
  paddingRight: "6px",
5212
- background: o.palette.background.default,
5232
+ background: o.vars.palette.background.default,
5213
5233
  borderRadius: "4px"
5214
5234
  }
5215
5235
  },
@@ -5231,8 +5251,8 @@ const c = (o) => ({
5231
5251
  padding: "0 4px",
5232
5252
  borderRadius: "4px",
5233
5253
  border: "none",
5234
- boxshadow: o.customShadows.z2,
5235
- background: o.palette.background.default,
5254
+ boxshadow: o.customShadows?.z2,
5255
+ background: o.vars.palette.background.default,
5236
5256
  ["@container main (max-width: 600px)"]: {
5237
5257
  top: "44px"
5238
5258
  },
@@ -5243,7 +5263,7 @@ const c = (o) => ({
5243
5263
  borderRadius: "4px 0px",
5244
5264
  "& .rdg ": {
5245
5265
  border: "none",
5246
- background: o.palette.background.default,
5266
+ background: o.vars.palette.background.default,
5247
5267
  gridColumnGap: "0px",
5248
5268
  gridRowGap: "0px",
5249
5269
  userSelect: "initial",
@@ -5252,16 +5272,16 @@ const c = (o) => ({
5252
5272
  overflow: "auto",
5253
5273
  padding: "0px",
5254
5274
  "--rdg-grid-inline-size": "0px",
5255
- "--rdg-header-background-color": o.palette.background.header,
5275
+ "--rdg-header-background-color": o.vars.palette.background.header,
5256
5276
  "--rdg-row-selected-background-color": "#D9E9FC",
5257
5277
  "--rdg-row-hover-background-color": "#D9E9FC",
5258
- "--rdg-background-color": o.palette.background.default,
5259
- "--rdg-selection-color": o.palette.state.lineTheme,
5260
- "--row-selected-hover-background-color": (o.palette.mode === "light", o.palette.state.toneOp),
5261
- "--rdg-checkbox-color": o.palette.primary.main,
5278
+ "--rdg-background-color": o.vars.palette.background.default,
5279
+ "--rdg-selection-color": o.vars.palette.state.lineTheme,
5280
+ "--row-selected-hover-background-color": (o.colorSchemes.finalTheme.palette.mode === "light", o.vars.palette.state?.toneOp),
5281
+ "--rdg-checkbox-color": o.vars.palette.primary.main,
5262
5282
  "--rdg-checkbox-focus-color": t(
5263
- o.palette.primary.main,
5264
- o.palette.action.selectedOpacity
5283
+ o.colorSchemes.finalTheme.palette.primary.main,
5284
+ o.colorSchemes.finalTheme.palette.action.selectedOpacity
5265
5285
  ),
5266
5286
  "--rdg-border-color": "none",
5267
5287
  "&:last-child .rdg-cell": {
@@ -5269,7 +5289,7 @@ const c = (o) => ({
5269
5289
  borderBottom: "1px solid",
5270
5290
  borderLeft: "0.5px solid",
5271
5291
  borderRight: "0.5px solid",
5272
- borderColor: o.palette.state.borderDisable
5292
+ borderColor: o.vars.palette.state.borderDisable
5273
5293
  }
5274
5294
  },
5275
5295
  '& [role="columnheader"]': {
@@ -5278,21 +5298,21 @@ const c = (o) => ({
5278
5298
  },
5279
5299
  "& .rdg-row": {
5280
5300
  '&[aria-selected="false"] .rdg-cell': {
5281
- backgroundColor: o.palette.background.default,
5301
+ backgroundColor: o.vars.palette.background.default,
5282
5302
  borderLeft: "0.5px solid",
5283
- borderColor: o.palette.state.borderDisable
5303
+ borderColor: o.vars.palette.state.borderDisable
5284
5304
  },
5285
5305
  "&:nth-of-type(odd)": {
5286
5306
  "& .rdg-cell": {
5287
- backgroundColor: o.palette.background.default
5307
+ backgroundColor: o.vars.palette.background.default
5288
5308
  }
5289
5309
  },
5290
5310
  '&[aria-selected="true"] .rdg-cell': {
5291
- backgroundColor: o.palette.state.toneOp
5311
+ backgroundColor: o.vars.palette.state?.toneOp
5292
5312
  },
5293
5313
  "&:hover": {
5294
5314
  "& .rdg-cell": {
5295
- backgroundColor: `${o.palette.state.gridHover}!important`,
5315
+ backgroundColor: `${o.vars.palette.state.gridHover}!important`,
5296
5316
  transition: "background-color 0.1s linear"
5297
5317
  }
5298
5318
  },
@@ -5302,8 +5322,8 @@ const c = (o) => ({
5302
5322
  transition: "background-color 0.1s linear",
5303
5323
  borderBottom: "0px solid transparent",
5304
5324
  borderRight: "0.5px solid transparent",
5305
- borderColor: o.palette.background.background,
5306
- color: o.palette.text.secondary,
5325
+ borderColor: o.vars.palette.background.background,
5326
+ color: o.vars.palette.text.secondary,
5307
5327
  display: "inline",
5308
5328
  justifyContent: "center",
5309
5329
  alignItems: "center",
@@ -5311,7 +5331,7 @@ const c = (o) => ({
5311
5331
  gridTemplateColumns: "auto",
5312
5332
  "& .rdg-text-editor": {
5313
5333
  textAlign: "inherit",
5314
- color: o.palette.text.secondary,
5334
+ color: o.vars.palette.text.secondary,
5315
5335
  padding: "0 8px",
5316
5336
  lineHeight: "var(--rdg-row-height)!important",
5317
5337
  border: "0",
@@ -5319,8 +5339,8 @@ const c = (o) => ({
5319
5339
  borderBottom: "1px solid",
5320
5340
  borderLeft: "0.5px solid",
5321
5341
  borderRight: "0.5px solid",
5322
- borderColor: `${o.palette.state.borderDisable}!important`,
5323
- ...o.typography.body
5342
+ borderColor: `${o.vars.palette.state.borderDisable}!important`,
5343
+ ...o.colorSchemes.finalTheme.typography.body
5324
5344
  },
5325
5345
  "&.rdg-cell-frozen": {
5326
5346
  display: "flex",
@@ -5330,7 +5350,7 @@ const c = (o) => ({
5330
5350
  },
5331
5351
  "&:after": {
5332
5352
  content: '""',
5333
- borderRight: `0px solid ${o.palette.divider}`,
5353
+ borderRight: `0px solid ${o.vars.palette.divider}`,
5334
5354
  position: "absolute",
5335
5355
  right: "0px",
5336
5356
  height: "100%"
@@ -5340,11 +5360,11 @@ const c = (o) => ({
5340
5360
  }
5341
5361
  },
5342
5362
  '& .rdg-cell[role="gridcell"]': {
5343
- ...o.typography.body,
5363
+ ...o.colorSchemes.finalTheme.typography.body,
5344
5364
  lineHeight: "var(--rdg-row-height)!important"
5345
5365
  },
5346
5366
  '& .rdg-cell[role="columnheader"] .rdg-header-sort-name': {
5347
- ...o.typography.bodyDens,
5367
+ ...o.colorSchemes.finalTheme.typography.bodyDens,
5348
5368
  lineHeight: "var(--rdg-row-height)!important",
5349
5369
  height: "28px",
5350
5370
  display: "flex",
@@ -5352,15 +5372,15 @@ const c = (o) => ({
5352
5372
  alignItems: "center"
5353
5373
  },
5354
5374
  '& .rdg-cell[role="columnheader"] [draggable="true"]': {
5355
- ...o.typography.bodyDens,
5375
+ ...o.colorSchemes.finalTheme.typography.bodyDens,
5356
5376
  lineHeight: "var(--rdg-row-height)!important"
5357
5377
  },
5358
5378
  "& [aria-selected=true]": {
5359
- backgroundColor: o.palette.state.toneOp,
5360
- color: o.palette.text.primary,
5379
+ backgroundColor: o.vars.palette.state?.toneOp,
5380
+ color: o.vars.palette.text.primary,
5361
5381
  outline: "1px solid",
5362
5382
  outlineOffset: "-1px",
5363
- outlineColor: o.palette.state.lineTheme
5383
+ outlineColor: o.vars.palette.state.lineTheme
5364
5384
  },
5365
5385
  "& .rdg-cell.rdg-cell-align-left": {
5366
5386
  textAlign: "start",
@@ -5380,26 +5400,26 @@ const c = (o) => ({
5380
5400
  },
5381
5401
  "& .rdg-row :last-child:after": {
5382
5402
  borderRight: "0px solid",
5383
- borderColor: o.palette.background.neutral
5403
+ borderColor: o.vars.palette.background.neutral
5384
5404
  },
5385
5405
  "& .rdg-header-row": {
5386
- backgroundColor: o.palette.background.header
5406
+ backgroundColor: o.vars.palette.background.header
5387
5407
  },
5388
5408
  "& .rdg-header-row .rdg-cell": {
5389
5409
  fontFamily: o.typography.body,
5390
5410
  fontWeight: o.typography.body,
5391
5411
  fontSize: o.typography.body,
5392
- color: o.palette.text.primary,
5412
+ color: o.vars.palette.text.primary,
5393
5413
  borderRight: "0.5px solid !important",
5394
5414
  boxShadow: "none",
5395
5415
  gridTemplateColumns: "auto",
5396
5416
  borderBottom: "0.5px solid !important",
5397
- borderColor: `${o.palette.state.borderDisable}!important`,
5417
+ borderColor: `${o.vars.palette.state.borderDisable}!important`,
5398
5418
  '& [draggable="true"]': {
5399
5419
  fontSize: o.typography.body
5400
5420
  },
5401
5421
  "&.rdg-cell-frozen-last": {
5402
- borderColor: o.palette.background.default,
5422
+ borderColor: o.vars.palette.background.default,
5403
5423
  boxShadow: "var(--rdg-frozen-cell-box-shadow)",
5404
5424
  "&:after": {}
5405
5425
  },
@@ -5429,7 +5449,7 @@ const c = (o) => ({
5429
5449
  width: "100%",
5430
5450
  flexGrow: "1",
5431
5451
  alignItems: "center",
5432
- color: o.palette.text.primary
5452
+ color: o.vars.palette.text.primary
5433
5453
  }
5434
5454
  }
5435
5455
  },
@@ -5499,7 +5519,7 @@ const c = (o) => ({
5499
5519
  alignItems: "center",
5500
5520
  gap: "2px",
5501
5521
  width: "fit-content",
5502
- background: o.palette.background.default,
5522
+ background: o.vars.palette.background.default,
5503
5523
  borderRadius: "4px",
5504
5524
  margin: "auto",
5505
5525
  [o.breakpoints.down("sm")]: {
@@ -5526,8 +5546,8 @@ const c = (o) => ({
5526
5546
  alignItems: "center",
5527
5547
  "& .M4LPager-select": {
5528
5548
  "& .MuiSelect-select": {
5529
- ...o.typography.body,
5530
- color: o.palette.text.primary
5549
+ ...o.colorSchemes.finalTheme.typography.body,
5550
+ color: o.vars.palette.text.primary
5531
5551
  },
5532
5552
  "& .MuiSelect-icon": {
5533
5553
  right: "0",
@@ -5542,11 +5562,11 @@ const c = (o) => ({
5542
5562
  "& .MuiInputBase-root": {
5543
5563
  padding: "4px 2px 4px 6px",
5544
5564
  borderRadius: "4px",
5545
- background: o.palette.background.default,
5565
+ background: o.vars.palette.background.default,
5546
5566
  overflow: "hidden",
5547
5567
  minWidth: "fit-content",
5548
5568
  "& .MuiSvgIcon-root": {
5549
- background: o.palette.background.default
5569
+ background: o.vars.palette.background.default
5550
5570
  }
5551
5571
  },
5552
5572
  "& .M4LPager-skeletonRoot": {
@@ -5581,8 +5601,8 @@ const c = (o) => ({
5581
5601
  "&.M4LPager-selectMenuPopover": {
5582
5602
  "& .MuiList-root": {
5583
5603
  "& .MuiMenuItem-root": {
5584
- ...o.typography.body,
5585
- color: o.palette.text.primary
5604
+ ...o.colorSchemes.finalTheme.typography.body,
5605
+ color: o.vars.palette.text.primary
5586
5606
  }
5587
5607
  }
5588
5608
  }
@@ -5603,8 +5623,8 @@ const c = (o) => ({
5603
5623
  height: "36px"
5604
5624
  },
5605
5625
  "& .MuiTypography-root": {
5606
- color: o.palette.text.primary,
5607
- ...o.typography.body
5626
+ color: o.vars.palette.text.primary,
5627
+ ...o.colorSchemes.finalTheme.typography.body
5608
5628
  },
5609
5629
  "&.M4LCheckBox-small ": {
5610
5630
  "& .MuiButtonBase-root": {
@@ -5634,24 +5654,24 @@ const c = (o) => ({
5634
5654
  borderRadius: "4px"
5635
5655
  },
5636
5656
  "& .MuiButtonBase-root:hover": {
5637
- backgroundColor: o.palette.state?.active12,
5657
+ backgroundColor: o.vars.palette.state?.active12,
5638
5658
  borderRadius: "4px"
5639
5659
  },
5640
5660
  "& .Mui-focusVisible": {
5641
5661
  border: "1px solid",
5642
- borderColor: o.palette.state?.focus
5662
+ borderColor: o.vars.palette.state?.focus
5643
5663
  },
5644
5664
  "& .MuiButtonBase-root:hover .MuiSvgIcon-root": {
5645
- fill: o.palette.state?.hover
5665
+ fill: o.vars.palette.state?.hover
5646
5666
  },
5647
5667
  "& .M4LCheckBox-checkTypography .MuiTypography-root": {
5648
- ...o.typography.body
5668
+ ...o.colorSchemes.finalTheme.typography.body
5649
5669
  },
5650
5670
  "& .M4LCheckBox-stateDisabled .MuiSvgIcon-root": {
5651
- fill: o.palette.state?.default
5671
+ fill: o.vars.palette.state?.default
5652
5672
  },
5653
5673
  "& .M4LCheckBox-stateDisabled .MuiTypography-root": {
5654
- color: o.palette.text.disabled
5674
+ color: o.vars.palette.text.disabled
5655
5675
  },
5656
5676
  "& .MuiButtonBase-root .Mui-focusVisible:focus-visible": {
5657
5677
  outline: "#fff00"
@@ -5686,15 +5706,15 @@ const c = (o) => ({
5686
5706
  display: "none"
5687
5707
  },
5688
5708
  "& .MuiButtonBase-root": {
5689
- background: o.palette.background.background,
5709
+ background: o.vars.palette.background.background,
5690
5710
  borderRadius: "4px 4px 0 0",
5691
5711
  "& .MuiSvgIcon-root": {
5692
- color: o.palette.text.primary
5712
+ color: o.vars.palette.text.primary
5693
5713
  }
5694
5714
  },
5695
5715
  "& .MuiButtonBase-root:hover": {
5696
5716
  "& .MuiSvgIcon-root": {
5697
- color: o.palette.state.active
5717
+ color: o.vars.palette.state.active
5698
5718
  }
5699
5719
  },
5700
5720
  "& .MuiTabs-scroller": {
@@ -5712,7 +5732,7 @@ const c = (o) => ({
5712
5732
  }
5713
5733
  }
5714
5734
  }
5715
- }), Y = (o) => ({
5735
+ }), q = (o) => ({
5716
5736
  M4LNoItemSelected: {
5717
5737
  styleOverrides: {
5718
5738
  "&.M4LNoItemSelected-root": {
@@ -5732,7 +5752,7 @@ const c = (o) => ({
5732
5752
  }
5733
5753
  }
5734
5754
  }
5735
- }), q = (o) => ({
5755
+ }), Y = (o) => ({
5736
5756
  M4LScrollBar: {
5737
5757
  styleOverrides: {
5738
5758
  "&.M4LScrollBar-root": {
@@ -5757,11 +5777,11 @@ const c = (o) => ({
5757
5777
  position: "relative"
5758
5778
  },
5759
5779
  "& .simplebar-track.simplebar-horizontal .simplebar-scrollbar:before": {
5760
- background: o.palette.state.scrollBar,
5780
+ background: o.vars.palette.state.scrollBar,
5761
5781
  borderRadius: "2px"
5762
5782
  },
5763
5783
  "& .simplebar-track.simplebar-vertical .simplebar-scrollbar:before": {
5764
- background: o.palette.state.scrollBar,
5784
+ background: o.vars.palette.state.scrollBar,
5765
5785
  borderRadius: "2px"
5766
5786
  }
5767
5787
  }
@@ -5785,7 +5805,7 @@ const c = (o) => ({
5785
5805
  height: "100%",
5786
5806
  flexDirection: "column",
5787
5807
  gap: "8px",
5788
- background: o.palette.background.default,
5808
+ background: o.vars.palette.background.default,
5789
5809
  borderRadius: "0 4px 4px 4px",
5790
5810
  position: "relative",
5791
5811
  flex: 1,
@@ -5793,7 +5813,7 @@ const c = (o) => ({
5793
5813
  borderLeft: "1px solid",
5794
5814
  borderRight: "1px solid",
5795
5815
  borderBottom: "1px solid",
5796
- borderColor: o.palette.state.borderSecondary,
5816
+ borderColor: o.vars.palette.state.borderSecondary,
5797
5817
  boxSizing: "border-box",
5798
5818
  zIndex: "1",
5799
5819
  top: "-1px",
@@ -5813,7 +5833,7 @@ const c = (o) => ({
5813
5833
  "& .MuiPaper-root": {
5814
5834
  display: "flex",
5815
5835
  flexDirection: "column",
5816
- background: o.palette.background.default,
5836
+ background: o.vars.palette.background.default,
5817
5837
  gap: "8px",
5818
5838
  "& .MuiButtonBase-root": {
5819
5839
  display: "flex",
@@ -5832,9 +5852,9 @@ const c = (o) => ({
5832
5852
  }
5833
5853
  },
5834
5854
  "& .M4LMenuActions-itemDelete": {
5835
- color: o.palette.state.error.normal,
5855
+ color: o.vars.palette.state.error.normal,
5836
5856
  "& .M4LIcon-root .M4LIcon-icon": {
5837
- backgroundColor: o.palette.state.error.normal
5857
+ backgroundColor: o.vars.palette.state.error.normal
5838
5858
  }
5839
5859
  }
5840
5860
  }
@@ -5879,17 +5899,17 @@ const c = (o) => ({
5879
5899
  "& .M4LPrintingSystem-textBoxNodeRoot": {
5880
5900
  height: "auto",
5881
5901
  "&.M4LPrintingSystem-textBoxNodeVariant-h1": {
5882
- ...o.typography.h1,
5902
+ ...o.colorSchemes.finalTheme.typography.h1,
5883
5903
  fontSize: "18px!important"
5884
5904
  },
5885
5905
  "&.M4LPrintingSystem-textBoxNodeVariant-h3": {
5886
- ...o.typography.subtitle
5906
+ ...o.colorSchemes.finalTheme.typography.subtitle
5887
5907
  },
5888
5908
  "&.M4LPrintingSystem-textBoxNodeVariant-body": {
5889
- ...o.typography.body
5909
+ ...o.colorSchemes.finalTheme.typography.body
5890
5910
  },
5891
5911
  "&.M4LPrintingSystem-textBoxNodeVariant-action": {
5892
- ...o.typography.action,
5912
+ ...o.colorSchemes.finalTheme.typography.action,
5893
5913
  fontSize: "10px!important"
5894
5914
  }
5895
5915
  },
@@ -5906,12 +5926,12 @@ const c = (o) => ({
5906
5926
  border: "2px",
5907
5927
  backgroundColor: "#F0F2F2",
5908
5928
  "& .M4LPrintingSystem-paperNodeTitle": {
5909
- ...o.typography.subtitleDens,
5929
+ ...o.colorSchemes.finalTheme.typography.subtitleDens,
5910
5930
  fontSize: "12px!important",
5911
5931
  color: "#364040"
5912
5932
  },
5913
5933
  "& .M4LPrintingSystem-paperNodeTitleSecondary": {
5914
- ...o.typography.subtitleDens,
5934
+ ...o.colorSchemes.finalTheme.typography.subtitleDens,
5915
5935
  fontSize: "12px!important",
5916
5936
  paddingLeft: "10px",
5917
5937
  marginLeft: "10px",
@@ -5948,13 +5968,13 @@ const c = (o) => ({
5948
5968
  }
5949
5969
  },
5950
5970
  "& .M4LPrintingSystem-propertyValueNodeTitle": {
5951
- ...o.typography.body,
5971
+ ...o.colorSchemes.finalTheme.typography.body,
5952
5972
  color: "#323B3B",
5953
5973
  borderBottom: "1px solid",
5954
5974
  borderColor: "#323B3B"
5955
5975
  },
5956
5976
  "& .M4LPrintingSystem-propertyValueNodeContent": {
5957
- ...o.typography.body,
5977
+ ...o.colorSchemes.finalTheme.typography.body,
5958
5978
  width: "100%",
5959
5979
  borderBottom: "1px solid",
5960
5980
  borderColor: "#E9EBEB"
@@ -5982,7 +6002,7 @@ const c = (o) => ({
5982
6002
  borderRadius: "2px",
5983
6003
  backgroundColor: "#E1E9EA",
5984
6004
  flex: "1",
5985
- ...o.typography.bodyDens,
6005
+ ...o.colorSchemes.finalTheme.typography.bodyDens,
5986
6006
  color: "#364040",
5987
6007
  "&:first-of-type": {
5988
6008
  borderTopLeftRadius: "10px"
@@ -5999,7 +6019,7 @@ const c = (o) => ({
5999
6019
  minHeight: "30px",
6000
6020
  height: "auto",
6001
6021
  flex: "1",
6002
- ...o.typography.body,
6022
+ ...o.colorSchemes.finalTheme.typography.body,
6003
6023
  color: "#364040"
6004
6024
  },
6005
6025
  "& .M4LPrintingSystem-gridNodeTr": {
@@ -6028,11 +6048,11 @@ const c = (o) => ({
6028
6048
  "&.M4LFormatter-root": {
6029
6049
  "& .M4LFormatter-booleanFormatterIcon": {
6030
6050
  "& .M4LIcon-icon": {
6031
- backgroundColor: o.palette.text.secondary
6051
+ backgroundColor: o.vars.palette.text.secondary
6032
6052
  },
6033
6053
  "&.M4LFormatter-booleanFormatterCheck": {
6034
6054
  "& .M4LIcon-icon": {
6035
- backgroundColor: o.palette.state.active
6055
+ backgroundColor: o.vars.palette.state.active
6036
6056
  }
6037
6057
  }
6038
6058
  }
@@ -6067,31 +6087,31 @@ const c = (o) => ({
6067
6087
  " .M4LIcon-icon": {
6068
6088
  width: "100px",
6069
6089
  height: "100px",
6070
- backgroundColor: o.palette.state.skeleton.default
6090
+ backgroundColor: o.vars.palette.state.skeleton.default
6071
6091
  }
6072
6092
  },
6073
6093
  "& .M4LoadingError-titleDescription": {
6074
6094
  textAlign: "center"
6075
6095
  },
6076
6096
  "& .M4LoadingError-loadingErrorTitle": {
6077
- ...o.typography.h5,
6078
- color: o.palette.text.primary,
6097
+ ...o.colorSchemes.finalTheme.typography.h5,
6098
+ color: o.vars.palette.text.primary,
6079
6099
  [o.breakpoints.down("sm")]: {
6080
- ...o.typography.h5
6100
+ ...o.colorSchemes.finalTheme.typography.h5
6081
6101
  }
6082
6102
  },
6083
6103
  "& .M4LoadingError-loadingErrorDescription": {
6084
- ...o.typography.paragraphDens,
6085
- color: o.palette.text.secondary
6104
+ ...o.colorSchemes.finalTheme.typography.paragraphDens,
6105
+ color: o.vars.palette.text.secondary
6086
6106
  },
6087
6107
  "& .M4LoadingError-loadingErrorDivider": {
6088
6108
  width: "208px",
6089
6109
  height: "1px",
6090
- background: o.palette.state.borderPrimary
6110
+ background: o.vars.palette.state.borderPrimary
6091
6111
  },
6092
6112
  "& .MuiTypography-paragraph": {
6093
- ...o.typography.paragraph,
6094
- color: o.palette.text.primary
6113
+ ...o.colorSchemes.finalTheme.typography.paragraph,
6114
+ color: o.vars.palette.text.primary
6095
6115
  },
6096
6116
  "& .MuiButtonBase-root": {}
6097
6117
  }
@@ -6117,7 +6137,7 @@ const c = (o) => ({
6117
6137
  }
6118
6138
  }
6119
6139
  }
6120
- }), eo = (o) => ({
6140
+ }), ro = (o) => ({
6121
6141
  M4LLoadingButton: {
6122
6142
  styleOverrides: {
6123
6143
  "&.M4LLoadingButton-root": {
@@ -6136,7 +6156,7 @@ const c = (o) => ({
6136
6156
  }
6137
6157
  },
6138
6158
  "& .MuiCircularProgress-root": {
6139
- color: `${o.palette.text.primary}!important`
6159
+ color: `${o.vars.palette.text.primary}!important`
6140
6160
  },
6141
6161
  "& .M4LLoadingButton-skeleton ": {
6142
6162
  height: "100%!important",
@@ -6149,7 +6169,7 @@ const c = (o) => ({
6149
6169
  transition: "all .5s ease",
6150
6170
  borderRadius: "4px",
6151
6171
  border: "1px solid transparent",
6152
- ...o.typography.action,
6172
+ ...o.colorSchemes.finalTheme.typography.action,
6153
6173
  "& .M4LIcon-icon": {
6154
6174
  transition: "all .5s ease"
6155
6175
  },
@@ -6159,7 +6179,7 @@ const c = (o) => ({
6159
6179
  "&::before": {
6160
6180
  inset: "0",
6161
6181
  border: "1px solid",
6162
- borderColor: o.palette.state?.focus,
6182
+ borderColor: o.vars.palette.state?.focus,
6163
6183
  borderRadius: "4px",
6164
6184
  transform: "scale(1.07, 1.36)",
6165
6185
  position: "absolute",
@@ -6168,39 +6188,39 @@ const c = (o) => ({
6168
6188
  },
6169
6189
  "&.M4LLoadingButton-isDisabled": {
6170
6190
  "& .MuiButtonBase-root": {
6171
- color: `${o.palette.text.disabled}!important`,
6191
+ color: `${o.vars.palette.text.disabled}!important`,
6172
6192
  "& .M4LIcon-icon": {
6173
- backgroundColor: `${o.palette.text.disabled}!important`
6193
+ backgroundColor: `${o.vars.palette.text.disabled}!important`
6174
6194
  }
6175
6195
  },
6176
6196
  "&.M4LLoadingButton-variantContained": {
6177
6197
  "& .MuiButtonBase-root": {
6178
- color: o.palette.text.disabled,
6198
+ color: o.vars.palette.text.disabled,
6179
6199
  "& .M4LIcon-icon": {
6180
- backgroundColor: o.palette.text.disabled
6200
+ backgroundColor: o.vars.palette.text.disabled
6181
6201
  },
6182
6202
  "&:hover": {
6183
- backgroundColor: o.palette.state?.default,
6184
- color: o.palette.text.disabled,
6203
+ backgroundColor: o.vars.palette.state?.default,
6204
+ color: o.vars.palette.text.disabled,
6185
6205
  "& .M4LIcon-icon": {
6186
- backgroundColor: o.palette.text.disabled,
6187
- color: o.palette.text.disabled
6206
+ backgroundColor: o.vars.palette.text.disabled,
6207
+ color: o.vars.palette.text.disabled
6188
6208
  }
6189
6209
  },
6190
6210
  "&:active": {
6191
- backgroundColor: o.palette.state?.default,
6192
- color: o.palette.text.disabled,
6211
+ backgroundColor: o.vars.palette.state?.default,
6212
+ color: o.vars.palette.text.disabled,
6193
6213
  "& .M4LIcon-icon": {
6194
- backgroundColor: o.palette.text.disabled,
6195
- color: o.palette.text.disabled
6214
+ backgroundColor: o.vars.palette.text.disabled,
6215
+ color: o.vars.palette.text.disabled
6196
6216
  }
6197
6217
  },
6198
6218
  "&.Mui-focusVisible": {
6199
- backgroundColor: o.palette.state?.default,
6200
- color: o.palette.text.disabled,
6219
+ backgroundColor: o.vars.palette.state?.default,
6220
+ color: o.vars.palette.text.disabled,
6201
6221
  "& .M4LIcon-icon": {
6202
- backgroundColor: o.palette.text.disabled,
6203
- color: o.palette.text.disabled
6222
+ backgroundColor: o.vars.palette.text.disabled,
6223
+ color: o.vars.palette.text.disabled
6204
6224
  },
6205
6225
  "&::before": {
6206
6226
  content: "none"
@@ -6233,12 +6253,12 @@ const c = (o) => ({
6233
6253
  },
6234
6254
  "& .M4LTypography-root": {
6235
6255
  "& .MuiTypography-root": {
6236
- color: o.palette.patronus?.marbleLight[30]
6256
+ color: o.vars.palette.patronus?.marbleLight[30]
6237
6257
  }
6238
6258
  },
6239
6259
  "& .MuiButtonBase-root": {
6240
- backgroundColor: o.palette.state?.active,
6241
- color: o.palette.patronus?.marbleLight[10],
6260
+ backgroundColor: o.vars.palette.state?.active,
6261
+ color: o.vars.palette.patronus?.marbleLight[10],
6242
6262
  boxShadow: o.customShadows?.primary,
6243
6263
  position: "relative",
6244
6264
  "& .M4LTypography-root": {
@@ -6247,29 +6267,29 @@ const c = (o) => ({
6247
6267
  }
6248
6268
  },
6249
6269
  "& .M4LIcon-icon": {
6250
- backgroundColor: o.palette.text.secondary
6270
+ backgroundColor: o.vars.palette.text.secondary
6251
6271
  },
6252
6272
  "&:hover": {
6253
- backgroundColor: o.palette.state?.hover,
6273
+ backgroundColor: o.vars.palette.state?.hover,
6254
6274
  "& .M4LIcon-icon": {
6255
- backgroundColor: o.palette.patronus?.marbleLight[10]
6275
+ backgroundColor: o.vars.palette.patronus?.marbleLight[10]
6256
6276
  },
6257
6277
  "& .MuiTypography-root": {
6258
6278
  color: "#fff"
6259
6279
  }
6260
6280
  },
6261
6281
  "&:active": {
6262
- backgroundColor: o.palette.state?.active,
6263
- color: o.palette.patronus?.marbleLight[10],
6282
+ backgroundColor: o.vars.palette.state?.active,
6283
+ color: o.vars.palette.patronus?.marbleLight[10],
6264
6284
  "& .M4LIcon-icon": {
6265
- backgroundColor: o.palette.patronus?.marbleLight[10]
6285
+ backgroundColor: o.vars.palette.patronus?.marbleLight[10]
6266
6286
  }
6267
6287
  },
6268
6288
  "&.Mui-focusVisible": {
6269
- backgroundColor: o.palette.state?.active,
6270
- color: o.palette.patronus?.marbleLight[10],
6289
+ backgroundColor: o.vars.palette.state?.active,
6290
+ color: o.vars.palette.patronus?.marbleLight[10],
6271
6291
  "& .M4LIcon-icon": {
6272
- backgroundColor: o.palette.patronus?.marbleLight[10]
6292
+ backgroundColor: o.vars.palette.patronus?.marbleLight[10]
6273
6293
  },
6274
6294
  "&::before": {
6275
6295
  content: "''"
@@ -6280,33 +6300,33 @@ const c = (o) => ({
6280
6300
  "&.M4LLoadingButton-variantOutlined": {
6281
6301
  "& .MuiButtonBase-root": {
6282
6302
  border: "1px solid",
6283
- borderColor: o.palette.text.secondary,
6284
- color: o.palette.text.secondary,
6303
+ borderColor: o.vars.palette.text.secondary,
6304
+ color: o.vars.palette.text.secondary,
6285
6305
  "& .M4LIcon-icon": {
6286
- backgroundColor: o.palette.text.secondary
6306
+ backgroundColor: o.vars.palette.text.secondary
6287
6307
  },
6288
6308
  "&:hover": {
6289
- borderColor: o.palette.state?.hover,
6290
- color: o.palette.state?.hover,
6291
- backgroundColor: o.palette.state?.active12,
6309
+ borderColor: o.vars.palette.state?.hover,
6310
+ color: o.vars.palette.state?.hover,
6311
+ backgroundColor: o.vars.palette.state?.active12,
6292
6312
  "& .M4LIcon-icon": {
6293
- backgroundColor: o.palette.state?.hover
6313
+ backgroundColor: o.vars.palette.state?.hover
6294
6314
  }
6295
6315
  },
6296
6316
  "&:active": {
6297
- borderColor: o.palette.state?.active,
6298
- color: o.palette.state?.active,
6317
+ borderColor: o.vars.palette.state?.active,
6318
+ color: o.vars.palette.state?.active,
6299
6319
  backgroundColor: "transparent",
6300
6320
  "& .M4LIcon-icon": {
6301
- backgroundColor: o.palette.state?.active
6321
+ backgroundColor: o.vars.palette.state?.active
6302
6322
  }
6303
6323
  },
6304
6324
  "&.Mui-focusVisible": {
6305
- borderColor: o.palette.state?.active,
6306
- color: o.palette.state?.active,
6325
+ borderColor: o.vars.palette.state?.active,
6326
+ color: o.vars.palette.state?.active,
6307
6327
  backgroundColor: "transparent",
6308
6328
  "& .M4LIcon-icon": {
6309
- backgroundColor: o.palette.state?.active
6329
+ backgroundColor: o.vars.palette.state?.active
6310
6330
  },
6311
6331
  "&::before": {
6312
6332
  content: "''"
@@ -6316,29 +6336,29 @@ const c = (o) => ({
6316
6336
  },
6317
6337
  "&.M4LLoadingButton-variantText": {
6318
6338
  "& .MuiButtonBase-root": {
6319
- color: o.palette.text.secondary,
6339
+ color: o.vars.palette.text.secondary,
6320
6340
  "& .M4LIcon-icon": {
6321
- backgroundColor: o.palette.text.secondary
6341
+ backgroundColor: o.vars.palette.text.secondary
6322
6342
  },
6323
6343
  "&:hover": {
6324
- backgroundColor: o.palette.state?.active12,
6325
- color: o.palette.state?.hover,
6344
+ backgroundColor: o.vars.palette.state?.active12,
6345
+ color: o.vars.palette.state?.hover,
6326
6346
  "& .M4LIcon-icon": {
6327
- backgroundColor: o.palette.state?.hover
6347
+ backgroundColor: o.vars.palette.state?.hover
6328
6348
  }
6329
6349
  },
6330
6350
  "&:active": {
6331
6351
  backgroundColor: "transparent",
6332
- color: o.palette.state?.active,
6352
+ color: o.vars.palette.state?.active,
6333
6353
  "& .M4LIcon-icon": {
6334
- backgroundColor: o.palette.state?.active
6354
+ backgroundColor: o.vars.palette.state?.active
6335
6355
  }
6336
6356
  },
6337
6357
  "&.Mui-focusVisible": {
6338
6358
  backgroundColor: "transparent",
6339
- color: o.palette.state?.active,
6359
+ color: o.vars.palette.state?.active,
6340
6360
  "& .M4LIcon-icon": {
6341
- backgroundColor: o.palette.state?.active
6361
+ backgroundColor: o.vars.palette.state?.active
6342
6362
  },
6343
6363
  "&:before": {
6344
6364
  content: "''"
@@ -6349,7 +6369,7 @@ const c = (o) => ({
6349
6369
  }
6350
6370
  }
6351
6371
  }
6352
- }), ro = (o) => ({
6372
+ }), eo = (o) => ({
6353
6373
  M4LToastContainer: {
6354
6374
  styleOverrides: {
6355
6375
  "&.M4LToastContainer-root": {
@@ -6364,8 +6384,8 @@ const c = (o) => ({
6364
6384
  "& .Toastify__toast": {
6365
6385
  padding: "8px",
6366
6386
  marginBottom: "0px",
6367
- backgroundColor: o.palette.background.default,
6368
- boxShadow: o.customShadows.z3,
6387
+ backgroundColor: o.vars.palette.background.default,
6388
+ boxShadow: o.customShadows?.z2,
6369
6389
  minHeight: "54px !important",
6370
6390
  "& .Toastify__toast-body": {
6371
6391
  margin: "0px",
@@ -6386,39 +6406,39 @@ const c = (o) => ({
6386
6406
  borderRadius: "2px"
6387
6407
  },
6388
6408
  "& .M4LToastContainer-toastMessageInfo": {
6389
- ...o.typography.bodyDens,
6390
- color: o.palette.text.primary
6409
+ ...o.colorSchemes.finalTheme.typography.bodyDens,
6410
+ color: o.vars.palette.text.primary
6391
6411
  }
6392
6412
  }
6393
6413
  },
6394
6414
  "& .Toastify__close-button": {
6395
6415
  margin: "auto auto",
6396
6416
  "& > svg": {
6397
- fill: o.palette.text.primary
6417
+ fill: o.vars.palette.text.primary
6398
6418
  }
6399
6419
  },
6400
6420
  "&.Toastify__toast--info": {
6401
6421
  "& .Toastify__toast-body": {
6402
6422
  "& .M4LToastContainer-toastMessageContainer": {
6403
6423
  "& .M4LToastContainer-toastMessageIcon": {
6404
- background: `${o.palette.state.info.normal} !important`
6424
+ background: `${o.vars.palette.state.info.normal} !important`
6405
6425
  }
6406
6426
  }
6407
6427
  }
6408
6428
  },
6409
6429
  "&.Toastify__toast--success": {
6410
6430
  "& .M4LToastContainer-toastMessageIcon": {
6411
- background: `${o.palette.state.success.normal} !important`
6431
+ background: `${o.vars.palette.state.success.normal} !important`
6412
6432
  }
6413
6433
  },
6414
6434
  "&.Toastify__toast--warning": {
6415
6435
  "& .M4LToastContainer-toastMessageIcon": {
6416
- background: `${o.palette.state.warning.normal} !important`
6436
+ background: `${o.vars.palette.state.warning.normal} !important`
6417
6437
  }
6418
6438
  },
6419
6439
  "&.Toastify__toast--error": {
6420
6440
  "& .M4LToastContainer-toastMessageIcon": {
6421
- background: `${o.palette.state.error.normal} !important`
6441
+ background: `${o.vars.palette.state.error.normal} !important`
6422
6442
  }
6423
6443
  }
6424
6444
  }
@@ -6467,25 +6487,25 @@ const c = (o) => ({
6467
6487
  "& .M4LTopBar-ContainerAccordionCase1": {
6468
6488
  "& .M4LIcon-root": {
6469
6489
  "& .M4LIcon-icon": {
6470
- backgroundColor: o.palette.primary.main
6490
+ backgroundColor: o.vars.palette.primary.main
6471
6491
  }
6472
6492
  },
6473
6493
  "& .MuiButtonBase-root": {
6474
- color: o.palette.primary.main
6494
+ color: o.vars.palette.primary.main
6475
6495
  }
6476
6496
  },
6477
6497
  "& .M4LTopBar-ContainerAccordion": {
6478
6498
  "& .M4LIcon-root": {
6479
6499
  "& .M4LIcon-icon": {
6480
- backgroundColor: o.palette.primary.main
6500
+ backgroundColor: o.vars.palette.primary.main
6481
6501
  }
6482
6502
  },
6483
6503
  "& .MuiButtonBase-root": {
6484
- color: o.palette.primary.main
6504
+ color: o.vars.palette.primary.main
6485
6505
  }
6486
6506
  },
6487
6507
  "& .MuiButtonBase-root": {
6488
- color: o.palette.primary.main
6508
+ color: o.vars.palette.primary.main
6489
6509
  }
6490
6510
  }
6491
6511
  }
@@ -6498,7 +6518,7 @@ const c = (o) => ({
6498
6518
  "& .M4LTopBar-ItemSelect": {
6499
6519
  "&.M4LTopBar-IsActive": {
6500
6520
  "& .MuiButtonBase-root": {
6501
- color: o.palette.primary.main
6521
+ color: o.vars.palette.primary.main
6502
6522
  }
6503
6523
  }
6504
6524
  }
@@ -6515,7 +6535,7 @@ const c = (o) => ({
6515
6535
  alignItems: "center",
6516
6536
  padding: "8px 80px",
6517
6537
  minHeight: "80px",
6518
- backgroundColor: o.palette.background.default,
6538
+ backgroundColor: o.vars.palette.background.default,
6519
6539
  position: "fixed",
6520
6540
  zIndex: "100",
6521
6541
  borderBottom: "1px solid rgba(9, 30, 66, 0.10)",
@@ -6566,13 +6586,13 @@ const c = (o) => ({
6566
6586
  "& .M4LFieldLabel-mandatory": {
6567
6587
  marginLeft: "2px",
6568
6588
  "& .MuiTypography-root": {
6569
- color: o.palette.text.secondary
6589
+ color: o.vars.palette.text.secondary
6570
6590
  }
6571
6591
  },
6572
6592
  "& .M4LFieldLabel-tooltip": {
6573
6593
  marginLeft: "6px",
6574
6594
  "& .M4LIcon-root .M4LIcon-icon": {
6575
- backgroundColor: o.palette.info.main
6595
+ backgroundColor: o.vars.palette.info.main
6576
6596
  }
6577
6597
  }
6578
6598
  }
@@ -6580,8 +6600,8 @@ const c = (o) => ({
6580
6600
  }
6581
6601
  });
6582
6602
  export {
6583
- F as A,
6584
- H as B,
6603
+ H as A,
6604
+ F as B,
6585
6605
  z as C,
6586
6606
  V as D,
6587
6607
  O as E,
@@ -6590,9 +6610,9 @@ export {
6590
6610
  $ as H,
6591
6611
  _ as I,
6592
6612
  U as J,
6593
- Y as K,
6594
- q as L,
6595
- eo as M,
6613
+ q as K,
6614
+ Y as L,
6615
+ ro as M,
6596
6616
  X as N,
6597
6617
  J as O,
6598
6618
  K as P,
@@ -6600,7 +6620,7 @@ export {
6600
6620
  Z as R,
6601
6621
  oo as S,
6602
6622
  to as T,
6603
- ro as U,
6623
+ eo as U,
6604
6624
  ao as V,
6605
6625
  io as W,
6606
6626
  no as X,
@@ -6609,28 +6629,28 @@ export {
6609
6629
  so as _,
6610
6630
  c as a,
6611
6631
  W as b,
6612
- g as c,
6613
- x as d,
6632
+ x as c,
6633
+ g as d,
6614
6634
  u as e,
6615
6635
  b as f,
6616
- w as g,
6636
+ f as g,
6617
6637
  M as h,
6618
6638
  G as i,
6619
- L as j,
6639
+ v as j,
6620
6640
  N as k,
6621
- y as l,
6622
- f as m,
6641
+ L as l,
6642
+ y as m,
6623
6643
  h as n,
6624
- v as o,
6625
- k as p,
6626
- C as q,
6627
- m as r,
6628
- B as s,
6629
- I as t,
6630
- S as u,
6631
- R as v,
6632
- T as w,
6644
+ w as o,
6645
+ S as p,
6646
+ m as q,
6647
+ C as r,
6648
+ k as s,
6649
+ B as t,
6650
+ I as u,
6651
+ T as v,
6652
+ R as w,
6633
6653
  A as x,
6634
- P as y,
6635
- D as z
6654
+ D as y,
6655
+ P as z
6636
6656
  };