@m4l/styles 7.1.4 → 7.1.6
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/package.json +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.js +3 -3
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.js +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LButton.js +13 -13
- package/theme/overrides/M4LExtendedComponents/M4LCheckBox.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LFormatter.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LIconButton.js +13 -13
- package/theme/overrides/M4LExtendedComponents/M4LImageButton.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LNavLink.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LPopover.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.js +6 -6
- package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.js +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LTab.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LTabs.js +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.js +14 -14
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.js +3 -3
- package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.js +1 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.js +3 -3
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.js +3 -3
- package/theme/overrides/MUIComponents/Paper.js +6 -6
- package/theme/palette/baseChipsPalette.d.ts +9 -0
- package/theme/palette/baseChipsPalette.js +117 -0
- package/theme/palette/baseOpacityColors.js +2 -2
- package/theme/palette/defaultColors.d.ts +2 -2
- package/theme/palette/defaultColors.js +24 -13
- package/theme/palette/presetColors.js +119 -59
- package/theme/palette/semanticColors.js +161 -117
- package/theme/shadows.d.ts +2 -0
- package/theme/shadows.js +55 -51
- package/types/augmentations.d.ts +5 -1
- package/types/types.d.ts +30 -3
- package/utils/getPaletteByPreset.d.ts +38 -12
- package/utils/getPaletteByPreset.js +15 -12
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { B as o } from "./baseColors.js";
|
|
2
|
+
import { B as r } from "./baseOpacityColors.js";
|
|
3
|
+
const e = {
|
|
4
|
+
default: {
|
|
5
|
+
contrastText: o.marbleLight[10],
|
|
6
|
+
backgroundColor: o.oxford[40],
|
|
7
|
+
backgroundHover: o.oxford[60],
|
|
8
|
+
backgroundActive: o.oxford[70]
|
|
9
|
+
},
|
|
10
|
+
warning: {
|
|
11
|
+
contrastText: o.onyx[20],
|
|
12
|
+
backgroundColor: o.middleYellow[40],
|
|
13
|
+
backgroundHover: o.middleYellow[60],
|
|
14
|
+
backgroundActive: o.middleYellow[70]
|
|
15
|
+
},
|
|
16
|
+
warningOpacity: {
|
|
17
|
+
contrastText: o.onyx[20],
|
|
18
|
+
backgroundColor: r.middle[40],
|
|
19
|
+
backgroundHover: r.middle[60],
|
|
20
|
+
backgroundActive: r.middle[70]
|
|
21
|
+
},
|
|
22
|
+
error: {
|
|
23
|
+
contrastText: o.marbleLight[30],
|
|
24
|
+
backgroundColor: o.flameRed[50],
|
|
25
|
+
backgroundHover: o.flameRed[60],
|
|
26
|
+
backgroundActive: o.flameRed[70]
|
|
27
|
+
},
|
|
28
|
+
errorOpacity: {
|
|
29
|
+
contrastText: o.onyx[20],
|
|
30
|
+
backgroundColor: r.flame[30],
|
|
31
|
+
backgroundHover: r.flame[50],
|
|
32
|
+
backgroundActive: r.flame[70]
|
|
33
|
+
},
|
|
34
|
+
success: {
|
|
35
|
+
contrastText: o.marbleLight[30],
|
|
36
|
+
backgroundColor: o.acidGreen[50],
|
|
37
|
+
backgroundHover: o.acidGreen[60],
|
|
38
|
+
backgroundActive: o.acidGreen[70]
|
|
39
|
+
},
|
|
40
|
+
successOpacity: {
|
|
41
|
+
contrastText: o.onyx[20],
|
|
42
|
+
backgroundColor: r.acid[20],
|
|
43
|
+
backgroundHover: r.acid[40],
|
|
44
|
+
backgroundActive: r.acid[70]
|
|
45
|
+
},
|
|
46
|
+
info: {
|
|
47
|
+
contrastText: o.marbleLight[30],
|
|
48
|
+
backgroundColor: o.crayonBlue[50],
|
|
49
|
+
backgroundHover: o.crayonBlue[60],
|
|
50
|
+
backgroundActive: o.crayonBlue[70]
|
|
51
|
+
},
|
|
52
|
+
infoOpacity: {
|
|
53
|
+
contrastText: o.onyx[20],
|
|
54
|
+
backgroundColor: r.crayon[20],
|
|
55
|
+
backgroundHover: r.crayon[40],
|
|
56
|
+
backgroundActive: r.crayon[60]
|
|
57
|
+
}
|
|
58
|
+
}, n = {
|
|
59
|
+
default: {
|
|
60
|
+
contrastText: o.marbleLight[10],
|
|
61
|
+
backgroundColor: o.oxford[40],
|
|
62
|
+
backgroundHover: o.oxford[60],
|
|
63
|
+
backgroundActive: o.oxford[70]
|
|
64
|
+
},
|
|
65
|
+
warning: {
|
|
66
|
+
contrastText: o.onyx[20],
|
|
67
|
+
backgroundColor: o.middleYellow[40],
|
|
68
|
+
backgroundHover: o.middleYellow[60],
|
|
69
|
+
backgroundActive: o.middleYellow[70]
|
|
70
|
+
},
|
|
71
|
+
warningOpacity: {
|
|
72
|
+
contrastText: o.marbleLight[30],
|
|
73
|
+
backgroundColor: r.middle[40],
|
|
74
|
+
backgroundHover: r.middle[60],
|
|
75
|
+
backgroundActive: r.middle[70]
|
|
76
|
+
},
|
|
77
|
+
error: {
|
|
78
|
+
contrastText: o.marbleLight[30],
|
|
79
|
+
backgroundColor: o.flameRed[50],
|
|
80
|
+
backgroundHover: o.flameRed[60],
|
|
81
|
+
backgroundActive: o.flameRed[70]
|
|
82
|
+
},
|
|
83
|
+
errorOpacity: {
|
|
84
|
+
contrastText: o.marbleLight[30],
|
|
85
|
+
backgroundColor: r.flame[30],
|
|
86
|
+
backgroundHover: r.flame[60],
|
|
87
|
+
backgroundActive: r.flame[70]
|
|
88
|
+
},
|
|
89
|
+
success: {
|
|
90
|
+
contrastText: o.marbleLight[30],
|
|
91
|
+
backgroundColor: o.acidGreen[50],
|
|
92
|
+
backgroundHover: o.acidGreen[60],
|
|
93
|
+
backgroundActive: o.acidGreen[70]
|
|
94
|
+
},
|
|
95
|
+
successOpacity: {
|
|
96
|
+
contrastText: o.marbleLight[30],
|
|
97
|
+
backgroundColor: r.acid[20],
|
|
98
|
+
backgroundHover: r.acid[40],
|
|
99
|
+
backgroundActive: r.acid[70]
|
|
100
|
+
},
|
|
101
|
+
info: {
|
|
102
|
+
contrastText: o.marbleLight[30],
|
|
103
|
+
backgroundColor: o.crayonBlue[50],
|
|
104
|
+
backgroundHover: o.crayonBlue[60],
|
|
105
|
+
backgroundActive: o.crayonBlue[70]
|
|
106
|
+
},
|
|
107
|
+
infoOpacity: {
|
|
108
|
+
contrastText: o.marbleLight[20],
|
|
109
|
+
backgroundColor: r.crayon[30],
|
|
110
|
+
backgroundHover: r.crayon[50],
|
|
111
|
+
backgroundActive: r.crayon[70]
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
export {
|
|
115
|
+
e as B,
|
|
116
|
+
n as a
|
|
117
|
+
};
|
|
@@ -66,8 +66,8 @@ const a = {
|
|
|
66
66
|
},
|
|
67
67
|
marble: {
|
|
68
68
|
10: e(r.marbleLight[10], 0.08),
|
|
69
|
-
20: e(r.marbleLight[10], 0.
|
|
70
|
-
30: e(r.marbleLight[10], 0.
|
|
69
|
+
20: e(r.marbleLight[10], 0.12),
|
|
70
|
+
30: e(r.marbleLight[10], 0.16),
|
|
71
71
|
40: e(r.marbleLight[10], 0.32),
|
|
72
72
|
50: e(r.marbleLight[10], 0.48),
|
|
73
73
|
60: e(r.marbleLight[10], 0.6),
|
|
@@ -7,8 +7,8 @@ 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
|
-
export declare const
|
|
10
|
+
export declare const BASE_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
|
-
export declare const
|
|
14
|
+
export declare const BASE_DEFAULT_COLOR_DARK: Omit<PaletteColor, 'focusVisible' | 'contrastText'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as i } from "./baseOpacityColors.js";
|
|
2
|
-
import { B as
|
|
2
|
+
import { B as a } from "./baseColors.js";
|
|
3
3
|
const t = {
|
|
4
4
|
mainLight: i.oxford[10],
|
|
5
5
|
mainDark: i.mint[20],
|
|
@@ -7,32 +7,43 @@ const t = {
|
|
|
7
7
|
light: i.oxford[20],
|
|
8
8
|
dark: i.mint[30],
|
|
9
9
|
darker: i.mint[50],
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
// Tone colors
|
|
11
|
+
toneOpacityLight: a.oxford.toneOpacity10,
|
|
12
|
+
toneOpacityDark: a.oxford.toneOpacity20,
|
|
13
|
+
// opacity backgrounds light
|
|
14
|
+
opacityHoverLight: i.oxford[10],
|
|
15
|
+
opacityFocusLight: i.oxford[20],
|
|
16
|
+
opacityActiveLight: i.oxford[30],
|
|
17
|
+
// opacity backgrounds Dark
|
|
18
|
+
opacityHoverDark: i.marble[10],
|
|
19
|
+
opacityFocusDark: i.marble[20],
|
|
20
|
+
opacityActiveDark: i.marble[30]
|
|
21
|
+
}, r = {
|
|
15
22
|
main: t.mainLight,
|
|
16
|
-
|
|
23
|
+
active: t.lighter,
|
|
17
24
|
hover: t.light,
|
|
18
25
|
opacity: t.toneOpacityLight,
|
|
19
26
|
toneOpacity: t.toneOpacityLight,
|
|
20
|
-
hoverOpacity: t.
|
|
27
|
+
hoverOpacity: t.opacityHoverLight,
|
|
28
|
+
focusOpacity: t.opacityFocusLight,
|
|
29
|
+
activeOpacity: t.opacityActiveLight,
|
|
21
30
|
//Por compatibilidad con MUI
|
|
22
31
|
light: t.light,
|
|
23
32
|
dark: t.dark
|
|
24
|
-
},
|
|
33
|
+
}, e = {
|
|
25
34
|
main: t.mainLight,
|
|
26
|
-
|
|
35
|
+
active: t.lighter,
|
|
27
36
|
hover: t.dark,
|
|
28
37
|
opacity: t.toneOpacityDark,
|
|
29
38
|
toneOpacity: t.toneOpacityDark,
|
|
30
|
-
hoverOpacity: t.
|
|
39
|
+
hoverOpacity: t.opacityHoverDark,
|
|
40
|
+
focusOpacity: t.opacityFocusDark,
|
|
41
|
+
activeOpacity: t.opacityActiveDark,
|
|
31
42
|
//Por compatibilidad con MUI
|
|
32
43
|
light: t.light,
|
|
33
44
|
dark: t.dark
|
|
34
45
|
};
|
|
35
46
|
export {
|
|
36
|
-
|
|
37
|
-
|
|
47
|
+
r as B,
|
|
48
|
+
e as a
|
|
38
49
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as a } from "./baseColors.js";
|
|
2
|
-
import { B as
|
|
2
|
+
import { B as i } from "./baseOpacityColors.js";
|
|
3
3
|
const t = {
|
|
4
4
|
patronus: {
|
|
5
5
|
main: a.patronusBlue[50],
|
|
@@ -8,12 +8,20 @@ const t = {
|
|
|
8
8
|
dark: a.patronusBlue[30],
|
|
9
9
|
darker: a.patronusBlue[10],
|
|
10
10
|
contrastText: a.marbleLight[30],
|
|
11
|
+
// Tone colors
|
|
11
12
|
toneOpacityLight: a.patronusBlue.toneOpacity10,
|
|
12
13
|
toneOpacityDark: a.patronusBlue.toneOpacity20,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
// opacity backgrounds light
|
|
15
|
+
opacityHoverLight: i.patronus[10],
|
|
16
|
+
opacityFocusLight: i.patronus[20],
|
|
17
|
+
opacityActiveLight: i.patronus[30],
|
|
18
|
+
// opacity backgrounds Dark
|
|
19
|
+
opacityHoverDark: i.patronus[20],
|
|
20
|
+
opacityFocusDark: i.patronus[30],
|
|
21
|
+
opacityActiveDark: i.patronus[40],
|
|
22
|
+
// border
|
|
23
|
+
borderMainDark: i.patronus[50],
|
|
24
|
+
borderMainLight: i.patronus[50]
|
|
17
25
|
},
|
|
18
26
|
turqui: {
|
|
19
27
|
lighter: a.turquiBlue[70],
|
|
@@ -22,12 +30,20 @@ const t = {
|
|
|
22
30
|
dark: a.turquiBlue[30],
|
|
23
31
|
darker: a.turquiBlue[10],
|
|
24
32
|
contrastText: a.marbleLight[30],
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
33
|
+
// Tone colors
|
|
34
|
+
toneOpacityLight: a.turquiBlue.toneOpacity10,
|
|
35
|
+
toneOpacityDark: a.turquiBlue.toneOpacity20,
|
|
36
|
+
// opacity backgrounds light
|
|
37
|
+
opacityHoverLight: i.turqui[10],
|
|
38
|
+
opacityFocusLight: i.turqui[20],
|
|
39
|
+
opacityActiveLight: i.turqui[30],
|
|
40
|
+
// opacity backgrounds Dark
|
|
41
|
+
opacityHoverDark: i.turqui[20],
|
|
42
|
+
opacityFocusDark: i.turqui[30],
|
|
43
|
+
opacityActiveDark: i.turqui[40],
|
|
44
|
+
// border
|
|
45
|
+
borderMainDark: i.turqui[50],
|
|
46
|
+
borderMainLight: i.turqui[50]
|
|
31
47
|
},
|
|
32
48
|
grass: {
|
|
33
49
|
lighter: a.grassGreen[70],
|
|
@@ -36,12 +52,20 @@ const t = {
|
|
|
36
52
|
dark: a.grassGreen[30],
|
|
37
53
|
darker: a.grassGreen[10],
|
|
38
54
|
contrastText: a.marbleLight[30],
|
|
55
|
+
// Tone colors
|
|
39
56
|
toneOpacityLight: a.grassGreen.toneOpacity10,
|
|
40
57
|
toneOpacityDark: a.grassGreen.toneOpacity20,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
58
|
+
// opacity backgrounds light
|
|
59
|
+
opacityHoverLight: i.grass[10],
|
|
60
|
+
opacityFocusLight: i.grass[20],
|
|
61
|
+
opacityActiveLight: i.grass[30],
|
|
62
|
+
// opacity backgrounds Dark
|
|
63
|
+
opacityHoverDark: i.grass[20],
|
|
64
|
+
opacityFocusDark: i.grass[30],
|
|
65
|
+
opacityActiveDark: i.grass[40],
|
|
66
|
+
// border
|
|
67
|
+
borderMainDark: i.grass[50],
|
|
68
|
+
borderMainLight: i.grass[50]
|
|
45
69
|
},
|
|
46
70
|
brown: {
|
|
47
71
|
lighter: a.brown[70],
|
|
@@ -50,12 +74,20 @@ const t = {
|
|
|
50
74
|
dark: a.brown[30],
|
|
51
75
|
darker: a.brown[10],
|
|
52
76
|
contrastText: a.marbleLight[30],
|
|
77
|
+
// Tone colors
|
|
53
78
|
toneOpacityLight: a.brown.toneOpacity10,
|
|
54
79
|
toneOpacityDark: a.brown.toneOpacity20,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
80
|
+
// opacity backgrounds light
|
|
81
|
+
opacityHoverLight: i.brown[10],
|
|
82
|
+
opacityFocusLight: i.brown[20],
|
|
83
|
+
opacityActiveLight: i.brown[30],
|
|
84
|
+
// opacity backgrounds Dark
|
|
85
|
+
opacityHoverDark: i.brown[20],
|
|
86
|
+
opacityFocusDark: i.brown[30],
|
|
87
|
+
opacityActiveDark: i.brown[40],
|
|
88
|
+
// border
|
|
89
|
+
borderMainDark: i.brown[50],
|
|
90
|
+
borderMainLight: i.brown[50]
|
|
59
91
|
},
|
|
60
92
|
blaze: {
|
|
61
93
|
lighter: a.blazeOrange[70],
|
|
@@ -64,36 +96,48 @@ const t = {
|
|
|
64
96
|
dark: a.blazeOrange[30],
|
|
65
97
|
darker: a.blazeOrange[10],
|
|
66
98
|
contrastText: a.marbleLight[30],
|
|
99
|
+
// Tone colors
|
|
67
100
|
toneOpacityLight: a.blazeOrange.toneOpacity10,
|
|
68
101
|
toneOpacityDark: a.blazeOrange.toneOpacity20,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
102
|
+
// opacity backgrounds light
|
|
103
|
+
opacityHoverLight: i.blaze[10],
|
|
104
|
+
opacityFocusLight: i.blaze[20],
|
|
105
|
+
opacityActiveLight: i.blaze[30],
|
|
106
|
+
// opacity backgrounds Dark
|
|
107
|
+
opacityHoverDark: i.blaze[20],
|
|
108
|
+
opacityFocusDark: i.blaze[30],
|
|
109
|
+
opacityActiveDark: i.blaze[40],
|
|
110
|
+
// border
|
|
111
|
+
borderMainDark: i.blaze[50],
|
|
112
|
+
borderMainLight: i.blaze[50]
|
|
73
113
|
}
|
|
74
114
|
}, s = {
|
|
75
115
|
patronus: {
|
|
76
116
|
main: t.patronus.main,
|
|
77
117
|
focusVisible: t.patronus.light,
|
|
78
|
-
|
|
118
|
+
active: t.patronus.lighter,
|
|
79
119
|
hover: t.patronus.light,
|
|
80
|
-
opacity: t.patronus.
|
|
120
|
+
opacity: t.patronus.opacityHoverLight,
|
|
81
121
|
toneOpacity: t.patronus.toneOpacityLight,
|
|
82
122
|
contrastText: t.patronus.contrastText,
|
|
123
|
+
hoverOpacity: t.patronus.opacityHoverLight,
|
|
124
|
+
focusOpacity: t.patronus.opacityFocusLight,
|
|
125
|
+
activeOpacity: t.patronus.opacityActiveLight,
|
|
83
126
|
//Por compatibilidad con MUI
|
|
84
|
-
hoverOpacity: t.patronus.opacityLight,
|
|
85
127
|
light: t.patronus.light,
|
|
86
128
|
dark: t.patronus.dark
|
|
87
129
|
},
|
|
88
130
|
blaze: {
|
|
89
131
|
main: t.blaze.main,
|
|
90
132
|
focusVisible: t.blaze.light,
|
|
91
|
-
|
|
133
|
+
active: t.blaze.lighter,
|
|
92
134
|
hover: t.blaze.light,
|
|
93
|
-
opacity: t.blaze.
|
|
135
|
+
opacity: t.blaze.opacityHoverLight,
|
|
94
136
|
toneOpacity: t.blaze.toneOpacityLight,
|
|
95
137
|
contrastText: t.blaze.contrastText,
|
|
96
|
-
hoverOpacity: t.blaze.
|
|
138
|
+
hoverOpacity: t.blaze.opacityHoverLight,
|
|
139
|
+
focusOpacity: t.blaze.opacityFocusLight,
|
|
140
|
+
activeOpacity: t.blaze.opacityActiveLight,
|
|
97
141
|
//Por compatibilidad con MUI
|
|
98
142
|
light: t.blaze.light,
|
|
99
143
|
dark: t.blaze.dark
|
|
@@ -101,12 +145,14 @@ const t = {
|
|
|
101
145
|
brown: {
|
|
102
146
|
main: t.brown.main,
|
|
103
147
|
focusVisible: t.brown.light,
|
|
104
|
-
|
|
148
|
+
active: t.brown.lighter,
|
|
105
149
|
hover: t.brown.light,
|
|
106
|
-
opacity: t.brown.
|
|
150
|
+
opacity: t.brown.opacityHoverLight,
|
|
107
151
|
toneOpacity: t.brown.toneOpacityLight,
|
|
108
152
|
contrastText: t.brown.contrastText,
|
|
109
|
-
hoverOpacity: t.brown.
|
|
153
|
+
hoverOpacity: t.brown.opacityHoverLight,
|
|
154
|
+
focusOpacity: t.brown.opacityFocusLight,
|
|
155
|
+
activeOpacity: t.brown.opacityActiveLight,
|
|
110
156
|
//Por compatibilidad con MUI
|
|
111
157
|
light: t.brown.light,
|
|
112
158
|
dark: t.brown.dark
|
|
@@ -114,12 +160,14 @@ const t = {
|
|
|
114
160
|
grass: {
|
|
115
161
|
main: t.grass.main,
|
|
116
162
|
focusVisible: t.grass.light,
|
|
117
|
-
|
|
163
|
+
active: t.grass.lighter,
|
|
118
164
|
hover: t.grass.light,
|
|
119
|
-
opacity: t.grass.
|
|
165
|
+
opacity: t.grass.opacityHoverLight,
|
|
120
166
|
toneOpacity: t.grass.toneOpacityLight,
|
|
121
167
|
contrastText: t.grass.contrastText,
|
|
122
|
-
hoverOpacity: t.grass.
|
|
168
|
+
hoverOpacity: t.grass.opacityHoverLight,
|
|
169
|
+
focusOpacity: t.grass.opacityFocusLight,
|
|
170
|
+
activeOpacity: t.grass.opacityActiveLight,
|
|
123
171
|
//Por compatibilidad con MUI
|
|
124
172
|
light: t.grass.light,
|
|
125
173
|
dark: t.grass.dark
|
|
@@ -127,28 +175,32 @@ const t = {
|
|
|
127
175
|
turqui: {
|
|
128
176
|
main: t.turqui.main,
|
|
129
177
|
focusVisible: t.turqui.light,
|
|
130
|
-
|
|
178
|
+
active: t.turqui.lighter,
|
|
131
179
|
hover: t.turqui.light,
|
|
132
|
-
opacity: t.turqui.
|
|
180
|
+
opacity: t.turqui.opacityHoverLight,
|
|
133
181
|
toneOpacity: t.turqui.toneOpacityLight,
|
|
134
182
|
contrastText: t.turqui.contrastText,
|
|
135
|
-
hoverOpacity: t.turqui.
|
|
183
|
+
hoverOpacity: t.turqui.opacityHoverLight,
|
|
184
|
+
focusOpacity: t.turqui.opacityFocusLight,
|
|
185
|
+
activeOpacity: t.turqui.opacityActiveLight,
|
|
136
186
|
//Por compatibilidad con MUI
|
|
137
187
|
light: t.turqui.light,
|
|
138
188
|
dark: t.turqui.dark
|
|
139
189
|
}
|
|
140
|
-
},
|
|
190
|
+
}, n = {
|
|
141
191
|
patronus: {
|
|
142
192
|
main: t.patronus.main,
|
|
143
193
|
focusVisible: t.patronus.light,
|
|
144
194
|
// validar para dark
|
|
145
|
-
|
|
195
|
+
active: t.patronus.lighter,
|
|
146
196
|
// validar para dark
|
|
147
197
|
hover: t.patronus.dark,
|
|
148
|
-
opacity: t.patronus.
|
|
198
|
+
opacity: t.patronus.opacityHoverDark,
|
|
149
199
|
toneOpacity: t.patronus.toneOpacityDark,
|
|
150
200
|
contrastText: t.patronus.contrastText,
|
|
151
|
-
hoverOpacity: t.patronus.
|
|
201
|
+
hoverOpacity: t.patronus.opacityHoverDark,
|
|
202
|
+
focusOpacity: t.patronus.opacityFocusDark,
|
|
203
|
+
activeOpacity: t.patronus.opacityActiveDark,
|
|
152
204
|
//Por compatibilidad con MUI
|
|
153
205
|
light: t.patronus.light,
|
|
154
206
|
dark: t.patronus.dark
|
|
@@ -157,13 +209,15 @@ const t = {
|
|
|
157
209
|
main: t.blaze.main,
|
|
158
210
|
focusVisible: t.blaze.light,
|
|
159
211
|
// validar para dark
|
|
160
|
-
|
|
212
|
+
active: t.blaze.lighter,
|
|
161
213
|
// validar para dark
|
|
162
214
|
hover: t.blaze.dark,
|
|
163
|
-
opacity: t.blaze.
|
|
215
|
+
opacity: t.blaze.opacityHoverDark,
|
|
164
216
|
toneOpacity: t.blaze.toneOpacityDark,
|
|
165
217
|
contrastText: t.blaze.contrastText,
|
|
166
|
-
hoverOpacity: t.blaze.
|
|
218
|
+
hoverOpacity: t.blaze.opacityHoverDark,
|
|
219
|
+
focusOpacity: t.blaze.opacityFocusDark,
|
|
220
|
+
activeOpacity: t.blaze.opacityActiveDark,
|
|
167
221
|
//Por compatibilidad con MUI
|
|
168
222
|
light: t.blaze.light,
|
|
169
223
|
dark: t.blaze.dark
|
|
@@ -172,13 +226,15 @@ const t = {
|
|
|
172
226
|
main: t.brown.main,
|
|
173
227
|
focusVisible: t.brown.light,
|
|
174
228
|
// validar para dark
|
|
175
|
-
|
|
229
|
+
active: t.brown.lighter,
|
|
176
230
|
// validar para dark
|
|
177
231
|
hover: t.brown.dark,
|
|
178
|
-
opacity: t.brown.
|
|
232
|
+
opacity: t.brown.opacityHoverDark,
|
|
179
233
|
toneOpacity: t.brown.toneOpacityDark,
|
|
180
234
|
contrastText: t.brown.contrastText,
|
|
181
|
-
hoverOpacity: t.brown.
|
|
235
|
+
hoverOpacity: t.brown.opacityHoverDark,
|
|
236
|
+
focusOpacity: t.brown.opacityFocusDark,
|
|
237
|
+
activeOpacity: t.brown.opacityActiveDark,
|
|
182
238
|
//Por compatibilidad con MUI
|
|
183
239
|
light: t.brown.light,
|
|
184
240
|
dark: t.brown.dark
|
|
@@ -187,13 +243,15 @@ const t = {
|
|
|
187
243
|
main: t.grass.main,
|
|
188
244
|
focusVisible: t.grass.light,
|
|
189
245
|
// validar para dark
|
|
190
|
-
|
|
246
|
+
active: t.grass.lighter,
|
|
191
247
|
// validar para dark
|
|
192
248
|
hover: t.grass.dark,
|
|
193
|
-
opacity: t.grass.
|
|
249
|
+
opacity: t.grass.opacityHoverDark,
|
|
194
250
|
toneOpacity: t.grass.toneOpacityDark,
|
|
195
251
|
contrastText: t.grass.contrastText,
|
|
196
|
-
hoverOpacity: t.grass.
|
|
252
|
+
hoverOpacity: t.grass.opacityHoverDark,
|
|
253
|
+
focusOpacity: t.grass.opacityFocusDark,
|
|
254
|
+
activeOpacity: t.grass.opacityActiveDark,
|
|
197
255
|
//Por compatibilidad con MUI
|
|
198
256
|
light: t.grass.light,
|
|
199
257
|
dark: t.grass.dark
|
|
@@ -202,24 +260,26 @@ const t = {
|
|
|
202
260
|
main: t.turqui.main,
|
|
203
261
|
focusVisible: t.turqui.light,
|
|
204
262
|
// validar para dark
|
|
205
|
-
|
|
263
|
+
active: t.turqui.lighter,
|
|
206
264
|
// validar para dark
|
|
207
265
|
hover: t.turqui.dark,
|
|
208
|
-
opacity: t.turqui.
|
|
266
|
+
opacity: t.turqui.opacityHoverDark,
|
|
209
267
|
toneOpacity: t.turqui.toneOpacityDark,
|
|
210
268
|
contrastText: t.turqui.contrastText,
|
|
211
|
-
hoverOpacity: t.turqui.
|
|
269
|
+
hoverOpacity: t.turqui.opacityHoverDark,
|
|
270
|
+
focusOpacity: t.turqui.opacityFocusDark,
|
|
271
|
+
activeOpacity: t.turqui.opacityActiveDark,
|
|
212
272
|
//Por compatibilidad con MUI
|
|
213
273
|
light: t.turqui.light,
|
|
214
274
|
dark: t.turqui.dark
|
|
215
275
|
}
|
|
216
|
-
}, o = Object.keys(t),
|
|
217
|
-
name:
|
|
218
|
-
value: t[
|
|
276
|
+
}, o = Object.keys(t), p = o.map((r) => ({
|
|
277
|
+
name: r,
|
|
278
|
+
value: t[r].main
|
|
219
279
|
}));
|
|
220
280
|
export {
|
|
221
281
|
t as P,
|
|
222
282
|
s as a,
|
|
223
|
-
|
|
224
|
-
|
|
283
|
+
n as b,
|
|
284
|
+
p
|
|
225
285
|
};
|