@m4l/styles 7.1.10 → 7.1.11
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/utils/getPaletteByPreset.js +16 -16
package/package.json
CHANGED
|
@@ -2,9 +2,9 @@ import { P as a, a as y, b as p } from "../theme/palette/presetColors.js";
|
|
|
2
2
|
import { B as s } from "../theme/palette/baseColors.js";
|
|
3
3
|
import { C as d } from "../theme/palette/commonColors.js";
|
|
4
4
|
import { G as n } from "../theme/palette/greyPalette.js";
|
|
5
|
-
import { S as
|
|
5
|
+
import { S as t, a as o } from "../theme/palette/semanticColors.js";
|
|
6
6
|
import { B as i } from "../theme/palette/baseOpacityColors.js";
|
|
7
|
-
import { B as
|
|
7
|
+
import { B as O, a as f } from "../theme/palette/defaultColors.js";
|
|
8
8
|
import { B as m, a as u } from "../theme/palette/baseChipsPalette.js";
|
|
9
9
|
const l = {
|
|
10
10
|
light: {
|
|
@@ -25,7 +25,7 @@ const l = {
|
|
|
25
25
|
...e
|
|
26
26
|
},
|
|
27
27
|
default: {
|
|
28
|
-
...
|
|
28
|
+
...O,
|
|
29
29
|
selected: e.selected,
|
|
30
30
|
selectedOpacity: e.selectedOpacity,
|
|
31
31
|
focusVisible: e.focusVisible,
|
|
@@ -41,7 +41,7 @@ const l = {
|
|
|
41
41
|
default: s.marbleLight[10],
|
|
42
42
|
neutral: s.marbleLight[30],
|
|
43
43
|
surface: s.marbleLight[50],
|
|
44
|
-
hover:
|
|
44
|
+
hover: O.hoverOpacity,
|
|
45
45
|
backdrop: i.onyx[80] || "#000",
|
|
46
46
|
//por compatibilidad de mui
|
|
47
47
|
paper: "#000"
|
|
@@ -53,7 +53,7 @@ const l = {
|
|
|
53
53
|
secondary: i.oxford[30],
|
|
54
54
|
dens: i.oxford[60],
|
|
55
55
|
disabled: i.oxford[10],
|
|
56
|
-
error:
|
|
56
|
+
error: t.error.main
|
|
57
57
|
},
|
|
58
58
|
general: {
|
|
59
59
|
scrollBar: l.light.scrollBar,
|
|
@@ -65,25 +65,25 @@ const l = {
|
|
|
65
65
|
transition: i.oxford[20]
|
|
66
66
|
},
|
|
67
67
|
info: {
|
|
68
|
-
...
|
|
68
|
+
...t.info,
|
|
69
69
|
selected: e.selected,
|
|
70
70
|
selectedOpacity: e.selectedOpacity,
|
|
71
71
|
focusVisible: e.focusVisible
|
|
72
72
|
},
|
|
73
73
|
success: {
|
|
74
|
-
...
|
|
74
|
+
...t.success,
|
|
75
75
|
selected: e.selected,
|
|
76
76
|
selectedOpacity: e.selectedOpacity,
|
|
77
77
|
focusVisible: e.focusVisible
|
|
78
78
|
},
|
|
79
79
|
warning: {
|
|
80
|
-
...
|
|
80
|
+
...t.warning,
|
|
81
81
|
selected: e.selected,
|
|
82
82
|
selectedOpacity: e.selectedOpacity,
|
|
83
83
|
focusVisible: e.focusVisible
|
|
84
84
|
},
|
|
85
85
|
error: {
|
|
86
|
-
...
|
|
86
|
+
...t.error,
|
|
87
87
|
selected: e.selected,
|
|
88
88
|
selectedOpacity: e.selectedOpacity,
|
|
89
89
|
focusVisible: e.focusVisible
|
|
@@ -97,7 +97,7 @@ const l = {
|
|
|
97
97
|
...r
|
|
98
98
|
},
|
|
99
99
|
default: {
|
|
100
|
-
...
|
|
100
|
+
...f,
|
|
101
101
|
selected: r?.selected,
|
|
102
102
|
selectedOpacity: r?.selectedOpacity,
|
|
103
103
|
focusVisible: r?.focusVisible,
|
|
@@ -113,7 +113,7 @@ const l = {
|
|
|
113
113
|
default: s.onyx[40],
|
|
114
114
|
neutral: s.onyx[50],
|
|
115
115
|
surface: s.onyx[60],
|
|
116
|
-
hover:
|
|
116
|
+
hover: f.hoverOpacity,
|
|
117
117
|
backdrop: i.onyx[80] || "#000",
|
|
118
118
|
//por compatibilidad de mui
|
|
119
119
|
paper: "#000"
|
|
@@ -125,7 +125,7 @@ const l = {
|
|
|
125
125
|
secondary: i.mint[40],
|
|
126
126
|
dens: i.mint[60],
|
|
127
127
|
disabled: i.mint[20],
|
|
128
|
-
error:
|
|
128
|
+
error: o.error.main
|
|
129
129
|
},
|
|
130
130
|
general: {
|
|
131
131
|
// no definido en figma
|
|
@@ -139,25 +139,25 @@ const l = {
|
|
|
139
139
|
transition: i.mint[40]
|
|
140
140
|
},
|
|
141
141
|
info: {
|
|
142
|
-
...
|
|
142
|
+
...o.info,
|
|
143
143
|
selected: r?.selected,
|
|
144
144
|
selectedOpacity: r?.selectedOpacity,
|
|
145
145
|
focusVisible: r.focusVisible
|
|
146
146
|
},
|
|
147
147
|
success: {
|
|
148
|
-
...
|
|
148
|
+
...o.success,
|
|
149
149
|
selected: r?.selected,
|
|
150
150
|
selectedOpacity: r?.selectedOpacity,
|
|
151
151
|
focusVisible: r.focusVisible
|
|
152
152
|
},
|
|
153
153
|
warning: {
|
|
154
|
-
...
|
|
154
|
+
...o.warning,
|
|
155
155
|
selected: r?.selected,
|
|
156
156
|
selectedOpacity: r?.selectedOpacity,
|
|
157
157
|
focusVisible: r.focusVisible
|
|
158
158
|
},
|
|
159
159
|
error: {
|
|
160
|
-
...
|
|
160
|
+
...o.error,
|
|
161
161
|
selected: r?.selected,
|
|
162
162
|
selectedOpacity: r?.selectedOpacity,
|
|
163
163
|
focusVisible: r.focusVisible
|