@m4l/styles 0.0.28 → 0.0.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 +9 -9
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.e09f6ae8.js → defaultThemeOptions.a8de2e18.js} +5 -5
- package/theme/index.b0919dac.js +7 -0
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +4 -0
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +2 -1
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +922 -534
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +203 -103
- package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +2 -0
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +0 -1
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +39 -50
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +33 -56
- package/theme/overrides/M4LExtendedComponents/M4LMenuActions.d.ts +15 -0
- package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +58 -1655
- package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.d.ts +1 -2
- package/theme/overrides/M4LExtendedComponents/M4LNoItemSelected.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.d.ts +4 -1
- package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.d.ts +3 -0
- package/theme/overrides/M4LExtendedComponents/M4LScrollBar.d.ts +3 -1
- package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.d.ts +0 -6
- package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +2 -5
- package/theme/overrides/M4LExtendedComponents/M4LTabContent.d.ts +18 -0
- package/theme/overrides/M4LExtendedComponents/M4LTabs.d.ts +1 -0
- package/theme/overrides/M4LExtendedComponents/{index.e4d90ec0.js → index.e875a5e1.js} +234 -155
- package/theme/overrides/MUIComponents/Badge.d.ts +2 -3
- package/theme/overrides/MUIComponents/{index.c5a85efa.js → index.f50cd1c7.js} +4 -5
- package/theme/overrides/{index.ab4ad05c.js → index.cbe0dea7.js} +29 -27
- package/theme/{palette.b6e02e1c.js → palette.104051a7.js} +14 -14
- package/theme/{shadows.386e7ef4.js → shadows.b036a684.js} +1 -1
- package/theme/{typography.006a6c85.js → typography.7591a12b.js} +4 -4
- package/types/augmentations.d.ts +4 -0
- package/utils/{getColorPresets.241c5bac.js → getColorPresets.2693301f.js} +1 -1
- package/utils/{getColorState.f10d3d33.js → getColorState.32c050bf.js} +52 -28
- package/utils/getColorState.d.ts +2 -0
- package/theme/index.e131f0b1.js +0 -7
|
@@ -416,10 +416,9 @@ function f(o) {
|
|
|
416
416
|
styleOverrides: {
|
|
417
417
|
background: "red",
|
|
418
418
|
dot: {
|
|
419
|
-
width:
|
|
420
|
-
height:
|
|
421
|
-
borderRadius: "50%"
|
|
422
|
-
background: "red"
|
|
419
|
+
width: "16px",
|
|
420
|
+
height: "16px",
|
|
421
|
+
borderRadius: "50%"
|
|
423
422
|
}
|
|
424
423
|
}
|
|
425
424
|
}
|
|
@@ -1052,7 +1051,7 @@ function G(o) {
|
|
|
1052
1051
|
"&.Mui-expanded": {
|
|
1053
1052
|
height: o.spacing(4.5),
|
|
1054
1053
|
minHeight: o.spacing(4.5),
|
|
1055
|
-
borderRadius: "4px"
|
|
1054
|
+
borderRadius: "4px 4px 0px 0px"
|
|
1056
1055
|
},
|
|
1057
1056
|
"&.Mui-disabled": {
|
|
1058
1057
|
opacity: 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { F as s, T as o, C as r, M as L, L as M, I as i, a as n, R as l, B as p, b as
|
|
2
|
-
import { M as J, a as K, b as Q, c as U, d as W, e as X, f as Y, g as Z, h as _, i as $, j as m, k as e, l as h, m as aa, n as sa, o as oa, p as ra, q as La, r as Ma, s as ia, t as na, u as la, v as pa, w as
|
|
3
|
-
import { M as
|
|
4
|
-
function
|
|
1
|
+
import { F as s, T as o, C as r, M as L, L as M, I as i, a as n, R as l, B as p, b as c, c as d, P as u, S as g, d as B, e as T, D as P, A, f as b, g as F, h as k, i as v, j as y, k as I, l as S, m as C, n as D, o as R, p as H, q as f, r as x, s as w, t as G, u as j, v as t, w as E, x as N, y as O, z as q, E as z, G as V } from "./MUIComponents/index.f50cd1c7.js";
|
|
2
|
+
import { M as J, a as K, b as Q, c as U, d as W, e as X, f as Y, g as Z, h as _, i as $, j as m, k as e, l as h, m as aa, n as sa, o as oa, p as ra, q as La, r as Ma, s as ia, t as na, u as la, v as pa, w as ca, x as da, y as ua, z as ga, A as Ba, B as Ta, C as Pa, D as Aa, E as ba, F as Fa, G as ka, H as va, I as ya, J as Ia, K as Sa, L as Ca, N as Da, O as Ra, P as Ha, Q as fa, R as xa, S as wa } from "./M4LExtendedComponents/index.e875a5e1.js";
|
|
3
|
+
import { M as Ga, a as ja, b as ta, c as Ea, d as Na, e as Oa, f as qa, g as za } from "./M4LRHFComponents/index.d3125fd8.js";
|
|
4
|
+
function Qa(a) {
|
|
5
5
|
return Object.assign(
|
|
6
6
|
s(a),
|
|
7
7
|
o(a),
|
|
@@ -12,23 +12,23 @@ function Ja(a) {
|
|
|
12
12
|
n(),
|
|
13
13
|
l(a),
|
|
14
14
|
p(),
|
|
15
|
-
d(a),
|
|
16
15
|
c(a),
|
|
16
|
+
d(a),
|
|
17
17
|
u(a),
|
|
18
18
|
g(a),
|
|
19
19
|
B(a),
|
|
20
|
-
P(a),
|
|
21
20
|
T(a),
|
|
21
|
+
P(a),
|
|
22
22
|
A(a),
|
|
23
|
-
F(a),
|
|
24
23
|
b(a),
|
|
24
|
+
F(a),
|
|
25
25
|
k(a),
|
|
26
26
|
v(a),
|
|
27
27
|
y(),
|
|
28
28
|
I(),
|
|
29
|
-
D(a),
|
|
30
29
|
S(a),
|
|
31
30
|
C(a),
|
|
31
|
+
D(a),
|
|
32
32
|
R(a),
|
|
33
33
|
H(a),
|
|
34
34
|
f(a),
|
|
@@ -36,23 +36,23 @@ function Ja(a) {
|
|
|
36
36
|
w(a),
|
|
37
37
|
G(a),
|
|
38
38
|
j(a),
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
t(a),
|
|
40
|
+
E(),
|
|
41
|
+
N(a),
|
|
41
42
|
O(a),
|
|
42
43
|
q(a),
|
|
43
|
-
t(a),
|
|
44
44
|
z(a),
|
|
45
45
|
J(a),
|
|
46
46
|
V(),
|
|
47
47
|
K(a),
|
|
48
|
-
xa(a),
|
|
49
|
-
wa(),
|
|
50
48
|
Ga(a),
|
|
51
49
|
ja(),
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
ta(a),
|
|
51
|
+
Ea(),
|
|
54
52
|
Na(a),
|
|
55
|
-
|
|
53
|
+
Q(),
|
|
54
|
+
Oa(a),
|
|
55
|
+
qa(),
|
|
56
56
|
U(a),
|
|
57
57
|
W(a),
|
|
58
58
|
X(),
|
|
@@ -61,7 +61,7 @@ function Ja(a) {
|
|
|
61
61
|
_(),
|
|
62
62
|
$(a),
|
|
63
63
|
m(a),
|
|
64
|
-
|
|
64
|
+
za(a),
|
|
65
65
|
e(a),
|
|
66
66
|
h(a),
|
|
67
67
|
aa(a),
|
|
@@ -72,30 +72,32 @@ function Ja(a) {
|
|
|
72
72
|
Ma(a),
|
|
73
73
|
ia(a),
|
|
74
74
|
na(a),
|
|
75
|
-
la(
|
|
75
|
+
la(),
|
|
76
76
|
pa(),
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
ca(a),
|
|
78
|
+
da(),
|
|
79
79
|
ua(a),
|
|
80
|
-
ga(),
|
|
80
|
+
ga(a),
|
|
81
81
|
Ba(a),
|
|
82
|
-
Pa(a),
|
|
83
82
|
Ta(a),
|
|
83
|
+
Pa(a),
|
|
84
84
|
Aa(a),
|
|
85
|
-
Fa(a),
|
|
86
85
|
ba(a),
|
|
86
|
+
Fa(a),
|
|
87
87
|
ka(a),
|
|
88
88
|
va(a),
|
|
89
89
|
ya(),
|
|
90
90
|
Ia(),
|
|
91
|
+
Sa(),
|
|
92
|
+
Ca(a),
|
|
91
93
|
Da(),
|
|
92
|
-
Sa(a),
|
|
93
|
-
Ca(),
|
|
94
94
|
Ra(),
|
|
95
95
|
Ha(a),
|
|
96
|
-
fa(a)
|
|
96
|
+
fa(a),
|
|
97
|
+
xa(a),
|
|
98
|
+
wa(a)
|
|
97
99
|
);
|
|
98
100
|
}
|
|
99
101
|
export {
|
|
100
|
-
|
|
102
|
+
Qa as f
|
|
101
103
|
};
|
|
@@ -32,18 +32,18 @@ const e = {
|
|
|
32
32
|
40: "#FFF039",
|
|
33
33
|
50: "#FFEC08",
|
|
34
34
|
60: "#E5D400",
|
|
35
|
-
70: "#
|
|
35
|
+
70: "#9E9200",
|
|
36
36
|
80: "#696100",
|
|
37
37
|
90: "#353100"
|
|
38
38
|
},
|
|
39
39
|
acidGreen: {
|
|
40
|
-
10: "#
|
|
40
|
+
10: "#CDFFC2",
|
|
41
41
|
20: "#A8FF97",
|
|
42
42
|
30: "#83FF6B",
|
|
43
43
|
40: "#5EFF40",
|
|
44
44
|
50: "#39FF14",
|
|
45
|
-
60: "#
|
|
46
|
-
70: "#
|
|
45
|
+
60: "#47CC2D",
|
|
46
|
+
70: "#1F9009",
|
|
47
47
|
80: "#176E05",
|
|
48
48
|
90: "#0B3D00"
|
|
49
49
|
},
|
|
@@ -87,7 +87,7 @@ const e = {
|
|
|
87
87
|
40: "#EBAE53",
|
|
88
88
|
50: "#E59722",
|
|
89
89
|
60: "#BA7916",
|
|
90
|
-
70: "#
|
|
90
|
+
70: "#925F11",
|
|
91
91
|
80: "#774D0E",
|
|
92
92
|
90: "#735133"
|
|
93
93
|
},
|
|
@@ -114,7 +114,7 @@ const e = {
|
|
|
114
114
|
90: "#233333"
|
|
115
115
|
},
|
|
116
116
|
brown: {
|
|
117
|
-
10: "#
|
|
117
|
+
10: "#DFC9BD",
|
|
118
118
|
20: "#C59D88",
|
|
119
119
|
30: "#B8886E",
|
|
120
120
|
40: "#B17D61",
|
|
@@ -129,9 +129,9 @@ const e = {
|
|
|
129
129
|
20: "#F7FCFC",
|
|
130
130
|
30: "#F9FBFB",
|
|
131
131
|
40: "#F0F4F4",
|
|
132
|
-
50: "#
|
|
132
|
+
50: "#EAEFF0",
|
|
133
133
|
60: "#E1E9EA",
|
|
134
|
-
70: "#
|
|
134
|
+
70: "#E2E7E9",
|
|
135
135
|
80: "#fff0",
|
|
136
136
|
90: "#fff0"
|
|
137
137
|
},
|
|
@@ -285,13 +285,13 @@ const e = {
|
|
|
285
285
|
success: a(l.light, l.main),
|
|
286
286
|
warning: a(n.light, n.main),
|
|
287
287
|
error: a(i.light, i.main)
|
|
288
|
-
},
|
|
288
|
+
}, g = {
|
|
289
289
|
violet: ["#826AF9", "#9E86FF", "#D0AEFF", "#F7D2FF"],
|
|
290
290
|
blue: ["#2D99FF", "#83CFFF", "#A5F3FF", "#CCFAFF"],
|
|
291
291
|
green: ["#2CD9C5", "#60F1C8", "#A4F7CC", "#C0F2DC"],
|
|
292
292
|
yellow: ["#FFE700", "#FFEF5A", "#FFF7AE", "#FFF3D6"],
|
|
293
293
|
red: ["#FF6C40", "#FF8F6D", "#FFBD98", "#FFF2D4"]
|
|
294
|
-
},
|
|
294
|
+
}, A = {
|
|
295
295
|
normal: e.crayonBlue[50],
|
|
296
296
|
hover: e.crayonBlue[70]
|
|
297
297
|
}, E = {
|
|
@@ -307,7 +307,7 @@ const e = {
|
|
|
307
307
|
default: r(e.coolGrey[50], 0.24),
|
|
308
308
|
transition: r(e.coolGrey[50], 0.08)
|
|
309
309
|
}, h = {
|
|
310
|
-
info: { ...
|
|
310
|
+
info: { ...A },
|
|
311
311
|
success: { ...E },
|
|
312
312
|
error: { ...C },
|
|
313
313
|
warning: { ...D },
|
|
@@ -327,7 +327,7 @@ const e = {
|
|
|
327
327
|
error: { ...i, contrastText: "#fff" },
|
|
328
328
|
grey: F,
|
|
329
329
|
gradients: u,
|
|
330
|
-
chart:
|
|
330
|
+
chart: g,
|
|
331
331
|
divider: F[50024],
|
|
332
332
|
action: {
|
|
333
333
|
hoverOpacity: 0.08,
|
|
@@ -339,7 +339,7 @@ const e = {
|
|
|
339
339
|
mode: "light",
|
|
340
340
|
text: {
|
|
341
341
|
primary: e.ashBlak[10],
|
|
342
|
-
secondary: e.coolGrey[
|
|
342
|
+
secondary: e.coolGrey[60],
|
|
343
343
|
disabled: e.coolGrey[30]
|
|
344
344
|
},
|
|
345
345
|
background: {
|
|
@@ -355,7 +355,7 @@ const e = {
|
|
|
355
355
|
mode: "dark",
|
|
356
356
|
text: {
|
|
357
357
|
primary: e.marbleLight[30],
|
|
358
|
-
secondary: e.coolGrey[
|
|
358
|
+
secondary: e.coolGrey[10],
|
|
359
359
|
disabled: e.coolGrey[50]
|
|
360
360
|
},
|
|
361
361
|
background: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { alpha as a } from "@mui/material/styles";
|
|
2
|
-
import { p as e, P as r } from "./palette.
|
|
2
|
+
import { p as e, P as r } from "./palette.104051a7.js";
|
|
3
3
|
const s = e.light.grey[500], n = "#000000", o = (t) => {
|
|
4
4
|
const p = a(t, 0.2), x = a(t, 0.14), $ = a(t, 0.12);
|
|
5
5
|
return [
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "@mui/material/styles";
|
|
2
2
|
import "@mui/material/useMediaQuery";
|
|
3
|
-
import "../utils/getColorPresets.
|
|
3
|
+
import "../utils/getColorPresets.2693301f.js";
|
|
4
4
|
import "@mui/system";
|
|
5
|
-
import "./defaultThemeOptions.
|
|
6
|
-
import "./shadows.
|
|
7
|
-
import "./palette.
|
|
5
|
+
import "./defaultThemeOptions.a8de2e18.js";
|
|
6
|
+
import "./shadows.b036a684.js";
|
|
7
|
+
import "./palette.104051a7.js";
|
|
8
8
|
import "@mui/material";
|
|
9
9
|
import { r as t, p as i } from "../utils/getFontValue.88831637.js";
|
|
10
10
|
const e = "Poppins, sans-serif", p = {
|
package/types/augmentations.d.ts
CHANGED
|
@@ -46,6 +46,10 @@ declare module '@mui/material/styles/createPalette' {
|
|
|
46
46
|
representative: string;
|
|
47
47
|
/* info: AgumentationInfoOptions; */
|
|
48
48
|
}
|
|
49
|
+
|
|
50
|
+
interface TypeText {
|
|
51
|
+
medium: string,
|
|
52
|
+
}
|
|
49
53
|
interface PaletteOptions {
|
|
50
54
|
gradients?: GradientsPaletteOptions;
|
|
51
55
|
chart?: ChartPaletteOptions;
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
import { alpha as r } from "@mui/system";
|
|
2
|
-
import "../theme/defaultThemeOptions.
|
|
3
|
-
import "../theme/shadows.
|
|
4
|
-
import { P as e, S as o } from "../theme/palette.
|
|
5
|
-
import "../theme/typography.
|
|
2
|
+
import "../theme/defaultThemeOptions.a8de2e18.js";
|
|
3
|
+
import "../theme/shadows.b036a684.js";
|
|
4
|
+
import { P as e, S as o } from "../theme/palette.104051a7.js";
|
|
5
|
+
import "../theme/typography.7591a12b.js";
|
|
6
6
|
import "@mui/material";
|
|
7
7
|
import "@mui/material/styles";
|
|
8
|
-
const
|
|
9
|
-
let
|
|
10
|
-
switch (
|
|
8
|
+
const v = (t, a) => {
|
|
9
|
+
let l = {};
|
|
10
|
+
switch (t) {
|
|
11
11
|
case "patronus":
|
|
12
|
-
|
|
12
|
+
l = {
|
|
13
13
|
light: {
|
|
14
14
|
active12: r(e?.patronusBlue[50], 0.08),
|
|
15
15
|
active: e?.patronusBlue[50],
|
|
16
16
|
focus: e?.patronusBlue[40],
|
|
17
17
|
hover: e?.patronusBlue[40],
|
|
18
|
-
overdefoult: r(e?.coolGrey[30], 0.
|
|
19
|
-
default: r(e?.marbleLight[
|
|
20
|
-
borderDefault: e?.coolGrey[
|
|
18
|
+
overdefoult: r(e?.coolGrey[30], 0.16),
|
|
19
|
+
default: r(e?.marbleLight[60], 0.45),
|
|
20
|
+
borderDefault: e?.coolGrey[10],
|
|
21
21
|
borderTop: e?.marbleLight[10],
|
|
22
22
|
toneOp: "#D9E9FC",
|
|
23
|
+
scrollBar: "#bcc5c8",
|
|
24
|
+
gridHover: "#e7eeef",
|
|
23
25
|
...o
|
|
24
26
|
},
|
|
25
27
|
dark: {
|
|
@@ -29,25 +31,29 @@ const h = (a, l) => {
|
|
|
29
31
|
hover: e?.patronusBlue[30],
|
|
30
32
|
overdefoult: r(e?.marbleLight[10], 0.1),
|
|
31
33
|
default: r(e?.marbleLight[70], 0.02),
|
|
32
|
-
borderDefault: e?.coolGrey[
|
|
34
|
+
borderDefault: e?.coolGrey[60],
|
|
33
35
|
borderTop: r(e?.marbleLight[10], 0.04),
|
|
34
36
|
toneOp: "#2C4053",
|
|
37
|
+
scrollBar: "#414950",
|
|
38
|
+
gridHover: "#282d2d",
|
|
35
39
|
...o
|
|
36
40
|
}
|
|
37
41
|
};
|
|
38
42
|
break;
|
|
39
43
|
case "turqui":
|
|
40
|
-
|
|
44
|
+
l = {
|
|
41
45
|
light: {
|
|
42
46
|
active12: r(e?.turquiBlue[50], 0.08),
|
|
43
47
|
active: e?.turquiBlue[50],
|
|
44
48
|
focus: e?.turquiBlue[70],
|
|
45
49
|
hover: e?.turquiBlue[70],
|
|
46
|
-
overdefoult: r(e?.coolGrey[
|
|
47
|
-
default: r(e?.marbleLight[
|
|
50
|
+
overdefoult: r(e?.coolGrey[30], 0.16),
|
|
51
|
+
default: r(e?.marbleLight[60], 0.45),
|
|
48
52
|
borderDefault: e?.coolGrey[40],
|
|
49
53
|
borderTop: e?.marbleLight[10],
|
|
50
54
|
toneOp: "#DEE9EB",
|
|
55
|
+
scrollBar: "#bcc5c8",
|
|
56
|
+
gridHover: "#e7eeef",
|
|
51
57
|
...o
|
|
52
58
|
},
|
|
53
59
|
dark: {
|
|
@@ -60,22 +66,26 @@ const h = (a, l) => {
|
|
|
60
66
|
borderDefault: e?.coolGrey[20],
|
|
61
67
|
borderTop: r(e?.marbleLight[10], 0.04),
|
|
62
68
|
toneOp: "#314042",
|
|
69
|
+
scrollBar: "#414950",
|
|
70
|
+
gridHover: "#282d2d",
|
|
63
71
|
...o
|
|
64
72
|
}
|
|
65
73
|
};
|
|
66
74
|
break;
|
|
67
75
|
case "grass":
|
|
68
|
-
|
|
76
|
+
l = {
|
|
69
77
|
light: {
|
|
70
78
|
active12: r(e?.grassGreen[50], 0.08),
|
|
71
79
|
active: e?.grassGreen[50],
|
|
72
80
|
focus: e?.grassGreen[70],
|
|
73
81
|
hover: e?.grassGreen[70],
|
|
74
|
-
overdefoult: r(e?.coolGrey[
|
|
75
|
-
default: r(e?.marbleLight[
|
|
82
|
+
overdefoult: r(e?.coolGrey[30], 0.16),
|
|
83
|
+
default: r(e?.marbleLight[60], 0.45),
|
|
76
84
|
borderDefault: e?.coolGrey[40],
|
|
77
85
|
borderTop: e?.marbleLight[10],
|
|
78
86
|
toneOp: "#D9ECE6",
|
|
87
|
+
scrollBar: "#bcc5c8",
|
|
88
|
+
gridHover: "#e7eeef",
|
|
79
89
|
...o
|
|
80
90
|
},
|
|
81
91
|
dark: {
|
|
@@ -88,22 +98,26 @@ const h = (a, l) => {
|
|
|
88
98
|
borderDefault: e?.coolGrey[20],
|
|
89
99
|
borderTop: r(e?.marbleLight[10], 0.04),
|
|
90
100
|
toneOp: "#2C433D",
|
|
101
|
+
scrollBar: "#414950",
|
|
102
|
+
gridHover: "#282d2d",
|
|
91
103
|
...o
|
|
92
104
|
}
|
|
93
105
|
};
|
|
94
106
|
break;
|
|
95
107
|
case "brown":
|
|
96
|
-
|
|
108
|
+
l = {
|
|
97
109
|
light: {
|
|
98
110
|
active12: r(e?.brown[50], 0.08),
|
|
99
111
|
active: e?.brown[50],
|
|
100
112
|
focus: e?.brown[90],
|
|
101
113
|
hover: e?.brown[90],
|
|
102
|
-
overdefoult: r(e?.coolGrey[
|
|
103
|
-
default: r(e?.marbleLight[
|
|
114
|
+
overdefoult: r(e?.coolGrey[30], 0.16),
|
|
115
|
+
default: r(e?.marbleLight[60], 0.45),
|
|
104
116
|
borderDefault: e?.coolGrey[40],
|
|
105
117
|
borderTop: e?.marbleLight[10],
|
|
106
118
|
toneOp: "#ECEAE6",
|
|
119
|
+
scrollBar: "#bcc5c8",
|
|
120
|
+
gridHover: "#e7eeef",
|
|
107
121
|
...o
|
|
108
122
|
},
|
|
109
123
|
dark: {
|
|
@@ -116,22 +130,26 @@ const h = (a, l) => {
|
|
|
116
130
|
borderDefault: e?.coolGrey[20],
|
|
117
131
|
borderTop: r(e?.marbleLight[10], 0.04),
|
|
118
132
|
toneOp: "#3F413D",
|
|
133
|
+
scrollBar: "#414950",
|
|
134
|
+
gridHover: "#282d2d",
|
|
119
135
|
...o
|
|
120
136
|
}
|
|
121
137
|
};
|
|
122
138
|
break;
|
|
123
139
|
case "blaze":
|
|
124
|
-
|
|
140
|
+
l = {
|
|
125
141
|
light: {
|
|
126
142
|
active12: r(e?.blazeOrange[50], 0.08),
|
|
127
143
|
active: e?.blazeOrange[50],
|
|
128
144
|
focus: e?.blazeOrange[70],
|
|
129
145
|
hover: e?.blazeOrange[70],
|
|
130
146
|
overdefoult: r(e?.coolGrey[60], 0.1),
|
|
131
|
-
default: r(e?.marbleLight[
|
|
147
|
+
default: r(e?.marbleLight[60], 0.45),
|
|
132
148
|
borderDefault: e?.coolGrey[40],
|
|
133
149
|
borderTop: e?.marbleLight[10],
|
|
134
150
|
toneOp: "#F2F0EB",
|
|
151
|
+
scrollBar: "#bcc5c8",
|
|
152
|
+
gridHover: "#e7eeef",
|
|
135
153
|
...o
|
|
136
154
|
},
|
|
137
155
|
dark: {
|
|
@@ -144,22 +162,26 @@ const h = (a, l) => {
|
|
|
144
162
|
borderDefault: e?.coolGrey[20],
|
|
145
163
|
borderTop: r(e?.marbleLight[10], 0.04),
|
|
146
164
|
toneOp: "#454742",
|
|
165
|
+
scrollBar: "#414950",
|
|
166
|
+
gridHover: "#282d2d",
|
|
147
167
|
...o
|
|
148
168
|
}
|
|
149
169
|
};
|
|
150
170
|
break;
|
|
151
171
|
default:
|
|
152
|
-
|
|
172
|
+
l = {
|
|
153
173
|
light: {
|
|
154
174
|
active12: r(e?.turquiBlue[50], 0.08),
|
|
155
175
|
active: e?.turquiBlue[50],
|
|
156
176
|
focus: e?.turquiBlue[70],
|
|
157
177
|
hover: e?.turquiBlue[70],
|
|
158
|
-
overdefoult: r(e?.coolGrey[
|
|
159
|
-
default: r(e?.marbleLight[
|
|
178
|
+
overdefoult: r(e?.coolGrey[30], 0.16),
|
|
179
|
+
default: r(e?.marbleLight[60], 0.45),
|
|
160
180
|
borderDefault: e?.coolGrey[40],
|
|
161
181
|
borderTop: e?.marbleLight[10],
|
|
162
182
|
toneOp: "#D9E9FC",
|
|
183
|
+
scrollBar: "#bcc5c8",
|
|
184
|
+
gridHover: "#e7eeef",
|
|
163
185
|
...o
|
|
164
186
|
},
|
|
165
187
|
dark: {
|
|
@@ -172,13 +194,15 @@ const h = (a, l) => {
|
|
|
172
194
|
borderDefault: e?.coolGrey[20],
|
|
173
195
|
borderTop: r(e?.marbleLight[10], 0.04),
|
|
174
196
|
toneOp: "#2C4053",
|
|
197
|
+
scrollBar: "#414950",
|
|
198
|
+
gridHover: "#282d2d",
|
|
175
199
|
...o
|
|
176
200
|
}
|
|
177
201
|
};
|
|
178
202
|
break;
|
|
179
203
|
}
|
|
180
|
-
return
|
|
204
|
+
return a === "light" ? { ...l.light } : { ...l.dark };
|
|
181
205
|
};
|
|
182
206
|
export {
|
|
183
|
-
|
|
207
|
+
v as g
|
|
184
208
|
};
|
package/utils/getColorState.d.ts
CHANGED
|
@@ -15,5 +15,7 @@ export interface ColorStateOptions {
|
|
|
15
15
|
error: StateDefault;
|
|
16
16
|
skeleton: StateSkeleton;
|
|
17
17
|
toneOp: string;
|
|
18
|
+
gridHover: string;
|
|
19
|
+
scrollBar: string;
|
|
18
20
|
}
|
|
19
21
|
export declare const getColorState: (presetsKey: ThemeColorPresets, mode: 'light' | 'dark') => ColorStateOptions;
|
package/theme/index.e131f0b1.js
DELETED