@m4l/styles 7.1.29-beta.1 → 7.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +55 -47
- package/package.json +1 -1
- package/theme/overrides/MUIComponents/ControlLabel.d.ts +1 -1
- package/theme/overrides/MUIComponents/TreeView.d.ts +1 -1
- package/theme/overrides/index.js +79 -83
- package/theme/palette/baseChipsPalette.js +4 -4
- package/theme/palette/baseColors.js +16 -16
- package/theme/palette/defaultColors.js +33 -20
- package/theme/palette/index.d.ts +4 -0
- package/theme/palette/presetColors.js +71 -10
- package/theme/palette/semanticColors.js +103 -53
- package/theme/shadows.js +52 -60
- package/theme/sizes/size.js +3 -3
- package/theme/typography/baseWeight.js +3 -4
- package/theme/typography/types.d.ts +3 -4
- package/theme/typography/typography.js +3 -3
- package/theme/typography/typographySizes.js +98 -98
- package/types/augmentations.d.ts +2 -0
- package/types/types.d.ts +10 -0
- package/utils/getPaletteByPreset.d.ts +24 -0
- package/utils/getPaletteByPreset.js +45 -49
- package/utils/getUserThemeOptions.js +20 -18
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +0 -358
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.js +0 -393
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +0 -2441
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.js +0 -1747
package/index.js
CHANGED
|
@@ -1,55 +1,63 @@
|
|
|
1
1
|
import { D as e, g as s, m as a } from "./config.js";
|
|
2
|
-
import { c as
|
|
3
|
-
import { f as
|
|
4
|
-
import { B as
|
|
5
|
-
import { B as
|
|
2
|
+
import { c as E, s as S } from "./theme/shadows.js";
|
|
3
|
+
import { f as _ } from "./theme/overrides/index.js";
|
|
4
|
+
import { B as O } from "./theme/palette/baseColors.js";
|
|
5
|
+
import { B as f } from "./theme/palette/baseOpacityColors.js";
|
|
6
6
|
import { C as P } from "./theme/palette/commonColors.js";
|
|
7
|
-
import { G as
|
|
8
|
-
import { p as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { B as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { g as
|
|
22
|
-
import {
|
|
7
|
+
import { G as A } from "./theme/palette/greyPalette.js";
|
|
8
|
+
import { P as C, p as I } from "./theme/palette/presetColors.js";
|
|
9
|
+
import { a as g, B as G } from "./theme/palette/baseChipsPalette.js";
|
|
10
|
+
import { P as l } from "./theme/palette/defaultColors.js";
|
|
11
|
+
import { P as D } from "./theme/palette/semanticColors.js";
|
|
12
|
+
import { B as H } from "./theme/typography/baseFontSize.js";
|
|
13
|
+
import { B as d } from "./theme/typography/baseLetterSpacing.js";
|
|
14
|
+
import { B as M } from "./theme/typography/baseLineHeight.js";
|
|
15
|
+
import { B as F } from "./theme/typography/baseWeight.js";
|
|
16
|
+
import { T as U } from "./theme/typography/typography.js";
|
|
17
|
+
import { a as y, T as K } from "./theme/typography/typographySizes.js";
|
|
18
|
+
import { t as w } from "./theme/typographyOld.js";
|
|
19
|
+
import { P as J, a as Q } from "./theme/sizes/pointerQr.js";
|
|
20
|
+
import { u as k } from "./utils/useResponsive.js";
|
|
21
|
+
import { D as W, d as j, g as q } from "./utils/getColorPresets.js";
|
|
22
|
+
import { p as $, r as oo, a as ro } from "./utils/getFontValue.js";
|
|
23
|
+
import { g as so } from "./utils/getColorState.js";
|
|
24
|
+
import { g as to } from "./utils/getPaletteByPreset.js";
|
|
25
|
+
import { g as So } from "./utils/getUserThemeOptions.js";
|
|
23
26
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
O as BASE_COLORS,
|
|
28
|
+
H as BASE_FONT_SIZE,
|
|
29
|
+
d as BASE_LETTER_SPACING,
|
|
30
|
+
M as BASE_LINE_HEIGHT,
|
|
31
|
+
f as BASE_OPACITY_COLORS,
|
|
32
|
+
g as BASE_TAG_OBJECT_COLORS_DARK,
|
|
33
|
+
G as BASE_TAG_OBJECT_COLORS_LIGHT,
|
|
34
|
+
F as BASE_WEIGHT,
|
|
30
35
|
P as COMMON_COLORS,
|
|
31
|
-
|
|
36
|
+
W as DEFAULT_PRESET,
|
|
32
37
|
e as DEFAULT_SIZE,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
j as
|
|
44
|
-
|
|
45
|
-
|
|
38
|
+
A as GREY_PALETTE,
|
|
39
|
+
J as POINTER_QR_DESKTOP_SIZES,
|
|
40
|
+
Q as POINTER_QR_MOBILE_SIZES,
|
|
41
|
+
C as PRESET_COLORS,
|
|
42
|
+
l as PRESET_DEFAULT,
|
|
43
|
+
D as PRESET_SEMANTICS_COLORS,
|
|
44
|
+
U as TYPOGRAPHY,
|
|
45
|
+
y as TYPOGRAPHY_SIZES_DESKTOP,
|
|
46
|
+
K as TYPOGRAPHY_SIZES_MOBILE,
|
|
47
|
+
E as createCustomShadows,
|
|
48
|
+
j as defaultPresetColors,
|
|
49
|
+
_ as fnComponentsOverrides,
|
|
50
|
+
q as getColorPresets,
|
|
51
|
+
so as getColorState,
|
|
52
|
+
to as getPaletteByPreset,
|
|
53
|
+
So as getUserThemeOptions,
|
|
46
54
|
s as globalRemSize,
|
|
47
55
|
a as muiBreakpointsValues,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
56
|
+
I as presetsOptionsMainColor,
|
|
57
|
+
$ as pxToRem,
|
|
58
|
+
oo as remToPx,
|
|
59
|
+
ro as responsiveFontSizes,
|
|
60
|
+
S as shadows,
|
|
61
|
+
w as typographyOld,
|
|
62
|
+
k as useResponsive
|
|
55
63
|
};
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ export default function ControlLabel(theme: Omit<Theme, 'palette' | 'applyStyles
|
|
|
6
6
|
MuiFormControlLabel: {
|
|
7
7
|
styleOverrides: {
|
|
8
8
|
label: {
|
|
9
|
-
[
|
|
9
|
+
[k: string]: unknown;
|
|
10
10
|
'@font-face'?: import('@mui/material/styles/createTypography').Fontface | import('@mui/material/styles/createTypography').Fontface[];
|
|
11
11
|
accentColor?: import("csstype").Property.AccentColor | undefined;
|
|
12
12
|
alignContent?: import("csstype").Property.AlignContent | undefined;
|
|
@@ -13,7 +13,7 @@ export default function TreeView(theme: Omit<Theme, 'palette' | 'applyStyles'> &
|
|
|
13
13
|
MuiTreeItem: {
|
|
14
14
|
styleOverrides: {
|
|
15
15
|
label: {
|
|
16
|
-
[
|
|
16
|
+
[k: string]: unknown;
|
|
17
17
|
'@font-face'?: import('@mui/material/styles/createTypography').Fontface | import('@mui/material/styles/createTypography').Fontface[];
|
|
18
18
|
accentColor?: import("csstype").Property.AccentColor | undefined;
|
|
19
19
|
alignContent?: import("csstype").Property.AlignContent | undefined;
|
package/theme/overrides/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as r } from "./MUIComponents/Avatar.js";
|
|
2
2
|
import { B as a } from "./MUIComponents/Button.js";
|
|
3
|
-
import { I as
|
|
4
|
-
import { F as
|
|
3
|
+
import { I as m } from "./MUIComponents/IconButton.js";
|
|
4
|
+
import { F as i } from "./MUIComponents/Fab.js";
|
|
5
5
|
import { C as p } from "./MUIComponents/Card.js";
|
|
6
6
|
import { M } from "./MUIComponents/Menu.js";
|
|
7
7
|
import { L as s } from "./MUIComponents/Link.js";
|
|
@@ -27,8 +27,8 @@ import { T as R } from "./MUIComponents/Timeline.js";
|
|
|
27
27
|
import { C as y } from "./MUIComponents/Checkbox.js";
|
|
28
28
|
import { A as H } from "./MUIComponents/Accordion.js";
|
|
29
29
|
import { T as v } from "./MUIComponents/Typography.js";
|
|
30
|
-
import { P as
|
|
31
|
-
import { B as
|
|
30
|
+
import { P as k } from "./MUIComponents/Pagination.js";
|
|
31
|
+
import { B as D } from "./MUIComponents/Breadcrumbs.js";
|
|
32
32
|
import { B as x } from "./MUIComponents/ButtonGroup.js";
|
|
33
33
|
import { C as w } from "./MUIComponents/CssBaseline.js";
|
|
34
34
|
import { A as G } from "./MUIComponents/Autocomplete.js";
|
|
@@ -51,56 +51,54 @@ import { M as _ } from "./M4LExtendedComponents/M4LButton.js";
|
|
|
51
51
|
import { M as $ } from "./M4LRHFComponents/M4LRHFAutocomplete.js";
|
|
52
52
|
import { M as e } from "./M4LRHFComponents/M4LRHFAutocompleteAsync.js";
|
|
53
53
|
import { M as h } from "./M4LExtendedComponents/M4LNavLink.js";
|
|
54
|
-
import { M as oo } from "./M4LExtendedComponents/
|
|
55
|
-
import { M as ro } from "./M4LExtendedComponents/
|
|
56
|
-
import { M as ao } from "./M4LExtendedComponents/
|
|
57
|
-
import { M as io } from "./M4LExtendedComponents/M4LAppBar.js";
|
|
54
|
+
import { M as oo } from "./M4LExtendedComponents/M4LAreasAdmin.js";
|
|
55
|
+
import { M as ro } from "./M4LExtendedComponents/M4LAreasViewer.js";
|
|
56
|
+
import { M as ao } from "./M4LExtendedComponents/M4LAppBar.js";
|
|
58
57
|
import { M as mo } from "./M4LExtendedComponents/M4LAvatar.js";
|
|
59
|
-
import { M as
|
|
60
|
-
import { M as
|
|
61
|
-
import { M as
|
|
62
|
-
import { M as
|
|
63
|
-
import { M as
|
|
64
|
-
import { M as
|
|
65
|
-
import { M as
|
|
66
|
-
import { M as
|
|
67
|
-
import { M as
|
|
68
|
-
import { M as
|
|
69
|
-
import { M as
|
|
70
|
-
import { M as
|
|
71
|
-
import { M as
|
|
72
|
-
import { M as
|
|
73
|
-
import { M as
|
|
74
|
-
import { M as
|
|
75
|
-
import { M as
|
|
76
|
-
import { M as
|
|
77
|
-
import { M as
|
|
78
|
-
import { M as
|
|
79
|
-
import { M as
|
|
80
|
-
import { M as
|
|
81
|
-
import { M as
|
|
82
|
-
import { M as
|
|
83
|
-
import { M as
|
|
84
|
-
import { M as ko } from "./M4LExtendedComponents/
|
|
85
|
-
import { M as
|
|
86
|
-
import { M as
|
|
87
|
-
import { M as
|
|
88
|
-
import { M as
|
|
89
|
-
import { M as
|
|
90
|
-
import { M as
|
|
91
|
-
import { M as
|
|
92
|
-
import { M as
|
|
93
|
-
import { M as
|
|
94
|
-
import { M as
|
|
95
|
-
import { M as
|
|
96
|
-
import { M as
|
|
97
|
-
import { M as
|
|
98
|
-
import { M as
|
|
99
|
-
import { M as
|
|
100
|
-
|
|
101
|
-
function Ua(o) {
|
|
58
|
+
import { M as io } from "./M4LExtendedComponents/M4LAccountPopover.js";
|
|
59
|
+
import { M as po } from "./M4LExtendedComponents/M4LModuleLayout.js";
|
|
60
|
+
import { M as Mo } from "./M4LExtendedComponents/M4LMasterDetailLayout.js";
|
|
61
|
+
import { M as so } from "./M4LExtendedComponents/M4LSplitLayout.js";
|
|
62
|
+
import { M as fo } from "./M4LExtendedComponents/M4LCommonActions.js";
|
|
63
|
+
import { M as to } from "./M4LRHFComponents/M4LRHFDateTime.js";
|
|
64
|
+
import { M as Lo } from "./M4LExtendedComponents/M4LinearProgressIndeterminate.js";
|
|
65
|
+
import { M as no } from "./M4LExtendedComponents/M4LPropertyValue.js";
|
|
66
|
+
import { M as lo } from "./M4LExtendedComponents/M4LTab.js";
|
|
67
|
+
import { M as co } from "./M4LExtendedComponents/M4LAccordion.js";
|
|
68
|
+
import { M as uo } from "./M4LExtendedComponents/M4LRHFormProvider.js";
|
|
69
|
+
import { M as Bo } from "./M4LRHFComponents/M4LRHFUploadImage.js";
|
|
70
|
+
import { M as go } from "./M4LExtendedComponents/M4LPeriod.js";
|
|
71
|
+
import { M as Po } from "./M4LRHFComponents/M4LRHFPeriod.js";
|
|
72
|
+
import { M as To } from "./M4LExtendedComponents/M4LModalDialog.js";
|
|
73
|
+
import { M as Ao } from "./M4LExtendedComponents/M4LPaperForm.js";
|
|
74
|
+
import { M as Co } from "./M4LExtendedComponents/M4LTooltip.js";
|
|
75
|
+
import { M as Fo } from "./M4LExtendedComponents/M4LBadge.js";
|
|
76
|
+
import { M as So } from "./M4LExtendedComponents/M4LPager.js";
|
|
77
|
+
import { M as bo } from "./M4LExtendedComponents/M4LCheckBox.js";
|
|
78
|
+
import { M as Io } from "./M4LExtendedComponents/M4LStack.js";
|
|
79
|
+
import { M as Ro } from "./M4LExtendedComponents/M4LTabs.js";
|
|
80
|
+
import { M as yo } from "./M4LExtendedComponents/M4LNoItemSelected.js";
|
|
81
|
+
import { M as Ho } from "./M4LExtendedComponents/M4LScrollBar.js";
|
|
82
|
+
import { M as vo } from "./M4LExtendedComponents/M4LGridLayout.js";
|
|
83
|
+
import { M as ko } from "./M4LExtendedComponents/M4LTabContent.js";
|
|
84
|
+
import { M as Do } from "./M4LExtendedComponents/M4LMenuActions.js";
|
|
85
|
+
import { M as xo } from "./M4LExtendedComponents/M4LPrintingSystem.js";
|
|
86
|
+
import { M as wo } from "./M4LExtendedComponents/M4LFormatter.js";
|
|
87
|
+
import { M as Go } from "./M4LExtendedComponents/M4LoadingError.js";
|
|
88
|
+
import { M as Vo } from "./M4LExtendedComponents/M4LMFLoader.js";
|
|
89
|
+
import { M as Eo } from "./M4LRHFComponents/M4LRHFColorPicker.js";
|
|
90
|
+
import { M as No } from "./M4LExtendedComponents/M4LoadingButton.js";
|
|
91
|
+
import { M as Oo } from "./M4LExtendedComponents/M4LPDFViewer.js";
|
|
92
|
+
import { M as jo } from "./M4LExtendedComponents/M4LTopBar.js";
|
|
93
|
+
import { M as Uo } from "./M4LExtendedComponents/M4LAppBarCommercial.js";
|
|
94
|
+
import { M as qo } from "./M4LExtendedComponents/M4LSectionCommercial.js";
|
|
95
|
+
import { M as zo } from "./M4LExtendedComponents/M4LHamburgerMenuCommercial.js";
|
|
96
|
+
import { M as Jo } from "./M4LExtendedComponents/M4LFieldLabel.js";
|
|
97
|
+
import { M as Ko } from "./M4LExtendedComponents/M4LMap.js";
|
|
98
|
+
import { M as Qo } from "./M4LExtendedComponents/M4LMapGpsTools.js";
|
|
99
|
+
function Ea(o) {
|
|
102
100
|
return Object.assign(
|
|
103
|
-
|
|
101
|
+
i(o),
|
|
104
102
|
// Chip(theme),
|
|
105
103
|
p(o),
|
|
106
104
|
M(o),
|
|
@@ -116,7 +114,7 @@ function Ua(o) {
|
|
|
116
114
|
g(o),
|
|
117
115
|
// Select(theme),
|
|
118
116
|
a(o),
|
|
119
|
-
|
|
117
|
+
m(o),
|
|
120
118
|
// Rating(theme),
|
|
121
119
|
r(o),
|
|
122
120
|
B(o),
|
|
@@ -134,80 +132,78 @@ function Ua(o) {
|
|
|
134
132
|
I(o),
|
|
135
133
|
H(o),
|
|
136
134
|
v(o),
|
|
137
|
-
D(o),
|
|
138
|
-
x(o),
|
|
139
135
|
k(o),
|
|
136
|
+
x(o),
|
|
137
|
+
D(o),
|
|
140
138
|
w(),
|
|
141
139
|
G(o),
|
|
142
140
|
E(o),
|
|
143
141
|
V(o),
|
|
144
142
|
N(o),
|
|
145
|
-
|
|
143
|
+
No(o),
|
|
146
144
|
/* Owner components */
|
|
147
145
|
O(),
|
|
148
146
|
U(o),
|
|
149
147
|
j(),
|
|
150
148
|
$(o),
|
|
151
149
|
e(),
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
150
|
+
to(o),
|
|
151
|
+
uo(),
|
|
152
|
+
Bo(o),
|
|
153
|
+
Po(),
|
|
156
154
|
q(o),
|
|
157
155
|
z(o),
|
|
158
156
|
J(),
|
|
159
157
|
K(o),
|
|
160
158
|
h(o),
|
|
161
159
|
Q(),
|
|
162
|
-
|
|
160
|
+
Fo(o),
|
|
163
161
|
W(o),
|
|
164
162
|
X(o),
|
|
165
|
-
bo(o),
|
|
166
163
|
Y(o),
|
|
167
164
|
Z(o),
|
|
168
165
|
_(o),
|
|
166
|
+
ao(o),
|
|
169
167
|
oo(o),
|
|
170
|
-
io(o),
|
|
171
168
|
ro(o),
|
|
172
|
-
ao(o),
|
|
173
169
|
mo(o),
|
|
174
|
-
|
|
175
|
-
|
|
170
|
+
io(o),
|
|
171
|
+
po(),
|
|
172
|
+
Mo(o),
|
|
176
173
|
so(o),
|
|
177
|
-
fo(
|
|
178
|
-
|
|
174
|
+
fo(),
|
|
175
|
+
Lo(o),
|
|
179
176
|
no(o),
|
|
180
177
|
lo(o),
|
|
181
178
|
co(o),
|
|
182
|
-
|
|
183
|
-
|
|
179
|
+
go(o),
|
|
180
|
+
To(o),
|
|
184
181
|
Ao(o),
|
|
185
182
|
Co(o),
|
|
186
|
-
|
|
187
|
-
|
|
183
|
+
So(o),
|
|
184
|
+
bo(o),
|
|
185
|
+
Io(),
|
|
188
186
|
Ro(o),
|
|
189
187
|
yo(),
|
|
190
188
|
Ho(o),
|
|
191
189
|
vo(),
|
|
190
|
+
ko(o),
|
|
192
191
|
Do(o),
|
|
193
|
-
ko(),
|
|
194
192
|
xo(o),
|
|
195
193
|
wo(o),
|
|
196
194
|
Go(o),
|
|
197
|
-
Vo(
|
|
195
|
+
Vo(),
|
|
198
196
|
Eo(o),
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
Uo(),
|
|
197
|
+
Oo(),
|
|
198
|
+
jo(o),
|
|
199
|
+
Uo(o),
|
|
202
200
|
qo(o),
|
|
203
|
-
zo(
|
|
201
|
+
zo(),
|
|
204
202
|
Jo(o),
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
Xo(),
|
|
208
|
-
Wo(o)
|
|
203
|
+
Qo(),
|
|
204
|
+
Ko(o)
|
|
209
205
|
);
|
|
210
206
|
}
|
|
211
207
|
export {
|
|
212
|
-
|
|
208
|
+
Ea as f
|
|
213
209
|
};
|
|
@@ -12,7 +12,7 @@ const c = {
|
|
|
12
12
|
backgroundActive: r.oxford[30],
|
|
13
13
|
// Comprobado
|
|
14
14
|
/* Tone */
|
|
15
|
-
colorTone: o.oxford[
|
|
15
|
+
colorTone: o.oxford[60],
|
|
16
16
|
// Comprobado
|
|
17
17
|
backgroundColorTone: o.oxford[40],
|
|
18
18
|
// Comprobado
|
|
@@ -507,7 +507,7 @@ const c = {
|
|
|
507
507
|
default: {
|
|
508
508
|
outlined: {
|
|
509
509
|
/* opacidad */
|
|
510
|
-
color: o.
|
|
510
|
+
color: o.coolGrey[20],
|
|
511
511
|
// Comprobado
|
|
512
512
|
backgroundColor: r.mint[40],
|
|
513
513
|
// Comprobado
|
|
@@ -516,7 +516,7 @@ const c = {
|
|
|
516
516
|
backgroundActive: r.mint[30],
|
|
517
517
|
// Comprobado
|
|
518
518
|
/* Tone */
|
|
519
|
-
colorTone: o.
|
|
519
|
+
colorTone: o.coolGrey[20],
|
|
520
520
|
// Comprobado
|
|
521
521
|
backgroundColorTone: o.coolGrey[70],
|
|
522
522
|
// Comprobado
|
|
@@ -527,7 +527,7 @@ const c = {
|
|
|
527
527
|
},
|
|
528
528
|
contained: {
|
|
529
529
|
/* opacidad */
|
|
530
|
-
color: o.
|
|
530
|
+
color: o.coolGrey[20],
|
|
531
531
|
// Comprobado
|
|
532
532
|
backgroundColor: r.mint[10],
|
|
533
533
|
// Comprobado
|
|
@@ -20,7 +20,7 @@ const F = {
|
|
|
20
20
|
// Comprobado
|
|
21
21
|
90: "#1E3A8A",
|
|
22
22
|
// Comprobado
|
|
23
|
-
95: "#
|
|
23
|
+
95: "#1D2531"
|
|
24
24
|
// Comprobado
|
|
25
25
|
},
|
|
26
26
|
crayonBlue: {
|
|
@@ -140,7 +140,7 @@ const F = {
|
|
|
140
140
|
// Comprobado
|
|
141
141
|
90: "#27423A",
|
|
142
142
|
// Comprobado
|
|
143
|
-
95: "#
|
|
143
|
+
95: "#1C2B25"
|
|
144
144
|
// Comprobado
|
|
145
145
|
},
|
|
146
146
|
desertBeige: {
|
|
@@ -164,7 +164,7 @@ const F = {
|
|
|
164
164
|
// Comprobado
|
|
165
165
|
90: "#735133",
|
|
166
166
|
// Comprobado
|
|
167
|
-
95: "#
|
|
167
|
+
95: "#322D29"
|
|
168
168
|
// Comprobado
|
|
169
169
|
},
|
|
170
170
|
turquiBlue: {
|
|
@@ -188,7 +188,7 @@ const F = {
|
|
|
188
188
|
// Comprobado
|
|
189
189
|
90: "#2E3D41",
|
|
190
190
|
// Comprobado
|
|
191
|
-
95: "#
|
|
191
|
+
95: "#212A2E"
|
|
192
192
|
// Comprobado
|
|
193
193
|
},
|
|
194
194
|
blazeOrange: {
|
|
@@ -212,7 +212,7 @@ const F = {
|
|
|
212
212
|
// Comprobado
|
|
213
213
|
90: "#7C2D12",
|
|
214
214
|
// Comprobado
|
|
215
|
-
95: "#
|
|
215
|
+
95: "#36281F"
|
|
216
216
|
// Comprobado
|
|
217
217
|
},
|
|
218
218
|
flameRed: {
|
|
@@ -236,7 +236,7 @@ const F = {
|
|
|
236
236
|
// Comprobado
|
|
237
237
|
90: "#3E3231",
|
|
238
238
|
// Comprobado
|
|
239
|
-
95: ""
|
|
239
|
+
95: "#3E3231"
|
|
240
240
|
// No aplica
|
|
241
241
|
},
|
|
242
242
|
coolGrey: {
|
|
@@ -284,7 +284,7 @@ const F = {
|
|
|
284
284
|
// Comprobado
|
|
285
285
|
90: "#654432",
|
|
286
286
|
// Comprobado
|
|
287
|
-
95: "#
|
|
287
|
+
95: "#2A2523"
|
|
288
288
|
// Comprobado
|
|
289
289
|
},
|
|
290
290
|
marbleLight: {
|
|
@@ -314,23 +314,23 @@ const F = {
|
|
|
314
314
|
onyx: {
|
|
315
315
|
5: "",
|
|
316
316
|
// No aplica
|
|
317
|
-
10: "#
|
|
317
|
+
10: "#3a3f3f",
|
|
318
318
|
// Comprobado
|
|
319
|
-
20: "#
|
|
319
|
+
20: "#343939",
|
|
320
320
|
// Comprobado
|
|
321
|
-
30: "#
|
|
321
|
+
30: "#292f2f",
|
|
322
322
|
// Comprobado
|
|
323
|
-
40: "#
|
|
323
|
+
40: "#262b2b",
|
|
324
324
|
// Comprobado
|
|
325
|
-
50: "#
|
|
325
|
+
50: "#262626",
|
|
326
326
|
// Comprobado
|
|
327
|
-
60: "#
|
|
327
|
+
60: "#202020",
|
|
328
328
|
// Comprobado
|
|
329
|
-
70: "#
|
|
329
|
+
70: "#1C1C1C",
|
|
330
330
|
// Comprobado
|
|
331
|
-
80: "",
|
|
331
|
+
80: "#1A1A1A",
|
|
332
332
|
// No aplica
|
|
333
|
-
90: "",
|
|
333
|
+
90: "#141414",
|
|
334
334
|
// No aplica
|
|
335
335
|
95: ""
|
|
336
336
|
// No aplica
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { alpha as
|
|
1
|
+
import { alpha as e } from "@mui/material/styles";
|
|
2
2
|
import { B as a } from "./baseOpacityColors.js";
|
|
3
|
-
import { B as
|
|
3
|
+
import { B as i } from "./baseColors.js";
|
|
4
4
|
const t = {
|
|
5
|
-
enabledLight:
|
|
5
|
+
enabledLight: i.marbleLight[30],
|
|
6
6
|
// Comprobado
|
|
7
|
-
enabledDark:
|
|
7
|
+
enabledDark: i.onyx[30],
|
|
8
8
|
// Comprobado
|
|
9
|
-
hoverLight:
|
|
9
|
+
hoverLight: i.oxford[30],
|
|
10
10
|
// Comprobado
|
|
11
|
-
hoverDark:
|
|
11
|
+
hoverDark: i.onyx[20],
|
|
12
12
|
// Comprobado
|
|
13
|
-
selectedLight:
|
|
13
|
+
selectedLight: i.oxford[30],
|
|
14
14
|
// Comprobado
|
|
15
|
-
selectedDark:
|
|
15
|
+
selectedDark: i.coolGrey[40],
|
|
16
16
|
// Comprobado
|
|
17
|
-
activeLight:
|
|
17
|
+
activeLight: i.oxford[30],
|
|
18
18
|
// Comprobado
|
|
19
|
-
activeDark:
|
|
19
|
+
activeDark: i.coolGrey[80],
|
|
20
20
|
// Comprobado
|
|
21
|
-
focusLight:
|
|
21
|
+
focusLight: i.oxford[40],
|
|
22
22
|
// Comprobado
|
|
23
|
-
focusDark:
|
|
23
|
+
focusDark: i.onyx[50],
|
|
24
24
|
// Comprobado
|
|
25
25
|
enabledOpacityLight: a.oxford[5],
|
|
26
26
|
// Comprobado
|
|
@@ -30,9 +30,9 @@ const t = {
|
|
|
30
30
|
// Comprobado
|
|
31
31
|
hoverOpacityDark: a.mint[10],
|
|
32
32
|
// Comprobado
|
|
33
|
-
selectedOpacityLight:
|
|
33
|
+
selectedOpacityLight: e("#091E42", 0.2),
|
|
34
34
|
// Comprobado
|
|
35
|
-
selectedOpacityDark:
|
|
35
|
+
selectedOpacityDark: e("#8E9DB4", 0.31),
|
|
36
36
|
// Comprobado
|
|
37
37
|
activeOpacityLight: a.oxford[30],
|
|
38
38
|
// Comprobado
|
|
@@ -42,12 +42,20 @@ const t = {
|
|
|
42
42
|
// Comprobado
|
|
43
43
|
focusOpacityDark: a.mint[40],
|
|
44
44
|
// Comprobado
|
|
45
|
-
contrastText:
|
|
45
|
+
contrastText: i.onyx[20],
|
|
46
46
|
// Comprobado
|
|
47
47
|
mainLight: a.oxford[10],
|
|
48
48
|
// Comprobado
|
|
49
49
|
mainDark: a.mint[20],
|
|
50
50
|
// Comprobado
|
|
51
|
+
opacityGradient1Light: e(a.oxford[20], 0.25),
|
|
52
|
+
// Comprobado
|
|
53
|
+
opacityGradient1Dark: e(a.mint[20], 0.25),
|
|
54
|
+
// Comprobado
|
|
55
|
+
opacityGradient2Light: e(a.oxford[20], 0.1),
|
|
56
|
+
// Comprobado
|
|
57
|
+
opacityGradient2Dark: e(a.mint[20], 0.1),
|
|
58
|
+
// Comprobado
|
|
51
59
|
light: a.oxford[20],
|
|
52
60
|
// Comprobado
|
|
53
61
|
lighter: a.oxford[40],
|
|
@@ -57,11 +65,11 @@ const t = {
|
|
|
57
65
|
darker: a.mint[50],
|
|
58
66
|
// Comprobado,
|
|
59
67
|
// Tone colors
|
|
60
|
-
toneOpacityLight:
|
|
68
|
+
toneOpacityLight: i.marbleLight[30],
|
|
61
69
|
// Comprobado
|
|
62
|
-
toneOpacityDark:
|
|
70
|
+
toneOpacityDark: i.onyx[50]
|
|
63
71
|
// Comprobado
|
|
64
|
-
},
|
|
72
|
+
}, n = {
|
|
65
73
|
enabled: t.enabledLight,
|
|
66
74
|
enabledOpacity: t.enabledOpacityLight,
|
|
67
75
|
hover: t.hoverLight,
|
|
@@ -74,6 +82,8 @@ const t = {
|
|
|
74
82
|
active: t.activeLight,
|
|
75
83
|
activeOpacity: t.activeOpacityLight,
|
|
76
84
|
opacity: t.light,
|
|
85
|
+
opacityGradient1: t.opacityGradient1Light,
|
|
86
|
+
opacityGradient2: t.opacityGradient2Light,
|
|
77
87
|
toneOpacity: t.toneOpacityLight,
|
|
78
88
|
//Por compatibilidad con MUI
|
|
79
89
|
main: t.mainLight,
|
|
@@ -92,6 +102,8 @@ const t = {
|
|
|
92
102
|
active: t.activeDark,
|
|
93
103
|
activeOpacity: t.activeOpacityDark,
|
|
94
104
|
opacity: t.dark,
|
|
105
|
+
opacityGradient1: t.opacityGradient1Dark,
|
|
106
|
+
opacityGradient2: t.opacityGradient2Dark,
|
|
95
107
|
toneOpacity: t.toneOpacityDark,
|
|
96
108
|
//Por compatibilidad con MUI
|
|
97
109
|
main: t.mainDark,
|
|
@@ -99,6 +111,7 @@ const t = {
|
|
|
99
111
|
dark: t.dark
|
|
100
112
|
};
|
|
101
113
|
export {
|
|
102
|
-
|
|
103
|
-
|
|
114
|
+
y as B,
|
|
115
|
+
t as P,
|
|
116
|
+
n as a
|
|
104
117
|
};
|
package/theme/palette/index.d.ts
CHANGED
|
@@ -3,3 +3,7 @@ export { BASE_OPACITY_COLORS } from './baseOpacityColors';
|
|
|
3
3
|
export { COMMON_COLORS } from './commonColors';
|
|
4
4
|
export { GREY_PALETTE } from './greyPalette';
|
|
5
5
|
export { presetsOptionsMainColor } from './presetColors';
|
|
6
|
+
export { BASE_TAG_OBJECT_COLORS_LIGHT, BASE_TAG_OBJECT_COLORS_DARK } from './baseChipsPalette';
|
|
7
|
+
export { PRESET_DEFAULT } from './defaultColors';
|
|
8
|
+
export { PRESET_SEMANTICS_COLORS } from './semanticColors';
|
|
9
|
+
export { PRESET_COLORS } from './presetColors';
|