@m4l/styles 7.1.28-beta.4 → 7.1.28-beta.5
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
CHANGED
|
@@ -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,7 +42,7 @@ 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
|
|
@@ -57,11 +57,11 @@ const t = {
|
|
|
57
57
|
darker: a.mint[50],
|
|
58
58
|
// Comprobado,
|
|
59
59
|
// Tone colors
|
|
60
|
-
toneOpacityLight:
|
|
60
|
+
toneOpacityLight: i.marbleLight[30],
|
|
61
61
|
// Comprobado
|
|
62
|
-
toneOpacityDark:
|
|
62
|
+
toneOpacityDark: i.onyx[30]
|
|
63
63
|
// Comprobado
|
|
64
|
-
},
|
|
64
|
+
}, y = {
|
|
65
65
|
enabled: t.enabledLight,
|
|
66
66
|
enabledOpacity: t.enabledOpacityLight,
|
|
67
67
|
hover: t.hoverLight,
|
|
@@ -74,12 +74,14 @@ const t = {
|
|
|
74
74
|
active: t.activeLight,
|
|
75
75
|
activeOpacity: t.activeOpacityLight,
|
|
76
76
|
opacity: t.light,
|
|
77
|
+
opacityGradient1: e(t.light, 0.25),
|
|
78
|
+
opacityGradient2: e(t.light, 0.1),
|
|
77
79
|
toneOpacity: t.toneOpacityLight,
|
|
78
80
|
//Por compatibilidad con MUI
|
|
79
81
|
main: t.mainLight,
|
|
80
82
|
light: t.light,
|
|
81
83
|
dark: t.dark
|
|
82
|
-
},
|
|
84
|
+
}, d = {
|
|
83
85
|
enabled: t.enabledDark,
|
|
84
86
|
enabledOpacity: t.enabledOpacityDark,
|
|
85
87
|
hover: t.hoverDark,
|
|
@@ -92,6 +94,8 @@ const t = {
|
|
|
92
94
|
active: t.activeDark,
|
|
93
95
|
activeOpacity: t.activeOpacityDark,
|
|
94
96
|
opacity: t.dark,
|
|
97
|
+
opacityGradient1: e(t.dark, 0.25),
|
|
98
|
+
opacityGradient2: e(t.dark, 0.1),
|
|
95
99
|
toneOpacity: t.toneOpacityDark,
|
|
96
100
|
//Por compatibilidad con MUI
|
|
97
101
|
main: t.mainDark,
|
|
@@ -99,7 +103,7 @@ const t = {
|
|
|
99
103
|
dark: t.dark
|
|
100
104
|
};
|
|
101
105
|
export {
|
|
102
|
-
|
|
106
|
+
d as B,
|
|
103
107
|
t as P,
|
|
104
|
-
|
|
108
|
+
y as a
|
|
105
109
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { alpha as i } from "@mui/material";
|
|
1
2
|
import { B as t } from "./baseColors.js";
|
|
2
3
|
import { B as e } from "./baseOpacityColors.js";
|
|
3
4
|
const a = {
|
|
@@ -361,7 +362,7 @@ const a = {
|
|
|
361
362
|
borderMainDark: e.blaze[40]
|
|
362
363
|
// comprobado,
|
|
363
364
|
}
|
|
364
|
-
},
|
|
365
|
+
}, u = {
|
|
365
366
|
patronus: {
|
|
366
367
|
enabled: a.patronus.enabledLight,
|
|
367
368
|
enabledOpacity: a.patronus.enabledOpacityLight,
|
|
@@ -375,6 +376,8 @@ const a = {
|
|
|
375
376
|
active: a.patronus.activeLight,
|
|
376
377
|
activeOpacity: a.patronus.activeOpacityLight,
|
|
377
378
|
opacity: a.patronus.opacityLight,
|
|
379
|
+
opacityGradient1: i(a.patronus.opacityLight, 0.25),
|
|
380
|
+
opacityGradient2: i(a.patronus.opacityLight, 0.1),
|
|
378
381
|
toneOpacity: a.patronus.toneOpacityLight,
|
|
379
382
|
contrastText: a.patronus.contrastText,
|
|
380
383
|
semanticText: a.patronus.semanticTextLight,
|
|
@@ -396,6 +399,8 @@ const a = {
|
|
|
396
399
|
active: a.blaze.activeLight,
|
|
397
400
|
activeOpacity: a.blaze.activeOpacityLight,
|
|
398
401
|
opacity: a.blaze.opacityLight,
|
|
402
|
+
opacityGradient1: i(a.blaze.opacityLight, 0.25),
|
|
403
|
+
opacityGradient2: i(a.blaze.opacityLight, 0.1),
|
|
399
404
|
toneOpacity: a.blaze.toneOpacityLight,
|
|
400
405
|
contrastText: a.blaze.contrastText,
|
|
401
406
|
semanticText: a.blaze.semanticTextLight,
|
|
@@ -417,6 +422,8 @@ const a = {
|
|
|
417
422
|
active: a.brown.activeLight,
|
|
418
423
|
activeOpacity: a.brown.activeOpacityLight,
|
|
419
424
|
opacity: a.brown.opacityLight,
|
|
425
|
+
opacityGradient1: i(a.brown.opacityLight, 0.25),
|
|
426
|
+
opacityGradient2: i(a.brown.opacityLight, 0.1),
|
|
420
427
|
toneOpacity: a.brown.toneOpacityLight,
|
|
421
428
|
contrastText: a.brown.contrastText,
|
|
422
429
|
semanticText: a.brown.semanticTextLight,
|
|
@@ -438,6 +445,8 @@ const a = {
|
|
|
438
445
|
active: a.grass.activeLight,
|
|
439
446
|
activeOpacity: a.grass.activeOpacityLight,
|
|
440
447
|
opacity: a.grass.opacityLight,
|
|
448
|
+
opacityGradient1: i(a.grass.opacityLight, 0.25),
|
|
449
|
+
opacityGradient2: i(a.grass.opacityLight, 0.1),
|
|
441
450
|
toneOpacity: a.grass.toneOpacityLight,
|
|
442
451
|
contrastText: a.grass.contrastText,
|
|
443
452
|
semanticText: a.grass.semanticTextLight,
|
|
@@ -459,6 +468,8 @@ const a = {
|
|
|
459
468
|
active: a.turqui.activeLight,
|
|
460
469
|
activeOpacity: a.turqui.activeOpacityLight,
|
|
461
470
|
opacity: a.turqui.opacityLight,
|
|
471
|
+
opacityGradient1: i(a.turqui.opacityLight, 0.25),
|
|
472
|
+
opacityGradient2: i(a.turqui.opacityLight, 0.1),
|
|
462
473
|
toneOpacity: a.turqui.toneOpacityLight,
|
|
463
474
|
contrastText: a.turqui.contrastText,
|
|
464
475
|
semanticText: a.turqui.semanticTextLight,
|
|
@@ -467,7 +478,7 @@ const a = {
|
|
|
467
478
|
light: a.turqui.light,
|
|
468
479
|
dark: a.turqui.dark
|
|
469
480
|
}
|
|
470
|
-
},
|
|
481
|
+
}, p = {
|
|
471
482
|
patronus: {
|
|
472
483
|
enabled: a.patronus.enabledDark,
|
|
473
484
|
enabledOpacity: a.patronus.enabledOpacityDark,
|
|
@@ -481,6 +492,8 @@ const a = {
|
|
|
481
492
|
active: a.patronus.activeDark,
|
|
482
493
|
activeOpacity: a.patronus.activeOpacityDark,
|
|
483
494
|
opacity: a.patronus.opacityDark,
|
|
495
|
+
opacityGradient1: i(a.patronus.opacityDark, 0.25),
|
|
496
|
+
opacityGradient2: i(a.patronus.opacityDark, 0.1),
|
|
484
497
|
toneOpacity: a.patronus.toneOpacityDark,
|
|
485
498
|
contrastText: a.patronus.contrastText,
|
|
486
499
|
semanticText: a.patronus.semanticTextDark,
|
|
@@ -502,6 +515,8 @@ const a = {
|
|
|
502
515
|
active: a.blaze.activeDark,
|
|
503
516
|
activeOpacity: a.blaze.activeOpacityDark,
|
|
504
517
|
opacity: a.blaze.opacityDark,
|
|
518
|
+
opacityGradient1: i(a.blaze.opacityDark, 0.25),
|
|
519
|
+
opacityGradient2: i(a.blaze.opacityDark, 0.1),
|
|
505
520
|
toneOpacity: a.blaze.toneOpacityDark,
|
|
506
521
|
contrastText: a.blaze.contrastText,
|
|
507
522
|
semanticText: a.blaze.semanticTextDark,
|
|
@@ -523,6 +538,8 @@ const a = {
|
|
|
523
538
|
active: a.brown.activeDark,
|
|
524
539
|
activeOpacity: a.brown.activeOpacityDark,
|
|
525
540
|
opacity: a.brown.opacityDark,
|
|
541
|
+
opacityGradient1: i(a.brown.opacityDark, 0.25),
|
|
542
|
+
opacityGradient2: i(a.brown.opacityDark, 0.1),
|
|
526
543
|
toneOpacity: a.brown.toneOpacityDark,
|
|
527
544
|
contrastText: a.brown.contrastText,
|
|
528
545
|
semanticText: a.brown.semanticTextDark,
|
|
@@ -544,6 +561,8 @@ const a = {
|
|
|
544
561
|
active: a.grass.activeDark,
|
|
545
562
|
activeOpacity: a.grass.activeOpacityDark,
|
|
546
563
|
opacity: a.grass.opacityDark,
|
|
564
|
+
opacityGradient1: i(a.grass.opacityDark, 0.25),
|
|
565
|
+
opacityGradient2: i(a.grass.opacityDark, 0.1),
|
|
547
566
|
toneOpacity: a.grass.toneOpacityDark,
|
|
548
567
|
contrastText: a.grass.contrastText,
|
|
549
568
|
semanticText: a.grass.semanticTextDark,
|
|
@@ -565,6 +584,8 @@ const a = {
|
|
|
565
584
|
active: a.turqui.activeDark,
|
|
566
585
|
activeOpacity: a.turqui.activeOpacityDark,
|
|
567
586
|
opacity: a.turqui.opacityDark,
|
|
587
|
+
opacityGradient1: i(a.turqui.opacityDark, 0.25),
|
|
588
|
+
opacityGradient2: i(a.turqui.opacityDark, 0.1),
|
|
568
589
|
toneOpacity: a.turqui.toneOpacityDark,
|
|
569
590
|
contrastText: a.turqui.contrastText,
|
|
570
591
|
semanticText: a.turqui.semanticTextDark,
|
|
@@ -573,13 +594,13 @@ const a = {
|
|
|
573
594
|
light: a.turqui.light,
|
|
574
595
|
dark: a.turqui.dark
|
|
575
596
|
}
|
|
576
|
-
},
|
|
597
|
+
}, c = Object.keys(a), l = c.map((r) => ({
|
|
577
598
|
name: r,
|
|
578
599
|
value: a[r].main
|
|
579
600
|
}));
|
|
580
601
|
export {
|
|
581
602
|
a as P,
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
603
|
+
p as a,
|
|
604
|
+
u as b,
|
|
605
|
+
l as p
|
|
585
606
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { B as a } from "./baseColors.js";
|
|
2
|
-
import { B as
|
|
2
|
+
import { B as i } from "./baseOpacityColors.js";
|
|
3
|
+
import { alpha as t } from "@mui/material";
|
|
3
4
|
const e = {
|
|
4
5
|
info: {
|
|
5
6
|
enabledLight: a.crayonBlue[50],
|
|
@@ -22,29 +23,29 @@ const e = {
|
|
|
22
23
|
// comprobado,
|
|
23
24
|
focusDark: a.crayonBlue[60],
|
|
24
25
|
// comprobado,
|
|
25
|
-
enabledOpacityLight:
|
|
26
|
+
enabledOpacityLight: i.crayon[30],
|
|
26
27
|
// comprobado
|
|
27
|
-
enabledOpacityDark:
|
|
28
|
+
enabledOpacityDark: i.crayon[30],
|
|
28
29
|
// comprobado,
|
|
29
|
-
hoverOpacityLight:
|
|
30
|
+
hoverOpacityLight: i.crayon[20],
|
|
30
31
|
// comprobado,
|
|
31
|
-
hoverOpacityDark:
|
|
32
|
+
hoverOpacityDark: i.crayon[20],
|
|
32
33
|
// comprobado,
|
|
33
|
-
selectedOpacityLight:
|
|
34
|
+
selectedOpacityLight: i.crayon[40],
|
|
34
35
|
// comprobado
|
|
35
|
-
selectedOpacityDark:
|
|
36
|
+
selectedOpacityDark: i.crayon[40],
|
|
36
37
|
// comprobado
|
|
37
|
-
activeOpacityLight:
|
|
38
|
+
activeOpacityLight: i.crayon[50],
|
|
38
39
|
// comprobado,
|
|
39
|
-
activeOpacityDark:
|
|
40
|
+
activeOpacityDark: i.crayon[50],
|
|
40
41
|
// comprobado,
|
|
41
|
-
focusOpacityLight:
|
|
42
|
+
focusOpacityLight: i.crayon[10],
|
|
42
43
|
// comprobado,
|
|
43
|
-
focusOpacityDark:
|
|
44
|
+
focusOpacityDark: i.crayon[10],
|
|
44
45
|
// comprobado,
|
|
45
|
-
opacityLight:
|
|
46
|
+
opacityLight: i.crayon[10],
|
|
46
47
|
// comprobado,
|
|
47
|
-
opacityDark:
|
|
48
|
+
opacityDark: i.crayon[10],
|
|
48
49
|
// comprobado,
|
|
49
50
|
main: a.crayonBlue[60],
|
|
50
51
|
// comprobado,,
|
|
@@ -88,29 +89,29 @@ const e = {
|
|
|
88
89
|
// comprobado,
|
|
89
90
|
focusDark: a.middleYellow[60],
|
|
90
91
|
// comprobado,
|
|
91
|
-
enabledOpacityLight:
|
|
92
|
+
enabledOpacityLight: i.middle[30],
|
|
92
93
|
// comprobado
|
|
93
|
-
enabledOpacityDark:
|
|
94
|
+
enabledOpacityDark: i.middle[30],
|
|
94
95
|
// comprobado,
|
|
95
|
-
hoverOpacityLight:
|
|
96
|
+
hoverOpacityLight: i.middle[20],
|
|
96
97
|
// comprobado,
|
|
97
|
-
hoverOpacityDark:
|
|
98
|
+
hoverOpacityDark: i.middle[20],
|
|
98
99
|
// comprobado,
|
|
99
|
-
selectedOpacityLight:
|
|
100
|
+
selectedOpacityLight: i.middle[40],
|
|
100
101
|
// comprobado,
|
|
101
|
-
selectedOpacityDark:
|
|
102
|
+
selectedOpacityDark: i.middle[40],
|
|
102
103
|
// comprobado,
|
|
103
|
-
activeOpacityLight:
|
|
104
|
+
activeOpacityLight: i.middle[50],
|
|
104
105
|
// comprobado,
|
|
105
|
-
activeOpacityDark:
|
|
106
|
+
activeOpacityDark: i.middle[50],
|
|
106
107
|
// comprobado,
|
|
107
|
-
focusOpacityLight:
|
|
108
|
+
focusOpacityLight: i.middle[10],
|
|
108
109
|
// comprobado,
|
|
109
|
-
focusOpacityDark:
|
|
110
|
+
focusOpacityDark: i.middle[10],
|
|
110
111
|
// comprobado,
|
|
111
|
-
opacityLight:
|
|
112
|
+
opacityLight: i.middle[10],
|
|
112
113
|
// comprobado,
|
|
113
|
-
opacityDark:
|
|
114
|
+
opacityDark: i.middle[10],
|
|
114
115
|
// comprobado,
|
|
115
116
|
main: a.middleYellow[60],
|
|
116
117
|
// comprobado,,
|
|
@@ -154,29 +155,29 @@ const e = {
|
|
|
154
155
|
// comprobado,
|
|
155
156
|
focusDark: a.flameRed[60],
|
|
156
157
|
// comprobado,
|
|
157
|
-
enabledOpacityLight:
|
|
158
|
+
enabledOpacityLight: i.flame[30],
|
|
158
159
|
// comprobado
|
|
159
|
-
enabledOpacityDark:
|
|
160
|
+
enabledOpacityDark: i.flame[30],
|
|
160
161
|
// comprobado,
|
|
161
|
-
hoverOpacityLight:
|
|
162
|
+
hoverOpacityLight: i.flame[20],
|
|
162
163
|
// comprobado,
|
|
163
|
-
hoverOpacityDark:
|
|
164
|
+
hoverOpacityDark: i.flame[20],
|
|
164
165
|
// comprobado,
|
|
165
|
-
selectedOpacityLight:
|
|
166
|
+
selectedOpacityLight: i.flame[40],
|
|
166
167
|
// comprobado,
|
|
167
|
-
selectedOpacityDark:
|
|
168
|
+
selectedOpacityDark: i.flame[40],
|
|
168
169
|
// comprobado,
|
|
169
|
-
activeOpacityLight:
|
|
170
|
+
activeOpacityLight: i.flame[50],
|
|
170
171
|
// comprobado,
|
|
171
|
-
activeOpacityDark:
|
|
172
|
+
activeOpacityDark: i.flame[50],
|
|
172
173
|
// comprobado,
|
|
173
|
-
focusOpacityLight:
|
|
174
|
+
focusOpacityLight: i.flame[10],
|
|
174
175
|
// comprobado,
|
|
175
|
-
focusOpacityDark:
|
|
176
|
+
focusOpacityDark: i.flame[10],
|
|
176
177
|
// comprobado,
|
|
177
|
-
opacityLight:
|
|
178
|
+
opacityLight: i.flame[10],
|
|
178
179
|
// comprobado,
|
|
179
|
-
opacityDark:
|
|
180
|
+
opacityDark: i.flame[10],
|
|
180
181
|
// comprobado,
|
|
181
182
|
main: a.flameRed[60],
|
|
182
183
|
// comprobado,,
|
|
@@ -220,29 +221,29 @@ const e = {
|
|
|
220
221
|
// comprobado,
|
|
221
222
|
focusDark: a.acidGreen[60],
|
|
222
223
|
// comprobado,
|
|
223
|
-
enabledOpacityLight:
|
|
224
|
+
enabledOpacityLight: i.acid[30],
|
|
224
225
|
// comprobado
|
|
225
|
-
enabledOpacityDark:
|
|
226
|
+
enabledOpacityDark: i.acid[30],
|
|
226
227
|
// comprobado,
|
|
227
|
-
hoverOpacityLight:
|
|
228
|
+
hoverOpacityLight: i.acid[20],
|
|
228
229
|
// comprobado,
|
|
229
|
-
hoverOpacityDark:
|
|
230
|
+
hoverOpacityDark: i.acid[20],
|
|
230
231
|
// comprobado,
|
|
231
|
-
selectedOpacityLight:
|
|
232
|
+
selectedOpacityLight: i.acid[40],
|
|
232
233
|
// comprobado,
|
|
233
|
-
selectedOpacityDark:
|
|
234
|
+
selectedOpacityDark: i.acid[40],
|
|
234
235
|
// comprobado,
|
|
235
|
-
activeOpacityLight:
|
|
236
|
+
activeOpacityLight: i.acid[50],
|
|
236
237
|
// comprobado,
|
|
237
|
-
activeOpacityDark:
|
|
238
|
+
activeOpacityDark: i.acid[50],
|
|
238
239
|
// comprobado,
|
|
239
|
-
focusOpacityLight:
|
|
240
|
+
focusOpacityLight: i.acid[10],
|
|
240
241
|
// comprobado,
|
|
241
|
-
focusOpacityDark:
|
|
242
|
+
focusOpacityDark: i.acid[10],
|
|
242
243
|
// comprobado,
|
|
243
|
-
opacityLight:
|
|
244
|
+
opacityLight: i.acid[10],
|
|
244
245
|
// comprobado,
|
|
245
|
-
opacityDark:
|
|
246
|
+
opacityDark: i.acid[10],
|
|
246
247
|
// comprobado,
|
|
247
248
|
main: a.acidGreen[60],
|
|
248
249
|
// comprobado,,
|
|
@@ -265,7 +266,7 @@ const e = {
|
|
|
265
266
|
// comprobado,
|
|
266
267
|
toneOpacityDark: a.acidGreen[95]
|
|
267
268
|
}
|
|
268
|
-
},
|
|
269
|
+
}, n = {
|
|
269
270
|
info: {
|
|
270
271
|
enabled: e.info.enabledLight,
|
|
271
272
|
enabledOpacity: e.info.enabledOpacityLight,
|
|
@@ -278,6 +279,8 @@ const e = {
|
|
|
278
279
|
active: e.info.activeLight,
|
|
279
280
|
activeOpacity: e.info.activeOpacityLight,
|
|
280
281
|
opacity: e.info.opacityLight,
|
|
282
|
+
opacityGradient1: t(e.info.opacityLight, 0.25),
|
|
283
|
+
opacityGradient2: t(e.info.opacityLight, 0.1),
|
|
281
284
|
toneOpacity: e.info.toneOpacityLight,
|
|
282
285
|
contrastText: e.info.contrastText,
|
|
283
286
|
semanticText: e.info.semanticTextLight,
|
|
@@ -298,6 +301,8 @@ const e = {
|
|
|
298
301
|
active: e.success.activeLight,
|
|
299
302
|
activeOpacity: e.success.activeOpacityLight,
|
|
300
303
|
opacity: e.success.opacityLight,
|
|
304
|
+
opacityGradient1: t(e.success.opacityLight, 0.25),
|
|
305
|
+
opacityGradient2: t(e.success.opacityLight, 0.1),
|
|
301
306
|
toneOpacity: e.success.toneOpacityLight,
|
|
302
307
|
contrastText: e.success.contrastText,
|
|
303
308
|
semanticText: e.success.semanticTextLight,
|
|
@@ -318,6 +323,8 @@ const e = {
|
|
|
318
323
|
active: e.warning.activeLight,
|
|
319
324
|
activeOpacity: e.warning.activeOpacityLight,
|
|
320
325
|
opacity: e.warning.opacityLight,
|
|
326
|
+
opacityGradient1: t(e.warning.opacityLight, 0.25),
|
|
327
|
+
opacityGradient2: t(e.warning.opacityLight, 0.1),
|
|
321
328
|
toneOpacity: e.warning.toneOpacityLight,
|
|
322
329
|
contrastText: e.warning.contrastText,
|
|
323
330
|
semanticText: e.warning.semanticTextLight,
|
|
@@ -338,6 +345,8 @@ const e = {
|
|
|
338
345
|
active: e.error.activeLight,
|
|
339
346
|
activeOpacity: e.error.activeOpacityLight,
|
|
340
347
|
opacity: e.error.opacityLight,
|
|
348
|
+
opacityGradient1: t(e.error.opacityLight, 0.25),
|
|
349
|
+
opacityGradient2: t(e.error.opacityLight, 0.1),
|
|
341
350
|
toneOpacity: e.error.toneOpacityLight,
|
|
342
351
|
contrastText: e.error.contrastText,
|
|
343
352
|
semanticText: e.error.semanticTextLight,
|
|
@@ -346,7 +355,7 @@ const e = {
|
|
|
346
355
|
light: e.error.light,
|
|
347
356
|
dark: e.error.dark
|
|
348
357
|
}
|
|
349
|
-
},
|
|
358
|
+
}, s = {
|
|
350
359
|
info: {
|
|
351
360
|
enabled: e.info.enabledDark,
|
|
352
361
|
enabledOpacity: e.info.enabledOpacityDark,
|
|
@@ -359,6 +368,8 @@ const e = {
|
|
|
359
368
|
active: e.info.activeDark,
|
|
360
369
|
activeOpacity: e.info.activeOpacityDark,
|
|
361
370
|
opacity: e.info.opacityDark,
|
|
371
|
+
opacityGradient1: t(e.info.opacityDark, 0.25),
|
|
372
|
+
opacityGradient2: t(e.info.opacityDark, 0.1),
|
|
362
373
|
toneOpacity: e.info.toneOpacityDark,
|
|
363
374
|
contrastText: e.info.contrastText,
|
|
364
375
|
semanticText: e.info.semanticTextDark,
|
|
@@ -379,6 +390,8 @@ const e = {
|
|
|
379
390
|
active: e.success.activeDark,
|
|
380
391
|
activeOpacity: e.success.activeOpacityDark,
|
|
381
392
|
opacity: e.success.opacityDark,
|
|
393
|
+
opacityGradient1: t(e.success.opacityDark, 0.25),
|
|
394
|
+
opacityGradient2: t(e.success.opacityDark, 0.1),
|
|
382
395
|
toneOpacity: e.success.toneOpacityDark,
|
|
383
396
|
contrastText: e.success.contrastText,
|
|
384
397
|
semanticText: e.success.semanticTextDark,
|
|
@@ -399,6 +412,8 @@ const e = {
|
|
|
399
412
|
active: e.warning.activeDark,
|
|
400
413
|
activeOpacity: e.warning.activeOpacityDark,
|
|
401
414
|
opacity: e.warning.opacityDark,
|
|
415
|
+
opacityGradient1: t(e.warning.opacityDark, 0.25),
|
|
416
|
+
opacityGradient2: t(e.warning.opacityDark, 0.1),
|
|
402
417
|
toneOpacity: e.warning.toneOpacityDark,
|
|
403
418
|
contrastText: e.warning.contrastText,
|
|
404
419
|
semanticText: e.warning.semanticTextDark,
|
|
@@ -419,6 +434,8 @@ const e = {
|
|
|
419
434
|
active: e.error.activeDark,
|
|
420
435
|
activeOpacity: e.error.activeOpacityDark,
|
|
421
436
|
opacity: e.error.opacityDark,
|
|
437
|
+
opacityGradient1: t(e.error.opacityDark, 0.25),
|
|
438
|
+
opacityGradient2: t(e.error.opacityDark, 0.1),
|
|
422
439
|
toneOpacity: e.error.toneOpacityDark,
|
|
423
440
|
contrastText: e.error.contrastText,
|
|
424
441
|
semanticText: e.error.semanticTextDark,
|
|
@@ -430,6 +447,6 @@ const e = {
|
|
|
430
447
|
};
|
|
431
448
|
export {
|
|
432
449
|
e as P,
|
|
433
|
-
|
|
434
|
-
|
|
450
|
+
s as S,
|
|
451
|
+
n as a
|
|
435
452
|
};
|
package/types/augmentations.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
25
25
|
readonly opacity: string;
|
|
26
26
|
readonly toneOpacity: string;
|
|
27
27
|
readonly semanticText: string;
|
|
28
|
+
readonly opacityGradient1: string;
|
|
29
|
+
readonly opacityGradient2: string;
|
|
28
30
|
};
|
|
29
31
|
readonly default: {
|
|
30
32
|
readonly semanticText: string;
|
|
@@ -45,6 +47,8 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
45
47
|
readonly activeOpacity: string;
|
|
46
48
|
readonly opacity: string;
|
|
47
49
|
readonly toneOpacity: string;
|
|
50
|
+
readonly opacityGradient1: string;
|
|
51
|
+
readonly opacityGradient2: string;
|
|
48
52
|
};
|
|
49
53
|
readonly divider: string;
|
|
50
54
|
readonly text: {
|
|
@@ -134,6 +138,8 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
134
138
|
readonly opacity: string;
|
|
135
139
|
readonly toneOpacity: string;
|
|
136
140
|
readonly semanticText: string;
|
|
141
|
+
readonly opacityGradient1: string;
|
|
142
|
+
readonly opacityGradient2: string;
|
|
137
143
|
};
|
|
138
144
|
readonly success: {
|
|
139
145
|
readonly focusVisible: string;
|
|
@@ -154,6 +160,8 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
154
160
|
readonly opacity: string;
|
|
155
161
|
readonly toneOpacity: string;
|
|
156
162
|
readonly semanticText: string;
|
|
163
|
+
readonly opacityGradient1: string;
|
|
164
|
+
readonly opacityGradient2: string;
|
|
157
165
|
};
|
|
158
166
|
readonly warning: {
|
|
159
167
|
readonly focusVisible: string;
|
|
@@ -174,6 +182,8 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
174
182
|
readonly opacity: string;
|
|
175
183
|
readonly toneOpacity: string;
|
|
176
184
|
readonly semanticText: string;
|
|
185
|
+
readonly opacityGradient1: string;
|
|
186
|
+
readonly opacityGradient2: string;
|
|
177
187
|
};
|
|
178
188
|
readonly error: {
|
|
179
189
|
readonly focusVisible: string;
|
|
@@ -194,6 +204,8 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
194
204
|
readonly opacity: string;
|
|
195
205
|
readonly toneOpacity: string;
|
|
196
206
|
readonly semanticText: string;
|
|
207
|
+
readonly opacityGradient1: string;
|
|
208
|
+
readonly opacityGradient2: string;
|
|
197
209
|
};
|
|
198
210
|
};
|
|
199
211
|
readonly dark: {
|
|
@@ -218,6 +230,8 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
218
230
|
readonly opacity: string;
|
|
219
231
|
readonly toneOpacity: string;
|
|
220
232
|
readonly semanticText: string;
|
|
233
|
+
readonly opacityGradient1: string;
|
|
234
|
+
readonly opacityGradient2: string;
|
|
221
235
|
};
|
|
222
236
|
readonly default: {
|
|
223
237
|
readonly semanticText: string;
|
|
@@ -238,6 +252,8 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
238
252
|
readonly activeOpacity: string;
|
|
239
253
|
readonly opacity: string;
|
|
240
254
|
readonly toneOpacity: string;
|
|
255
|
+
readonly opacityGradient1: string;
|
|
256
|
+
readonly opacityGradient2: string;
|
|
241
257
|
};
|
|
242
258
|
readonly text: {
|
|
243
259
|
readonly primary: string;
|
|
@@ -327,6 +343,8 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
327
343
|
readonly opacity: string;
|
|
328
344
|
readonly toneOpacity: string;
|
|
329
345
|
readonly semanticText: string;
|
|
346
|
+
readonly opacityGradient1: string;
|
|
347
|
+
readonly opacityGradient2: string;
|
|
330
348
|
};
|
|
331
349
|
readonly success: {
|
|
332
350
|
readonly focusVisible: string;
|
|
@@ -347,6 +365,8 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
347
365
|
readonly opacity: string;
|
|
348
366
|
readonly toneOpacity: string;
|
|
349
367
|
readonly semanticText: string;
|
|
368
|
+
readonly opacityGradient1: string;
|
|
369
|
+
readonly opacityGradient2: string;
|
|
350
370
|
};
|
|
351
371
|
readonly warning: {
|
|
352
372
|
readonly focusVisible: string;
|
|
@@ -367,6 +387,8 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
367
387
|
readonly opacity: string;
|
|
368
388
|
readonly toneOpacity: string;
|
|
369
389
|
readonly semanticText: string;
|
|
390
|
+
readonly opacityGradient1: string;
|
|
391
|
+
readonly opacityGradient2: string;
|
|
370
392
|
};
|
|
371
393
|
readonly error: {
|
|
372
394
|
readonly focusVisible: string;
|
|
@@ -387,6 +409,8 @@ export declare const getPaletteByPreset: (themeUserColor: ThemeUserColor) => {
|
|
|
387
409
|
readonly opacity: string;
|
|
388
410
|
readonly toneOpacity: string;
|
|
389
411
|
readonly semanticText: string;
|
|
412
|
+
readonly opacityGradient1: string;
|
|
413
|
+
readonly opacityGradient2: string;
|
|
390
414
|
};
|
|
391
415
|
};
|
|
392
416
|
};
|