@m4l/styles 6.4.0 → 6.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config.d.ts +1 -1
- package/index.js +34 -30
- package/package.json +20 -10
- package/theme/breakpoints.d.ts +10 -0
- package/theme/index.js +1 -0
- package/theme/ourTheme.js +25 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.js +145 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.js +283 -0
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.js +118 -0
- package/theme/overrides/M4LExtendedComponents/M4LAppBarCommercial.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAppBarCommercial.js +25 -0
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.js +498 -0
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +3 -3
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.js +565 -0
- package/theme/overrides/M4LExtendedComponents/M4LAvatar.js +46 -0
- package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LBadge.js +35 -0
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LButton.js +257 -0
- package/theme/overrides/M4LExtendedComponents/M4LCheckBox.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LCheckBox.js +83 -0
- package/theme/overrides/M4LExtendedComponents/M4LCommonActions.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LCommonActions.js +17 -0
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.js +392 -0
- package/theme/overrides/M4LExtendedComponents/M4LErrorLabel.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LErrorLabel.js +28 -0
- package/theme/overrides/M4LExtendedComponents/M4LFieldLabel.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LFieldLabel.js +27 -0
- package/theme/overrides/M4LExtendedComponents/M4LFormatter.js +21 -0
- package/theme/overrides/M4LExtendedComponents/M4LGridLayout.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LGridLayout.js +12 -0
- package/theme/overrides/M4LExtendedComponents/M4LHamburgerMenuCommercial.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LHamburgerMenuCommercial.js +14 -0
- package/theme/overrides/M4LExtendedComponents/M4LIcon.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LIcon.js +53 -0
- package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LIconButton.js +153 -0
- package/theme/overrides/M4LExtendedComponents/M4LImage.js +15 -0
- package/theme/overrides/M4LExtendedComponents/M4LImageButton.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LImageButton.js +58 -0
- package/theme/overrides/M4LExtendedComponents/M4LMFLoader.js +23 -0
- package/theme/overrides/M4LExtendedComponents/M4LMap.js +283 -0
- package/theme/overrides/M4LExtendedComponents/M4LMapGpsTools.js +62 -0
- package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +3 -3
- package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.js +38 -0
- package/theme/overrides/M4LExtendedComponents/M4LMenuActions.js +38 -0
- package/theme/overrides/M4LExtendedComponents/M4LModalDialog.js +152 -0
- package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.js +21 -0
- package/theme/overrides/M4LExtendedComponents/M4LNavLink.js +24 -0
- package/theme/overrides/M4LExtendedComponents/M4LNoItemSelected.js +24 -0
- package/theme/overrides/M4LExtendedComponents/M4LPDFViewer.js +19 -0
- package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +5 -5
- package/theme/overrides/M4LExtendedComponents/M4LPager.js +112 -0
- package/theme/overrides/M4LExtendedComponents/M4LPaperForm.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LPaperForm.js +58 -0
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.js +184 -0
- package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LPopover.js +95 -0
- package/theme/overrides/M4LExtendedComponents/M4LPrintingSystem.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPrintingSystem.js +186 -0
- package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.js +123 -0
- package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.js +19 -0
- package/theme/overrides/M4LExtendedComponents/M4LScrollBar.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LScrollBar.js +36 -0
- package/theme/overrides/M4LExtendedComponents/M4LSectionCommercial.js +23 -0
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.js +1749 -0
- package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.js +142 -0
- package/theme/overrides/M4LExtendedComponents/M4LStack.js +17 -0
- package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LTab.js +69 -0
- package/theme/overrides/M4LExtendedComponents/M4LTabContent.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LTabContent.js +35 -0
- package/theme/overrides/M4LExtendedComponents/M4LTabs.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LTabs.js +44 -0
- package/theme/overrides/M4LExtendedComponents/M4LTooltip.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LTooltip.js +26 -0
- package/theme/overrides/M4LExtendedComponents/M4LTopBar.js +71 -0
- package/theme/overrides/M4LExtendedComponents/M4LTypography.js +16 -0
- package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.js +25 -0
- package/theme/overrides/M4LExtendedComponents/M4LinearProgressIndeterminate.js +58 -0
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.js +243 -0
- package/theme/overrides/M4LExtendedComponents/M4LoadingError.d.ts +3 -3
- package/theme/overrides/M4LExtendedComponents/M4LoadingError.js +71 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.js +384 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.js +13 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.js +80 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFColorPicker.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFColorPicker.js +133 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.js +184 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFPeriod.js +12 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.js +175 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFTextFieldPassword.js +12 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.d.ts +12 -12
- package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.js +188 -0
- package/theme/overrides/MUIComponents/Accordion.d.ts +3 -3
- package/theme/overrides/MUIComponents/Accordion.js +80 -0
- package/theme/overrides/MUIComponents/Alert.d.ts +97 -0
- package/theme/overrides/MUIComponents/Autocomplete.d.ts +1 -1
- package/theme/overrides/MUIComponents/Autocomplete.js +38 -0
- package/theme/overrides/MUIComponents/Avatar.js +30 -0
- package/theme/overrides/MUIComponents/Backdrop.d.ts +1 -1
- package/theme/overrides/MUIComponents/Backdrop.js +24 -0
- package/theme/overrides/MUIComponents/Badge.d.ts +1 -1
- package/theme/overrides/MUIComponents/Badge.js +18 -0
- package/theme/overrides/MUIComponents/Breadcrumbs.d.ts +1 -1
- package/theme/overrides/MUIComponents/Breadcrumbs.js +15 -0
- package/theme/overrides/MUIComponents/Button.js +68 -0
- package/theme/overrides/MUIComponents/ButtonGroup.d.ts +1 -1
- package/theme/overrides/MUIComponents/ButtonGroup.js +45 -0
- package/theme/overrides/MUIComponents/Card.d.ts +1 -1
- package/theme/overrides/MUIComponents/Card.js +36 -0
- package/theme/overrides/MUIComponents/Checkbox.d.ts +1 -1
- package/theme/overrides/MUIComponents/Checkbox.js +47 -0
- package/theme/overrides/MUIComponents/Chip.d.ts +40 -0
- package/theme/overrides/MUIComponents/CmpDisenoTest.js +8 -0
- package/theme/overrides/MUIComponents/ControlLabel.d.ts +3 -3
- package/theme/overrides/MUIComponents/ControlLabel.js +28 -0
- package/theme/overrides/MUIComponents/CssBaseline.d.ts +1 -1
- package/theme/overrides/MUIComponents/CssBaseline.js +46 -0
- package/theme/overrides/MUIComponents/CustomIcons.d.ts +14 -0
- package/theme/overrides/MUIComponents/DataGrid.d.ts +1 -1
- package/theme/overrides/MUIComponents/DataGrid.js +100 -0
- package/theme/overrides/MUIComponents/Drawer.d.ts +1 -1
- package/theme/overrides/MUIComponents/Drawer.js +44 -0
- package/theme/overrides/MUIComponents/Fab.d.ts +1 -1
- package/theme/overrides/MUIComponents/Fab.js +38 -0
- package/theme/overrides/MUIComponents/IconButton.d.ts +1 -1
- package/theme/overrides/MUIComponents/IconButton.js +33 -0
- package/theme/overrides/MUIComponents/Input.d.ts +4 -4
- package/theme/overrides/MUIComponents/Input.js +99 -0
- package/theme/overrides/MUIComponents/InputLabel.d.ts +1 -1
- package/theme/overrides/MUIComponents/InputLabel.js +18 -0
- package/theme/overrides/MUIComponents/Link.d.ts +1 -1
- package/theme/overrides/MUIComponents/Link.js +19 -0
- package/theme/overrides/MUIComponents/List.d.ts +1 -1
- package/theme/overrides/MUIComponents/List.js +36 -0
- package/theme/overrides/MUIComponents/LoadingButton.d.ts +3 -3
- package/theme/overrides/MUIComponents/LoadingButton.js +27 -0
- package/theme/overrides/MUIComponents/Menu.d.ts +1 -1
- package/theme/overrides/MUIComponents/Menu.js +20 -0
- package/theme/overrides/MUIComponents/Pagination.js +38 -0
- package/theme/overrides/MUIComponents/Paper.js +71 -0
- package/theme/overrides/MUIComponents/Popover.d.ts +1 -1
- package/theme/overrides/MUIComponents/Popover.js +12 -0
- package/theme/overrides/MUIComponents/Progress.d.ts +1 -1
- package/theme/overrides/MUIComponents/Progress.js +25 -0
- package/theme/overrides/MUIComponents/Radio.d.ts +1 -1
- package/theme/overrides/MUIComponents/Radio.js +20 -0
- package/theme/overrides/MUIComponents/Rating.d.ts +31 -0
- package/theme/overrides/MUIComponents/Select.d.ts +8 -0
- package/theme/overrides/MUIComponents/Skeleton.d.ts +1 -1
- package/theme/overrides/MUIComponents/Skeleton.js +17 -0
- package/theme/overrides/MUIComponents/Slider.d.ts +1 -1
- package/theme/overrides/MUIComponents/Slider.js +28 -0
- package/theme/overrides/MUIComponents/Stepper.d.ts +1 -1
- package/theme/overrides/MUIComponents/Stepper.js +14 -0
- package/theme/overrides/MUIComponents/SvgIcon.d.ts +1 -1
- package/theme/overrides/MUIComponents/SvgIcon.js +21 -0
- package/theme/overrides/MUIComponents/Switch.d.ts +1 -1
- package/theme/overrides/MUIComponents/Switch.js +33 -0
- package/theme/overrides/MUIComponents/Table.d.ts +9 -9
- package/theme/overrides/MUIComponents/Table.js +89 -0
- package/theme/overrides/MUIComponents/Timeline.d.ts +1 -1
- package/theme/overrides/MUIComponents/Timeline.js +21 -0
- package/theme/overrides/MUIComponents/ToggleButton.js +54 -0
- package/theme/overrides/MUIComponents/Tooltip.d.ts +1 -1
- package/theme/overrides/MUIComponents/Tooltip.js +18 -0
- package/theme/overrides/MUIComponents/TreeView.d.ts +846 -0
- package/theme/overrides/MUIComponents/Typography.d.ts +1 -1
- package/theme/overrides/MUIComponents/Typography.js +23 -0
- package/theme/overrides/index.d.ts +1 -1
- package/theme/overrides/index.js +213 -0
- package/theme/palette/baseColors.js +395 -0
- package/theme/palette/baseOpacityColors.d.ts +2 -2
- package/theme/palette/baseOpacityColors.js +133 -0
- package/theme/palette/commonColors.js +7 -0
- package/theme/palette/defaultColors.d.ts +5 -5
- package/theme/palette/defaultColors.js +38 -0
- package/theme/palette/greyPalette.js +29 -0
- package/theme/palette/index.js +1 -0
- package/theme/palette/presetColors.d.ts +3 -3
- package/theme/palette/presetColors.js +225 -0
- package/theme/palette/semanticColors.d.ts +4 -4
- package/theme/palette/semanticColors.js +161 -0
- package/theme/shadows.d.ts +1 -1
- package/theme/{shadows-BTb924yW.js → shadows.js} +23 -21
- package/theme/sizes/baseBorder.d.ts +1 -1
- package/theme/sizes/baseBorder.js +7 -0
- package/theme/sizes/baseBorderRadius.d.ts +2 -2
- package/theme/sizes/baseBorderRadius.js +12 -0
- package/theme/sizes/baseSizes.d.ts +2 -2
- package/theme/sizes/baseSizes.js +24 -0
- package/theme/sizes/index.js +1 -0
- package/theme/sizes/pointerQr.d.ts +1 -1
- package/theme/sizes/pointerQr.js +38 -0
- package/theme/sizes/size.d.ts +1 -1
- package/theme/sizes/size.js +26 -0
- package/theme/sizes/types.d.ts +33 -37
- package/theme/sizes/types.js +1 -0
- package/theme/typography/baseFontSize.d.ts +1 -1
- package/theme/typography/baseFontSize.js +56 -0
- package/theme/typography/baseLetterSpacing.d.ts +1 -1
- package/theme/typography/baseLetterSpacing.js +6 -0
- package/theme/typography/baseLineHeight.d.ts +1 -1
- package/theme/typography/baseLineHeight.js +12 -0
- package/theme/typography/baseWeight.d.ts +1 -1
- package/theme/typography/baseWeight.js +8 -0
- package/theme/typography/types.d.ts +14 -14
- package/theme/typography/typography.d.ts +1 -1
- package/theme/typography/typography.js +14 -0
- package/theme/typography/typographySizes.d.ts +1 -1
- package/theme/typography/typographySizes.js +259 -0
- package/theme/typography.d.ts +3 -3
- package/theme/typography.js +134 -0
- package/types/augmentations.d.js +1 -0
- package/types/augmentations.d.ts +158 -160
- package/types/index.js +1 -0
- package/types/types.d.ts +25 -25
- package/types/types.js +1 -0
- package/utils/getColorPresets.js +14 -0
- package/utils/getColorState.d.ts +1 -1
- package/utils/getFontValue.d.ts +0 -7
- package/utils/getFontValue.js +24 -0
- package/utils/getPaletteByPreset.d.ts +13 -13
- package/utils/getPaletteByPreset.js +142 -0
- package/utils/index.js +1 -0
- package/utils/useResponsive.d.ts +4 -4
- package/vite-env.d.ts +3 -3
- package/theme/index-DMfun8ST.js +0 -236
- package/theme/overrides/M4LExtendedComponents/index-BciWnNTM.js +0 -6773
- package/theme/overrides/M4LRHFComponents/index-Dv4h8DSV.js +0 -1157
- package/theme/overrides/MUIComponents/index-DrBJTI1s.js +0 -1325
- package/theme/overrides/index-Bc-JdivL.js +0 -116
- package/theme/palette-C5yYre7Z.js +0 -963
- package/theme/typography-CaSN0-2L.js +0 -457
- package/utils/getColorPresets-CJ_S_BFb.js +0 -14
- package/utils/getFontValue-BEO-XID9.js +0 -40
- /package/{config-B8bZIPuH.js → config.js} +0 -0
- /package/utils/{getColorState-D1JKXD4T.js → getColorState.js} +0 -0
- /package/utils/{useResponsive-DaeQVwlH.js → useResponsive.js} +0 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { alpha as e } from "@mui/material/styles";
|
|
2
|
+
import { B as r } from "./baseColors.js";
|
|
3
|
+
const a = {
|
|
4
|
+
patronus: {
|
|
5
|
+
10: e(r.patronusBlue[50], 0.08),
|
|
6
|
+
20: e(r.patronusBlue[50], 0.12),
|
|
7
|
+
30: e(r.patronusBlue[50], 0.16),
|
|
8
|
+
40: e(r.patronusBlue[50], 0.32),
|
|
9
|
+
50: e(r.patronusBlue[50], 0.48),
|
|
10
|
+
60: e(r.patronusBlue[50], 0.6),
|
|
11
|
+
70: e(r.patronusBlue[50], 0.72)
|
|
12
|
+
},
|
|
13
|
+
turqui: {
|
|
14
|
+
10: e(r.turquiBlue[50], 0.08),
|
|
15
|
+
20: e(r.turquiBlue[50], 0.12),
|
|
16
|
+
30: e(r.turquiBlue[50], 0.16),
|
|
17
|
+
40: e(r.turquiBlue[50], 0.32),
|
|
18
|
+
50: e(r.turquiBlue[50], 0.48),
|
|
19
|
+
60: e(r.turquiBlue[50], 0.6),
|
|
20
|
+
70: e(r.turquiBlue[50], 0.72)
|
|
21
|
+
},
|
|
22
|
+
grass: {
|
|
23
|
+
10: e(r.grassGreen[50], 0.08),
|
|
24
|
+
20: e(r.grassGreen[50], 0.12),
|
|
25
|
+
30: e(r.grassGreen[50], 0.16),
|
|
26
|
+
40: e(r.grassGreen[50], 0.32),
|
|
27
|
+
50: e(r.grassGreen[50], 0.48),
|
|
28
|
+
60: e(r.grassGreen[50], 0.6),
|
|
29
|
+
70: e(r.grassGreen[50], 0.72)
|
|
30
|
+
},
|
|
31
|
+
brown: {
|
|
32
|
+
10: e(r.brown[50], 0.08),
|
|
33
|
+
20: e(r.brown[50], 0.12),
|
|
34
|
+
30: e(r.brown[50], 0.16),
|
|
35
|
+
40: e(r.brown[50], 0.32),
|
|
36
|
+
50: e(r.brown[50], 0.48),
|
|
37
|
+
60: e(r.brown[50], 0.6),
|
|
38
|
+
70: e(r.brown[50], 0.72)
|
|
39
|
+
},
|
|
40
|
+
beige: {
|
|
41
|
+
10: e(r.desertBeige[50], 0.08),
|
|
42
|
+
20: e(r.desertBeige[50], 0.12),
|
|
43
|
+
30: e(r.desertBeige[50], 0.16),
|
|
44
|
+
40: e(r.desertBeige[50], 0.32),
|
|
45
|
+
50: e(r.desertBeige[50], 0.48),
|
|
46
|
+
60: e(r.desertBeige[50], 0.6),
|
|
47
|
+
70: e(r.desertBeige[50], 0.72)
|
|
48
|
+
},
|
|
49
|
+
blaze: {
|
|
50
|
+
10: e(r.blazeOrange[50], 0.08),
|
|
51
|
+
20: e(r.blazeOrange[50], 0.12),
|
|
52
|
+
30: e(r.blazeOrange[50], 0.16),
|
|
53
|
+
40: e(r.blazeOrange[50], 0.32),
|
|
54
|
+
50: e(r.blazeOrange[50], 0.48),
|
|
55
|
+
60: e(r.blazeOrange[50], 0.6),
|
|
56
|
+
70: e(r.blazeOrange[50], 0.72)
|
|
57
|
+
},
|
|
58
|
+
cool: {
|
|
59
|
+
10: e(r.coolGrey[70], 0.08),
|
|
60
|
+
20: e(r.coolGrey[70], 0.12),
|
|
61
|
+
30: e(r.coolGrey[70], 0.16),
|
|
62
|
+
40: e(r.coolGrey[70], 0.32),
|
|
63
|
+
50: e(r.coolGrey[70], 0.48),
|
|
64
|
+
60: e(r.coolGrey[70], 0.6),
|
|
65
|
+
70: e(r.coolGrey[70], 0.72)
|
|
66
|
+
},
|
|
67
|
+
marble: {
|
|
68
|
+
10: e(r.marbleLight[10], 0.08),
|
|
69
|
+
20: e(r.marbleLight[10], 0.16),
|
|
70
|
+
30: e(r.marbleLight[10], 0.12),
|
|
71
|
+
40: e(r.marbleLight[10], 0.32),
|
|
72
|
+
50: e(r.marbleLight[10], 0.48),
|
|
73
|
+
60: e(r.marbleLight[10], 0.6),
|
|
74
|
+
70: e(r.marbleLight[10], 0.72)
|
|
75
|
+
},
|
|
76
|
+
oxford: {
|
|
77
|
+
10: e(r.oxford[90], 0.04),
|
|
78
|
+
20: e(r.oxford[90], 0.08),
|
|
79
|
+
30: e(r.oxford[90], 0.12),
|
|
80
|
+
40: e(r.oxford[90], 0.2),
|
|
81
|
+
50: e(r.oxford[90], 0.31),
|
|
82
|
+
60: e(r.oxford[90], 0.49),
|
|
83
|
+
70: e(r.oxford[90], 0.7)
|
|
84
|
+
},
|
|
85
|
+
mint: {
|
|
86
|
+
10: e(r.mint[40], 0.04),
|
|
87
|
+
20: e(r.mint[20], 0.08),
|
|
88
|
+
30: e(r.mint[50], 0.1),
|
|
89
|
+
40: e(r.mint[30], 0.14),
|
|
90
|
+
50: e(r.mint[70], 0.18),
|
|
91
|
+
60: e(r.mint[60], 0.28),
|
|
92
|
+
70: e(r.mint[10], 0.5)
|
|
93
|
+
},
|
|
94
|
+
middle: {
|
|
95
|
+
10: e(r.middleYellow[50], 0.08),
|
|
96
|
+
20: e(r.middleYellow[50], 0.12),
|
|
97
|
+
30: e(r.middleYellow[50], 0.16),
|
|
98
|
+
40: e(r.middleYellow[50], 0.32),
|
|
99
|
+
50: e(r.middleYellow[50], 0.48),
|
|
100
|
+
60: e(r.middleYellow[50], 0.6),
|
|
101
|
+
70: e(r.middleYellow[50], 0.72)
|
|
102
|
+
},
|
|
103
|
+
acid: {
|
|
104
|
+
10: e(r.acidGreen[50], 0.08),
|
|
105
|
+
20: e(r.acidGreen[50], 0.12),
|
|
106
|
+
30: e(r.acidGreen[50], 0.16),
|
|
107
|
+
40: e(r.acidGreen[50], 0.32),
|
|
108
|
+
50: e(r.acidGreen[50], 0.48),
|
|
109
|
+
60: e(r.acidGreen[50], 0.6),
|
|
110
|
+
70: e(r.acidGreen[50], 0.72)
|
|
111
|
+
},
|
|
112
|
+
flame: {
|
|
113
|
+
10: e(r.flameRed[50], 0.08),
|
|
114
|
+
20: e(r.flameRed[50], 0.12),
|
|
115
|
+
30: e(r.flameRed[50], 0.16),
|
|
116
|
+
40: e(r.flameRed[50], 0.32),
|
|
117
|
+
50: e(r.flameRed[50], 0.48),
|
|
118
|
+
60: e(r.flameRed[50], 0.6),
|
|
119
|
+
70: e(r.flameRed[50], 0.72)
|
|
120
|
+
},
|
|
121
|
+
crayon: {
|
|
122
|
+
10: e(r.crayonBlue[50], 0.08),
|
|
123
|
+
20: e(r.crayonBlue[50], 0.12),
|
|
124
|
+
30: e(r.crayonBlue[50], 0.16),
|
|
125
|
+
40: e(r.crayonBlue[50], 0.32),
|
|
126
|
+
50: e(r.crayonBlue[50], 0.48),
|
|
127
|
+
60: e(r.crayonBlue[50], 0.6),
|
|
128
|
+
70: e(r.crayonBlue[50], 0.72)
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
export {
|
|
132
|
+
a as B
|
|
133
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { PaletteColor } from
|
|
2
|
-
import { DefaultPresetColor } from
|
|
1
|
+
import { PaletteColor } from '@mui/material/styles';
|
|
2
|
+
import { DefaultPresetColor } from '../../types';
|
|
3
3
|
/**
|
|
4
4
|
* Opción de paleta default, se usa para construir la opcion de variable semántica default
|
|
5
|
-
*/
|
|
5
|
+
*/
|
|
6
6
|
export declare const PRESET_DEFAULT: DefaultPresetColor;
|
|
7
7
|
/**
|
|
8
8
|
* Opción de paleta default en modo light, se usa para colorear componentes con la variante semántica de tipo default
|
|
9
|
-
*/
|
|
9
|
+
*/
|
|
10
10
|
export declare const DEFAULT_COLOR_LIGHT: Omit<PaletteColor, 'focusVisible' | 'contrastText'>;
|
|
11
11
|
/**
|
|
12
12
|
* Opción de paleta default en modo dark, se usa para colorear componentes con la variante semántica de tipo default
|
|
13
|
-
*/
|
|
13
|
+
*/
|
|
14
14
|
export declare const DEFAULT_COLOR_DARK: Omit<PaletteColor, 'focusVisible' | 'contrastText'>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { B as i } from "./baseOpacityColors.js";
|
|
2
|
+
import { B as o } from "./baseColors.js";
|
|
3
|
+
const t = {
|
|
4
|
+
mainLight: i.oxford[10],
|
|
5
|
+
mainDark: i.mint[20],
|
|
6
|
+
lighter: i.oxford[40],
|
|
7
|
+
light: i.oxford[20],
|
|
8
|
+
dark: i.mint[30],
|
|
9
|
+
darker: i.mint[50],
|
|
10
|
+
toneOpacityLight: o.oxford.toneOpacity10,
|
|
11
|
+
toneOpacityDark: o.oxford.toneOpacity20,
|
|
12
|
+
opacityLight: i.oxford[30],
|
|
13
|
+
opacityDark: i.oxford[30]
|
|
14
|
+
}, c = {
|
|
15
|
+
main: t.mainLight,
|
|
16
|
+
focusActive: t.lighter,
|
|
17
|
+
hover: t.light,
|
|
18
|
+
opacity: t.toneOpacityLight,
|
|
19
|
+
toneOpacity: t.toneOpacityLight,
|
|
20
|
+
hoverOpacity: t.opacityLight,
|
|
21
|
+
//Por compatibilidad con MUI
|
|
22
|
+
light: t.light,
|
|
23
|
+
dark: t.dark
|
|
24
|
+
}, n = {
|
|
25
|
+
main: t.mainLight,
|
|
26
|
+
focusActive: t.lighter,
|
|
27
|
+
hover: t.dark,
|
|
28
|
+
opacity: t.toneOpacityDark,
|
|
29
|
+
toneOpacity: t.toneOpacityDark,
|
|
30
|
+
hoverOpacity: t.opacityDark,
|
|
31
|
+
//Por compatibilidad con MUI
|
|
32
|
+
light: t.light,
|
|
33
|
+
dark: t.dark
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
c as D,
|
|
37
|
+
n as a
|
|
38
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { alpha as A } from "@mui/material/styles";
|
|
2
|
+
const F = {
|
|
3
|
+
0: "#FFFFFF",
|
|
4
|
+
100: "#F9FAFB",
|
|
5
|
+
200: "#F4F6F8",
|
|
6
|
+
300: "#DFE3E8",
|
|
7
|
+
400: "#C4CDD5",
|
|
8
|
+
500: "#919EAB",
|
|
9
|
+
600: "#637381",
|
|
10
|
+
700: "#454F5B",
|
|
11
|
+
800: "#212B36",
|
|
12
|
+
900: "#161C24",
|
|
13
|
+
5008: A("#919EAB", 0.08),
|
|
14
|
+
50012: A("#919EAB", 0.12),
|
|
15
|
+
50016: A("#919EAB", 0.16),
|
|
16
|
+
50024: A("#919EAB", 0.24),
|
|
17
|
+
50032: A("#919EAB", 0.32),
|
|
18
|
+
50048: A("#919EAB", 0.48),
|
|
19
|
+
50056: A("#919EAB", 0.56),
|
|
20
|
+
50080: A("#919EAB", 0.8),
|
|
21
|
+
50: "",
|
|
22
|
+
A100: "",
|
|
23
|
+
A200: "",
|
|
24
|
+
A400: "",
|
|
25
|
+
A700: ""
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
F as G
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -2,18 +2,18 @@ import { ThemePaletteColors, ThemePaletteColors as OursColorPalette, ThemePreset
|
|
|
2
2
|
/**
|
|
3
3
|
* Conjunto de paletas de colores usados para construir el tema seleccionado por el usario en la aplación.
|
|
4
4
|
* Sus opciones pueden ser patronus, turqui, grass, brown y blaze.
|
|
5
|
-
*/
|
|
5
|
+
*/
|
|
6
6
|
export declare const PRESET_COLORS: ThemePresetColors;
|
|
7
7
|
/**
|
|
8
8
|
* Colección de temas de color en modo light, se usan para aportar el color en los componentes de la apliación web.
|
|
9
9
|
* Se tiene en cuanta cuando la variable semántica aplicada al componente es de tipo primary.
|
|
10
10
|
* Sus opciones pueden ser patronus, turqui, grass, brown y blaze.
|
|
11
|
-
*/
|
|
11
|
+
*/
|
|
12
12
|
export declare const PRIMARY_COLORS_LIGHT: ThemePaletteColors;
|
|
13
13
|
/**
|
|
14
14
|
* Colección de temas de color en modo dark, se usan para aportar el color en los componentes de la apliación web.
|
|
15
15
|
* Se tiene en cuanta cuando la variable semántica aplicada al componente es de tipo primary.
|
|
16
16
|
* Sus opciones pueden ser patronus, turqui, grass, brown y blaze.
|
|
17
|
-
*/
|
|
17
|
+
*/
|
|
18
18
|
export declare const PRIMARY_COLORS_DARK: OursColorPalette;
|
|
19
19
|
export declare const presetsOptions: PresetsOptions;
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
import { B as a } from "./baseColors.js";
|
|
2
|
+
import { B as r } from "./baseOpacityColors.js";
|
|
3
|
+
const t = {
|
|
4
|
+
patronus: {
|
|
5
|
+
main: a.patronusBlue[50],
|
|
6
|
+
lighter: a.patronusBlue[70],
|
|
7
|
+
light: a.patronusBlue[40],
|
|
8
|
+
dark: a.patronusBlue[30],
|
|
9
|
+
darker: a.patronusBlue[10],
|
|
10
|
+
contrastText: a.marbleLight[30],
|
|
11
|
+
toneOpacityLight: a.patronusBlue.toneOpacity10,
|
|
12
|
+
toneOpacityDark: a.patronusBlue.toneOpacity20,
|
|
13
|
+
opacityLight: r.patronus[10],
|
|
14
|
+
opacityDark: r.patronus[20],
|
|
15
|
+
borderMainDark: r.patronus[50],
|
|
16
|
+
borderMainLight: r.patronus[50]
|
|
17
|
+
},
|
|
18
|
+
turqui: {
|
|
19
|
+
lighter: a.turquiBlue[70],
|
|
20
|
+
light: a.turquiBlue[40],
|
|
21
|
+
main: a.turquiBlue[50],
|
|
22
|
+
dark: a.turquiBlue[30],
|
|
23
|
+
darker: a.turquiBlue[10],
|
|
24
|
+
contrastText: a.marbleLight[30],
|
|
25
|
+
toneOpacityLight: a.marbleLight.toneOpacity10,
|
|
26
|
+
toneOpacityDark: a.marbleLight.toneOpacity20,
|
|
27
|
+
opacityLight: r.turqui[10],
|
|
28
|
+
opacityDark: r.turqui[20],
|
|
29
|
+
borderMainDark: r.turqui[50],
|
|
30
|
+
borderMainLight: r.turqui[50]
|
|
31
|
+
},
|
|
32
|
+
grass: {
|
|
33
|
+
lighter: a.grassGreen[70],
|
|
34
|
+
light: a.grassGreen[40],
|
|
35
|
+
main: a.grassGreen[50],
|
|
36
|
+
dark: a.grassGreen[30],
|
|
37
|
+
darker: a.grassGreen[10],
|
|
38
|
+
contrastText: a.marbleLight[30],
|
|
39
|
+
toneOpacityLight: a.grassGreen.toneOpacity10,
|
|
40
|
+
toneOpacityDark: a.grassGreen.toneOpacity20,
|
|
41
|
+
opacityLight: r.turqui[10],
|
|
42
|
+
opacityDark: r.turqui[20],
|
|
43
|
+
borderMainDark: r.turqui[50],
|
|
44
|
+
borderMainLight: r.turqui[50]
|
|
45
|
+
},
|
|
46
|
+
brown: {
|
|
47
|
+
lighter: a.brown[70],
|
|
48
|
+
light: a.brown[40],
|
|
49
|
+
main: a.brown[50],
|
|
50
|
+
dark: a.brown[30],
|
|
51
|
+
darker: a.brown[10],
|
|
52
|
+
contrastText: a.marbleLight[30],
|
|
53
|
+
toneOpacityLight: a.brown.toneOpacity10,
|
|
54
|
+
toneOpacityDark: a.brown.toneOpacity20,
|
|
55
|
+
opacityLight: r.turqui[10],
|
|
56
|
+
opacityDark: r.turqui[20],
|
|
57
|
+
borderMainDark: r.turqui[50],
|
|
58
|
+
borderMainLight: r.turqui[50]
|
|
59
|
+
},
|
|
60
|
+
blaze: {
|
|
61
|
+
lighter: a.blazeOrange[70],
|
|
62
|
+
light: a.blazeOrange[40],
|
|
63
|
+
main: a.blazeOrange[50],
|
|
64
|
+
dark: a.blazeOrange[30],
|
|
65
|
+
darker: a.blazeOrange[10],
|
|
66
|
+
contrastText: a.marbleLight[30],
|
|
67
|
+
toneOpacityLight: a.blazeOrange.toneOpacity10,
|
|
68
|
+
toneOpacityDark: a.blazeOrange.toneOpacity20,
|
|
69
|
+
opacityLight: r.blaze[10],
|
|
70
|
+
opacityDark: r.blaze[20],
|
|
71
|
+
borderMainDark: r.blaze[50],
|
|
72
|
+
borderMainLight: r.blaze[50]
|
|
73
|
+
}
|
|
74
|
+
}, s = {
|
|
75
|
+
patronus: {
|
|
76
|
+
main: t.patronus.main,
|
|
77
|
+
focusVisible: t.patronus.light,
|
|
78
|
+
focusActive: t.patronus.lighter,
|
|
79
|
+
hover: t.patronus.light,
|
|
80
|
+
opacity: t.patronus.opacityLight,
|
|
81
|
+
toneOpacity: t.patronus.toneOpacityLight,
|
|
82
|
+
contrastText: t.patronus.contrastText,
|
|
83
|
+
//Por compatibilidad con MUI
|
|
84
|
+
hoverOpacity: t.patronus.opacityLight,
|
|
85
|
+
light: t.patronus.light,
|
|
86
|
+
dark: t.patronus.dark
|
|
87
|
+
},
|
|
88
|
+
blaze: {
|
|
89
|
+
main: t.blaze.main,
|
|
90
|
+
focusVisible: t.blaze.light,
|
|
91
|
+
focusActive: t.blaze.lighter,
|
|
92
|
+
hover: t.blaze.light,
|
|
93
|
+
opacity: t.blaze.opacityLight,
|
|
94
|
+
toneOpacity: t.blaze.toneOpacityLight,
|
|
95
|
+
contrastText: t.blaze.contrastText,
|
|
96
|
+
hoverOpacity: t.blaze.opacityLight,
|
|
97
|
+
//Por compatibilidad con MUI
|
|
98
|
+
light: t.blaze.light,
|
|
99
|
+
dark: t.blaze.dark
|
|
100
|
+
},
|
|
101
|
+
brown: {
|
|
102
|
+
main: t.brown.main,
|
|
103
|
+
focusVisible: t.brown.light,
|
|
104
|
+
focusActive: t.brown.lighter,
|
|
105
|
+
hover: t.brown.light,
|
|
106
|
+
opacity: t.brown.opacityLight,
|
|
107
|
+
toneOpacity: t.brown.toneOpacityLight,
|
|
108
|
+
contrastText: t.brown.contrastText,
|
|
109
|
+
hoverOpacity: t.brown.opacityLight,
|
|
110
|
+
//Por compatibilidad con MUI
|
|
111
|
+
light: t.brown.light,
|
|
112
|
+
dark: t.brown.dark
|
|
113
|
+
},
|
|
114
|
+
grass: {
|
|
115
|
+
main: t.grass.main,
|
|
116
|
+
focusVisible: t.grass.light,
|
|
117
|
+
focusActive: t.grass.lighter,
|
|
118
|
+
hover: t.grass.light,
|
|
119
|
+
opacity: t.grass.opacityLight,
|
|
120
|
+
toneOpacity: t.grass.toneOpacityLight,
|
|
121
|
+
contrastText: t.grass.contrastText,
|
|
122
|
+
hoverOpacity: t.grass.opacityLight,
|
|
123
|
+
//Por compatibilidad con MUI
|
|
124
|
+
light: t.grass.light,
|
|
125
|
+
dark: t.grass.dark
|
|
126
|
+
},
|
|
127
|
+
turqui: {
|
|
128
|
+
main: t.turqui.main,
|
|
129
|
+
focusVisible: t.turqui.light,
|
|
130
|
+
focusActive: t.turqui.lighter,
|
|
131
|
+
hover: t.turqui.light,
|
|
132
|
+
opacity: t.turqui.opacityLight,
|
|
133
|
+
toneOpacity: t.turqui.toneOpacityLight,
|
|
134
|
+
contrastText: t.turqui.contrastText,
|
|
135
|
+
hoverOpacity: t.turqui.opacityLight,
|
|
136
|
+
//Por compatibilidad con MUI
|
|
137
|
+
light: t.turqui.light,
|
|
138
|
+
dark: t.turqui.dark
|
|
139
|
+
}
|
|
140
|
+
}, c = {
|
|
141
|
+
patronus: {
|
|
142
|
+
main: t.patronus.main,
|
|
143
|
+
focusVisible: t.patronus.light,
|
|
144
|
+
// validar para dark
|
|
145
|
+
focusActive: t.patronus.lighter,
|
|
146
|
+
// validar para dark
|
|
147
|
+
hover: t.patronus.dark,
|
|
148
|
+
opacity: t.patronus.opacityDark,
|
|
149
|
+
toneOpacity: t.patronus.toneOpacityDark,
|
|
150
|
+
contrastText: t.patronus.contrastText,
|
|
151
|
+
hoverOpacity: t.patronus.opacityDark,
|
|
152
|
+
//Por compatibilidad con MUI
|
|
153
|
+
light: t.patronus.light,
|
|
154
|
+
dark: t.patronus.dark
|
|
155
|
+
},
|
|
156
|
+
blaze: {
|
|
157
|
+
main: t.blaze.main,
|
|
158
|
+
focusVisible: t.blaze.light,
|
|
159
|
+
// validar para dark
|
|
160
|
+
focusActive: t.blaze.lighter,
|
|
161
|
+
// validar para dark
|
|
162
|
+
hover: t.blaze.dark,
|
|
163
|
+
opacity: t.blaze.opacityDark,
|
|
164
|
+
toneOpacity: t.blaze.toneOpacityDark,
|
|
165
|
+
contrastText: t.blaze.contrastText,
|
|
166
|
+
hoverOpacity: t.blaze.opacityDark,
|
|
167
|
+
//Por compatibilidad con MUI
|
|
168
|
+
light: t.blaze.light,
|
|
169
|
+
dark: t.blaze.dark
|
|
170
|
+
},
|
|
171
|
+
brown: {
|
|
172
|
+
main: t.brown.main,
|
|
173
|
+
focusVisible: t.brown.light,
|
|
174
|
+
// validar para dark
|
|
175
|
+
focusActive: t.brown.lighter,
|
|
176
|
+
// validar para dark
|
|
177
|
+
hover: t.brown.dark,
|
|
178
|
+
opacity: t.brown.opacityDark,
|
|
179
|
+
toneOpacity: t.brown.toneOpacityDark,
|
|
180
|
+
contrastText: t.brown.contrastText,
|
|
181
|
+
hoverOpacity: t.brown.opacityDark,
|
|
182
|
+
//Por compatibilidad con MUI
|
|
183
|
+
light: t.brown.light,
|
|
184
|
+
dark: t.brown.dark
|
|
185
|
+
},
|
|
186
|
+
grass: {
|
|
187
|
+
main: t.grass.main,
|
|
188
|
+
focusVisible: t.grass.light,
|
|
189
|
+
// validar para dark
|
|
190
|
+
focusActive: t.grass.lighter,
|
|
191
|
+
// validar para dark
|
|
192
|
+
hover: t.grass.dark,
|
|
193
|
+
opacity: t.grass.opacityDark,
|
|
194
|
+
toneOpacity: t.grass.toneOpacityDark,
|
|
195
|
+
contrastText: t.grass.contrastText,
|
|
196
|
+
hoverOpacity: t.grass.opacityDark,
|
|
197
|
+
//Por compatibilidad con MUI
|
|
198
|
+
light: t.grass.light,
|
|
199
|
+
dark: t.grass.dark
|
|
200
|
+
},
|
|
201
|
+
turqui: {
|
|
202
|
+
main: t.turqui.main,
|
|
203
|
+
focusVisible: t.turqui.light,
|
|
204
|
+
// validar para dark
|
|
205
|
+
focusActive: t.turqui.lighter,
|
|
206
|
+
// validar para dark
|
|
207
|
+
hover: t.turqui.dark,
|
|
208
|
+
opacity: t.turqui.opacityDark,
|
|
209
|
+
toneOpacity: t.turqui.toneOpacityDark,
|
|
210
|
+
contrastText: t.turqui.contrastText,
|
|
211
|
+
hoverOpacity: t.turqui.opacityDark,
|
|
212
|
+
//Por compatibilidad con MUI
|
|
213
|
+
light: t.turqui.light,
|
|
214
|
+
dark: t.turqui.dark
|
|
215
|
+
}
|
|
216
|
+
}, o = Object.keys(t), u = o.map((i) => ({
|
|
217
|
+
name: i,
|
|
218
|
+
value: t[i].main
|
|
219
|
+
}));
|
|
220
|
+
export {
|
|
221
|
+
t as P,
|
|
222
|
+
s as a,
|
|
223
|
+
c as b,
|
|
224
|
+
u as p
|
|
225
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { SemanticPresetColors, SemanticsPaletteColors } from '../../types';
|
|
2
2
|
/**
|
|
3
3
|
* Paleta semántica predefinida, se usa para construir las opciones de variable semántica.
|
|
4
4
|
* Puden ser de tipo success, error, warning, info
|
|
5
|
-
*/
|
|
5
|
+
*/
|
|
6
6
|
export declare const PRESET_SEMANTICS_COLORS: SemanticPresetColors;
|
|
7
7
|
/**
|
|
8
8
|
* Opciones de paleta semántica en modo light, se usan para aportar el color en los componentes de la apliación web.
|
|
9
9
|
* Se tiene en cuanta cuando la variable semántica aplicada al componente es de tipo warning, error, success o info.
|
|
10
|
-
*/
|
|
10
|
+
*/
|
|
11
11
|
export declare const SEMANTIC_COLORS_LIGHT: SemanticsPaletteColors;
|
|
12
12
|
/**
|
|
13
13
|
* Opciones de paleta semántica en modo dark, se usan para aportar el color en los componentes de la apliación web.
|
|
14
14
|
* Se tiene en cuanta cuando la variable semántica aplicada al componente es de tipo warning, error, success o info.
|
|
15
|
-
*/
|
|
15
|
+
*/
|
|
16
16
|
export declare const SEMANTIC_COLORS_DARK: SemanticsPaletteColors;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { B as r } from "./baseColors.js";
|
|
2
|
+
const a = {
|
|
3
|
+
info: {
|
|
4
|
+
main: r.crayonBlue[50],
|
|
5
|
+
lighter: r.crayonBlue[70],
|
|
6
|
+
light: r.crayonBlue[60],
|
|
7
|
+
dark: r.crayonBlue[40],
|
|
8
|
+
darker: r.crayonBlue[20],
|
|
9
|
+
contrastText: r.marbleLight[30],
|
|
10
|
+
toneOpacityLight: r.crayonBlue.toneOpacity20,
|
|
11
|
+
toneOpacityDark: r.crayonBlue.toneOpacity10,
|
|
12
|
+
opacityLight: r.crayonBlue[10],
|
|
13
|
+
opacityDark: r.crayonBlue[40],
|
|
14
|
+
borderMainLight: r.crayonBlue[50],
|
|
15
|
+
borderMainDark: r.crayonBlue[50]
|
|
16
|
+
},
|
|
17
|
+
warning: {
|
|
18
|
+
main: r.middleYellow[50],
|
|
19
|
+
lighter: r.middleYellow[90],
|
|
20
|
+
light: r.middleYellow[70],
|
|
21
|
+
dark: r.middleYellow[30],
|
|
22
|
+
darker: r.middleYellow[20],
|
|
23
|
+
contrastText: r.onyx[20],
|
|
24
|
+
toneOpacityLight: r.middleYellow.toneOpacity10,
|
|
25
|
+
toneOpacityDark: r.middleYellow.toneOpacity20,
|
|
26
|
+
opacityLight: r.middleYellow[10],
|
|
27
|
+
opacityDark: r.middleYellow[20],
|
|
28
|
+
borderMainLight: r.middleYellow[50],
|
|
29
|
+
borderMainDark: r.middleYellow[50]
|
|
30
|
+
},
|
|
31
|
+
error: {
|
|
32
|
+
main: r.flameRed[50],
|
|
33
|
+
lighter: r.flameRed[70],
|
|
34
|
+
light: r.flameRed[60],
|
|
35
|
+
dark: r.flameRed[30],
|
|
36
|
+
darker: r.flameRed[20],
|
|
37
|
+
contrastText: r.marbleLight[30],
|
|
38
|
+
toneOpacityLight: r.flameRed.toneOpacity10,
|
|
39
|
+
toneOpacityDark: r.flameRed.toneOpacity20,
|
|
40
|
+
opacityLight: r.flameRed[10],
|
|
41
|
+
opacityDark: r.flameRed[20],
|
|
42
|
+
borderMainLight: r.flameRed[50],
|
|
43
|
+
borderMainDark: r.flameRed[50]
|
|
44
|
+
},
|
|
45
|
+
success: {
|
|
46
|
+
main: r.acidGreen[50],
|
|
47
|
+
lighter: r.acidGreen[70],
|
|
48
|
+
light: r.acidGreen[60],
|
|
49
|
+
dark: r.acidGreen[30],
|
|
50
|
+
darker: r.acidGreen[20],
|
|
51
|
+
contrastText: r.marbleLight[20],
|
|
52
|
+
toneOpacityLight: r.acidGreen.toneOpacity10,
|
|
53
|
+
toneOpacityDark: r.acidGreen.toneOpacity20,
|
|
54
|
+
opacityLight: r.acidGreen[10],
|
|
55
|
+
opacityDark: r.acidGreen[20],
|
|
56
|
+
borderMainLight: r.acidGreen[50],
|
|
57
|
+
borderMainDark: r.acidGreen[50]
|
|
58
|
+
}
|
|
59
|
+
}, i = {
|
|
60
|
+
info: {
|
|
61
|
+
main: a.info.main,
|
|
62
|
+
focusActive: a.info.lighter,
|
|
63
|
+
hover: a.info.light,
|
|
64
|
+
opacity: a.info.opacityLight,
|
|
65
|
+
toneOpacity: a.info.toneOpacityLight,
|
|
66
|
+
contrastText: a.info.contrastText,
|
|
67
|
+
hoverOpacity: a.info.opacityLight,
|
|
68
|
+
//Por compatibilidad con MUI
|
|
69
|
+
light: a.info.light,
|
|
70
|
+
dark: a.info.dark
|
|
71
|
+
},
|
|
72
|
+
success: {
|
|
73
|
+
main: a.success.main,
|
|
74
|
+
focusActive: a.success.lighter,
|
|
75
|
+
hover: a.success.light,
|
|
76
|
+
opacity: a.success.opacityLight,
|
|
77
|
+
toneOpacity: a.success.toneOpacityLight,
|
|
78
|
+
contrastText: a.success.contrastText,
|
|
79
|
+
hoverOpacity: a.success.opacityLight,
|
|
80
|
+
//Por compatibilidad con MUI
|
|
81
|
+
light: a.success.light,
|
|
82
|
+
dark: a.success.dark
|
|
83
|
+
},
|
|
84
|
+
warning: {
|
|
85
|
+
main: a.warning.main,
|
|
86
|
+
focusActive: a.warning.lighter,
|
|
87
|
+
hover: a.warning.light,
|
|
88
|
+
opacity: a.warning.opacityLight,
|
|
89
|
+
toneOpacity: a.warning.toneOpacityLight,
|
|
90
|
+
contrastText: a.warning.contrastText,
|
|
91
|
+
hoverOpacity: a.warning.opacityLight,
|
|
92
|
+
//Por compatibilidad con MUI
|
|
93
|
+
light: a.warning.light,
|
|
94
|
+
dark: a.warning.dark
|
|
95
|
+
},
|
|
96
|
+
error: {
|
|
97
|
+
main: a.error.main,
|
|
98
|
+
focusActive: a.error.lighter,
|
|
99
|
+
hover: a.error.light,
|
|
100
|
+
opacity: a.error.opacityLight,
|
|
101
|
+
toneOpacity: a.error.toneOpacityLight,
|
|
102
|
+
contrastText: a.error.contrastText,
|
|
103
|
+
hoverOpacity: a.error.opacityLight,
|
|
104
|
+
//Por compatibilidad con MUI
|
|
105
|
+
light: a.error.light,
|
|
106
|
+
dark: a.error.dark
|
|
107
|
+
}
|
|
108
|
+
}, e = {
|
|
109
|
+
info: {
|
|
110
|
+
main: a.info.main,
|
|
111
|
+
focusActive: a.info.darker,
|
|
112
|
+
hover: a.info.dark,
|
|
113
|
+
opacity: a.info.opacityDark,
|
|
114
|
+
toneOpacity: a.info.toneOpacityDark,
|
|
115
|
+
contrastText: a.info.contrastText,
|
|
116
|
+
hoverOpacity: a.info.opacityDark,
|
|
117
|
+
//Por compatibilidad con MUI
|
|
118
|
+
light: a.info.light,
|
|
119
|
+
dark: a.info.dark
|
|
120
|
+
},
|
|
121
|
+
success: {
|
|
122
|
+
main: a.success.main,
|
|
123
|
+
focusActive: a.success.darker,
|
|
124
|
+
hover: a.success.dark,
|
|
125
|
+
opacity: a.success.opacityDark,
|
|
126
|
+
toneOpacity: a.success.toneOpacityDark,
|
|
127
|
+
contrastText: a.success.contrastText,
|
|
128
|
+
hoverOpacity: a.success.opacityDark,
|
|
129
|
+
//Por compatibilidad con MUI
|
|
130
|
+
light: a.success.light,
|
|
131
|
+
dark: a.success.dark
|
|
132
|
+
},
|
|
133
|
+
warning: {
|
|
134
|
+
main: a.warning.main,
|
|
135
|
+
focusActive: a.warning.darker,
|
|
136
|
+
hover: a.warning.dark,
|
|
137
|
+
opacity: a.warning.opacityDark,
|
|
138
|
+
toneOpacity: a.warning.toneOpacityDark,
|
|
139
|
+
contrastText: a.warning.contrastText,
|
|
140
|
+
hoverOpacity: a.warning.opacityDark,
|
|
141
|
+
//Por compatibilidad con MUI
|
|
142
|
+
light: a.warning.light,
|
|
143
|
+
dark: a.warning.dark
|
|
144
|
+
},
|
|
145
|
+
error: {
|
|
146
|
+
main: a.error.main,
|
|
147
|
+
focusActive: a.error.darker,
|
|
148
|
+
hover: a.error.dark,
|
|
149
|
+
opacity: a.error.opacityDark,
|
|
150
|
+
toneOpacity: a.error.toneOpacityDark,
|
|
151
|
+
contrastText: a.error.contrastText,
|
|
152
|
+
hoverOpacity: a.error.opacityDark,
|
|
153
|
+
//Por compatibilidad con MUI
|
|
154
|
+
light: a.error.light,
|
|
155
|
+
dark: a.error.dark
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
export {
|
|
159
|
+
i as S,
|
|
160
|
+
e as a
|
|
161
|
+
};
|
package/theme/shadows.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export interface CustomShadowOptions {
|
|
|
14
14
|
dialog: string;
|
|
15
15
|
dropdown: string;
|
|
16
16
|
}
|
|
17
|
-
export declare const createCustomShadows: (mode:
|
|
17
|
+
export declare const createCustomShadows: (mode: "light" | "dark") => CustomShadowOptions;
|
|
18
18
|
export declare const shadows: {
|
|
19
19
|
light: Shadows;
|
|
20
20
|
dark: Shadows;
|