@m4l/styles 0.0.13 → 0.0.15
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/config.5405b46b.js +16 -0
- package/index.js +39 -3684
- package/package.json +4 -3
- package/theme/defaultThemeOptions.364b28b6.js +30 -0
- package/theme/index.cd1bedc8.js +7 -0
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +306 -2
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +148 -1
- package/theme/overrides/M4LExtendedComponents/{DynamicFilter.d.ts → M4LDynamicFilter.d.ts} +45 -38
- package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +12 -0
- package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +1 -18
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +274 -4
- package/theme/overrides/M4LExtendedComponents/index.9ef37d1d.js +1712 -0
- package/theme/overrides/M4LRHFComponents/index.5f690e33.js +350 -0
- package/theme/overrides/MUIComponents/index.56660771.js +1354 -0
- package/theme/overrides/index.19dec027.js +70 -0
- package/theme/palette.4b477f9b.js +354 -0
- package/theme/shadows.b2f38616.js +69 -0
- package/theme/typography.1db0276b.js +124 -0
- package/utils/getColorPresets.f3113d85.js +70 -0
- package/utils/getColorState.456150fd.js +136 -0
- package/utils/getFontValue.88831637.js +37 -0
- package/utils/index.d.ts +1 -0
- package/utils/useResponsive.2c45e8e0.js +16 -0
- package/utils/useResponsive.d.ts +7 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { F as s, T as o, C as r, M as n, L as i, I as L, a as p, R as M, B as c, b as u, c as l, P as d, S as g, d as B, e as b, D as T, A, f as F, g as I, h as f, i as k, j as v, k as C, l as P, m as y, n as R, o as S, p as x, q as D, r as w, s as H, t as j, u as G, v as E, w as O, x as q, y as z, z as N, E as V, G as J } from "./MUIComponents/index.56660771.js";
|
|
2
|
+
import { M as K, a as Q, b as U, c as W, d as X, e as Y, f as Z, g as _, h as $, i as t, j as m, k as h, l as e, m as aa, n as sa } from "./M4LExtendedComponents/index.9ef37d1d.js";
|
|
3
|
+
import { M as oa, a as ra, b as na, c as ia, d as La } from "./M4LRHFComponents/index.5f690e33.js";
|
|
4
|
+
function ua(a) {
|
|
5
|
+
return Object.assign(
|
|
6
|
+
s(a),
|
|
7
|
+
o(a),
|
|
8
|
+
r(a),
|
|
9
|
+
n(a),
|
|
10
|
+
i(a),
|
|
11
|
+
L(a),
|
|
12
|
+
p(),
|
|
13
|
+
M(a),
|
|
14
|
+
c(),
|
|
15
|
+
u(a),
|
|
16
|
+
l(a),
|
|
17
|
+
d(a),
|
|
18
|
+
g(a),
|
|
19
|
+
B(a),
|
|
20
|
+
b(a),
|
|
21
|
+
T(a),
|
|
22
|
+
A(a),
|
|
23
|
+
F(a),
|
|
24
|
+
I(a),
|
|
25
|
+
f(a),
|
|
26
|
+
k(a),
|
|
27
|
+
v(),
|
|
28
|
+
C(),
|
|
29
|
+
P(a),
|
|
30
|
+
y(a),
|
|
31
|
+
R(a),
|
|
32
|
+
S(a),
|
|
33
|
+
x(a),
|
|
34
|
+
D(a),
|
|
35
|
+
w(a),
|
|
36
|
+
H(a),
|
|
37
|
+
j(a),
|
|
38
|
+
G(a),
|
|
39
|
+
E(a),
|
|
40
|
+
O(),
|
|
41
|
+
q(a),
|
|
42
|
+
z(a),
|
|
43
|
+
N(a),
|
|
44
|
+
V(a),
|
|
45
|
+
K(a),
|
|
46
|
+
J(),
|
|
47
|
+
Q(a),
|
|
48
|
+
oa(a),
|
|
49
|
+
ra(),
|
|
50
|
+
na(a),
|
|
51
|
+
ia(),
|
|
52
|
+
U(a),
|
|
53
|
+
W(a),
|
|
54
|
+
X(),
|
|
55
|
+
Y(a),
|
|
56
|
+
Z(a),
|
|
57
|
+
_(),
|
|
58
|
+
$(a),
|
|
59
|
+
La(a),
|
|
60
|
+
t(a),
|
|
61
|
+
m(a),
|
|
62
|
+
h(a),
|
|
63
|
+
e(a),
|
|
64
|
+
aa(a),
|
|
65
|
+
sa(a)
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
export {
|
|
69
|
+
ua as f
|
|
70
|
+
};
|
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
import { alpha as r } from "@mui/material/styles";
|
|
2
|
+
function a(c, s) {
|
|
3
|
+
return `linear-gradient(to bottom, ${c}, ${s})`;
|
|
4
|
+
}
|
|
5
|
+
const e = {
|
|
6
|
+
patronusBlue: {
|
|
7
|
+
10: "#CCE6FF",
|
|
8
|
+
20: "#88BCFF",
|
|
9
|
+
30: "#60A7FF",
|
|
10
|
+
40: "#3891FF",
|
|
11
|
+
50: "#0064FF",
|
|
12
|
+
60: "#0039D7",
|
|
13
|
+
70: "#001AA4",
|
|
14
|
+
80: "#00086A",
|
|
15
|
+
90: "#000033"
|
|
16
|
+
},
|
|
17
|
+
crayonBlue: {
|
|
18
|
+
10: "#A5C9FE",
|
|
19
|
+
20: "#88B7FC",
|
|
20
|
+
30: "#6AA4F9",
|
|
21
|
+
40: "#5494F3",
|
|
22
|
+
50: "#2774E6",
|
|
23
|
+
60: "#2367CC",
|
|
24
|
+
70: "#1F5AB3",
|
|
25
|
+
80: "#1A4D99",
|
|
26
|
+
90: "#113366"
|
|
27
|
+
},
|
|
28
|
+
middleYellow: {
|
|
29
|
+
10: "#FFFBCE",
|
|
30
|
+
20: "#FFF79C",
|
|
31
|
+
30: "#FFF46B",
|
|
32
|
+
40: "#FFF039",
|
|
33
|
+
50: "#FFEC08",
|
|
34
|
+
60: "#E5D400",
|
|
35
|
+
70: "#9E9200",
|
|
36
|
+
80: "#696100",
|
|
37
|
+
90: "#353100"
|
|
38
|
+
},
|
|
39
|
+
acidGreen: {
|
|
40
|
+
10: "#CDFFC2",
|
|
41
|
+
20: "#A8FF97",
|
|
42
|
+
30: "#83FF6B",
|
|
43
|
+
40: "#5EFF40",
|
|
44
|
+
50: "#39FF14",
|
|
45
|
+
60: "#47CC2D",
|
|
46
|
+
70: "#229E0A",
|
|
47
|
+
80: "#176E05",
|
|
48
|
+
90: "#0B3D00"
|
|
49
|
+
},
|
|
50
|
+
grassGreen: {
|
|
51
|
+
10: "#FDFFE6",
|
|
52
|
+
20: "#D0E4A3",
|
|
53
|
+
30: "#AFDA85",
|
|
54
|
+
40: "#87D06A",
|
|
55
|
+
50: "#4BB543",
|
|
56
|
+
60: "#438C2D",
|
|
57
|
+
70: "#3A631E",
|
|
58
|
+
80: "#2A3B11",
|
|
59
|
+
90: "#0F1206"
|
|
60
|
+
},
|
|
61
|
+
candyRed: {
|
|
62
|
+
10: "#FFD6D6",
|
|
63
|
+
20: "#EE9B9B",
|
|
64
|
+
30: "#EB7F7F",
|
|
65
|
+
40: "#E86463",
|
|
66
|
+
50: "#D73733",
|
|
67
|
+
60: "#AE1916",
|
|
68
|
+
70: "#850502",
|
|
69
|
+
80: "#5C0500",
|
|
70
|
+
90: "#330400"
|
|
71
|
+
},
|
|
72
|
+
turquiBlue: {
|
|
73
|
+
10: "#B5D9EA",
|
|
74
|
+
20: "#92BBCD",
|
|
75
|
+
30: "#709DB1 ",
|
|
76
|
+
40: "#4D7E94",
|
|
77
|
+
50: "#2A6077",
|
|
78
|
+
60: "#255569",
|
|
79
|
+
70: "#214A5A",
|
|
80
|
+
80: "#1C3E4C",
|
|
81
|
+
90: "#18333D"
|
|
82
|
+
},
|
|
83
|
+
blazeOrange: {
|
|
84
|
+
10: "#F8BE9F",
|
|
85
|
+
20: "#FAA777",
|
|
86
|
+
30: "#FC8F50",
|
|
87
|
+
40: "#FD7828",
|
|
88
|
+
50: "#FF6000",
|
|
89
|
+
60: "#DE5300",
|
|
90
|
+
70: "#BD4600",
|
|
91
|
+
80: "#9B3900",
|
|
92
|
+
90: "#6D2A00"
|
|
93
|
+
},
|
|
94
|
+
flameRed: {
|
|
95
|
+
10: "#F4BABA",
|
|
96
|
+
20: "#F59292",
|
|
97
|
+
30: "#F66A6A",
|
|
98
|
+
40: "#F64141",
|
|
99
|
+
50: "#F71919",
|
|
100
|
+
60: "#D31616",
|
|
101
|
+
70: "#AF1212",
|
|
102
|
+
80: "#8A0F0F",
|
|
103
|
+
90: "#660C0C"
|
|
104
|
+
},
|
|
105
|
+
coolGrey: {
|
|
106
|
+
10: "#BAC6CC",
|
|
107
|
+
20: "#A7B4B9",
|
|
108
|
+
30: "#94A1A6",
|
|
109
|
+
40: "#818F93",
|
|
110
|
+
50: "#6E7C80",
|
|
111
|
+
60: "#5C6A6C",
|
|
112
|
+
70: "#495859",
|
|
113
|
+
80: "#364546",
|
|
114
|
+
90: "#233333"
|
|
115
|
+
},
|
|
116
|
+
marbleLight: {
|
|
117
|
+
10: "#FEFFFF",
|
|
118
|
+
20: "#F9FBFB",
|
|
119
|
+
30: "#F4F7F7",
|
|
120
|
+
40: "#EFF3F4",
|
|
121
|
+
50: "#EAEFF0",
|
|
122
|
+
60: "#fff0",
|
|
123
|
+
70: "#fff0",
|
|
124
|
+
80: "#fff0",
|
|
125
|
+
90: "#fff0"
|
|
126
|
+
},
|
|
127
|
+
ashBlak: {
|
|
128
|
+
10: "#2F3737",
|
|
129
|
+
20: "#2A3232",
|
|
130
|
+
30: "#252C2C",
|
|
131
|
+
40: "#212727",
|
|
132
|
+
50: "#1C2121",
|
|
133
|
+
60: "#090A0A",
|
|
134
|
+
70: "#fff0",
|
|
135
|
+
80: "#fff0",
|
|
136
|
+
90: "#fff0"
|
|
137
|
+
}
|
|
138
|
+
}, d = {
|
|
139
|
+
patronus: {
|
|
140
|
+
4: r(e.patronusBlue[50], 0.04),
|
|
141
|
+
12: r(e.patronusBlue[50], 0.12),
|
|
142
|
+
24: r(e.patronusBlue[50], 0.24),
|
|
143
|
+
36: r(e.patronusBlue[50], 0.36),
|
|
144
|
+
48: r(e.patronusBlue[50], 0.48),
|
|
145
|
+
60: r(e.patronusBlue[50], 0.6),
|
|
146
|
+
72: r(e.patronusBlue[50], 0.72)
|
|
147
|
+
},
|
|
148
|
+
turqui: {
|
|
149
|
+
4: r(e.turquiBlue[50], 0.04),
|
|
150
|
+
12: r(e.turquiBlue[50], 0.12),
|
|
151
|
+
24: r(e.turquiBlue[50], 0.24),
|
|
152
|
+
36: r(e.turquiBlue[50], 0.36),
|
|
153
|
+
48: r(e.turquiBlue[50], 0.48),
|
|
154
|
+
60: r(e.turquiBlue[50], 0.6),
|
|
155
|
+
72: r(e.turquiBlue[50], 0.72)
|
|
156
|
+
},
|
|
157
|
+
grass: {
|
|
158
|
+
4: r(e.grassGreen[50], 0.04),
|
|
159
|
+
12: r(e.grassGreen[50], 0.12),
|
|
160
|
+
24: r(e.grassGreen[50], 0.24),
|
|
161
|
+
36: r(e.grassGreen[50], 0.36),
|
|
162
|
+
48: r(e.grassGreen[50], 0.48),
|
|
163
|
+
60: r(e.grassGreen[50], 0.6),
|
|
164
|
+
72: r(e.grassGreen[50], 0.72)
|
|
165
|
+
},
|
|
166
|
+
candy: {
|
|
167
|
+
4: r(e.candyRed[50], 0.04),
|
|
168
|
+
12: r(e.candyRed[50], 0.12),
|
|
169
|
+
24: r(e.candyRed[50], 0.24),
|
|
170
|
+
36: r(e.candyRed[50], 0.36),
|
|
171
|
+
48: r(e.candyRed[50], 0.48),
|
|
172
|
+
60: r(e.candyRed[50], 0.6),
|
|
173
|
+
72: r(e.candyRed[50], 0.72)
|
|
174
|
+
},
|
|
175
|
+
blaze: {
|
|
176
|
+
4: r(e.blazeOrange[50], 0.04),
|
|
177
|
+
12: r(e.blazeOrange[50], 0.12),
|
|
178
|
+
24: r(e.blazeOrange[50], 0.24),
|
|
179
|
+
36: r(e.blazeOrange[50], 0.36),
|
|
180
|
+
48: r(e.blazeOrange[50], 0.48),
|
|
181
|
+
60: r(e.blazeOrange[50], 0.6),
|
|
182
|
+
72: r(e.blazeOrange[50], 0.72)
|
|
183
|
+
},
|
|
184
|
+
cool: {
|
|
185
|
+
4: r(e.coolGrey[70], 0.04),
|
|
186
|
+
12: r(e.coolGrey[70], 0.12),
|
|
187
|
+
24: r(e.coolGrey[70], 0.24),
|
|
188
|
+
36: r(e.coolGrey[70], 0.36),
|
|
189
|
+
48: r(e.coolGrey[70], 0.48),
|
|
190
|
+
60: r(e.coolGrey[70], 0.6),
|
|
191
|
+
72: r(e.coolGrey[70], 0.72)
|
|
192
|
+
},
|
|
193
|
+
marbel: {
|
|
194
|
+
4: r(e.marbleLight[10], 0.04),
|
|
195
|
+
12: r(e.marbleLight[10], 0.12),
|
|
196
|
+
24: r(e.marbleLight[10], 0.24),
|
|
197
|
+
36: r(e.marbleLight[10], 0.36),
|
|
198
|
+
48: r(e.marbleLight[10], 0.48),
|
|
199
|
+
60: r(e.marbleLight[10], 0.6),
|
|
200
|
+
72: r(e.marbleLight[10], 0.72)
|
|
201
|
+
}
|
|
202
|
+
}, t = {
|
|
203
|
+
lighter: e.patronusBlue[70],
|
|
204
|
+
light: e.patronusBlue[60],
|
|
205
|
+
main: e.patronusBlue[50],
|
|
206
|
+
dark: e.patronusBlue[40],
|
|
207
|
+
darker: e.patronusBlue[20],
|
|
208
|
+
contrastText: e.marbleLight[10]
|
|
209
|
+
}, u = {
|
|
210
|
+
lighter: "#fff0",
|
|
211
|
+
light: "#fff0",
|
|
212
|
+
main: "#fff0",
|
|
213
|
+
dark: "#fff0",
|
|
214
|
+
darker: "#fff0"
|
|
215
|
+
}, o = {
|
|
216
|
+
lighter: "#fff0",
|
|
217
|
+
light: "#fff0",
|
|
218
|
+
main: e.crayonBlue[50],
|
|
219
|
+
dark: "#fff0",
|
|
220
|
+
darker: "#fff0",
|
|
221
|
+
opacity: r(e.crayonBlue[50], 0.08)
|
|
222
|
+
}, l = {
|
|
223
|
+
lighter: "#fff0",
|
|
224
|
+
light: "#fff0",
|
|
225
|
+
main: e.acidGreen[60],
|
|
226
|
+
dark: "#fff0",
|
|
227
|
+
darker: "#fff0",
|
|
228
|
+
opacity: r(e.acidGreen[60], 0.08)
|
|
229
|
+
}, n = {
|
|
230
|
+
lighter: "#fff0",
|
|
231
|
+
light: "#fff0",
|
|
232
|
+
main: e.middleYellow[60],
|
|
233
|
+
dark: "#fff0",
|
|
234
|
+
darker: "#fff0",
|
|
235
|
+
opacity: r(e.middleYellow[60], 0.08)
|
|
236
|
+
}, f = {
|
|
237
|
+
lighter: "#fff0",
|
|
238
|
+
light: "#fff0",
|
|
239
|
+
main: e.flameRed[40],
|
|
240
|
+
dark: "#fff0",
|
|
241
|
+
darker: "#fff0",
|
|
242
|
+
opacity: r(e.flameRed[40], 0.08)
|
|
243
|
+
}, F = {
|
|
244
|
+
0: "#FFFFFF",
|
|
245
|
+
100: "#F9FAFB",
|
|
246
|
+
200: "#F4F6F8",
|
|
247
|
+
300: "#DFE3E8",
|
|
248
|
+
400: "#C4CDD5",
|
|
249
|
+
500: "#919EAB",
|
|
250
|
+
600: "#637381",
|
|
251
|
+
700: "#454F5B",
|
|
252
|
+
800: "#212B36",
|
|
253
|
+
900: "#161C24",
|
|
254
|
+
5008: r("#919EAB", 0.08),
|
|
255
|
+
50012: r("#919EAB", 0.12),
|
|
256
|
+
50016: r("#919EAB", 0.16),
|
|
257
|
+
50024: r("#919EAB", 0.24),
|
|
258
|
+
50032: r("#919EAB", 0.32),
|
|
259
|
+
50048: r("#919EAB", 0.48),
|
|
260
|
+
50056: r("#919EAB", 0.56),
|
|
261
|
+
50080: r("#919EAB", 0.8)
|
|
262
|
+
}, A = {
|
|
263
|
+
primary: a(t.light, t.main),
|
|
264
|
+
info: a(o.light, o.main),
|
|
265
|
+
success: a(l.light, l.main),
|
|
266
|
+
warning: a(n.light, n.main),
|
|
267
|
+
error: a(f.light, f.main)
|
|
268
|
+
}, B = {
|
|
269
|
+
violet: ["#826AF9", "#9E86FF", "#D0AEFF", "#F7D2FF"],
|
|
270
|
+
blue: ["#2D99FF", "#83CFFF", "#A5F3FF", "#CCFAFF"],
|
|
271
|
+
green: ["#2CD9C5", "#60F1C8", "#A4F7CC", "#C0F2DC"],
|
|
272
|
+
yellow: ["#FFE700", "#FFEF5A", "#FFF7AE", "#FFF3D6"],
|
|
273
|
+
red: ["#FF6C40", "#FF8F6D", "#FFBD98", "#FFF2D4"]
|
|
274
|
+
}, E = {
|
|
275
|
+
normal: e.crayonBlue[50],
|
|
276
|
+
hover: e.crayonBlue[70]
|
|
277
|
+
}, g = {
|
|
278
|
+
normal: e.acidGreen[60],
|
|
279
|
+
hover: e.acidGreen[70]
|
|
280
|
+
}, C = {
|
|
281
|
+
normal: e.flameRed[40],
|
|
282
|
+
hover: e.flameRed[60]
|
|
283
|
+
}, m = {
|
|
284
|
+
normal: e.flameRed[60],
|
|
285
|
+
hover: e.flameRed[70]
|
|
286
|
+
}, h = {
|
|
287
|
+
default: r(e.coolGrey[50], 0.24),
|
|
288
|
+
transition: r(e.coolGrey[50], 0.08)
|
|
289
|
+
}, y = {
|
|
290
|
+
info: { ...E },
|
|
291
|
+
success: { ...g },
|
|
292
|
+
error: { ...C },
|
|
293
|
+
warning: { ...m },
|
|
294
|
+
skeleton: { ...h }
|
|
295
|
+
}, i = {
|
|
296
|
+
common: { black: "#000", white: "#fff" },
|
|
297
|
+
primary: { ...t },
|
|
298
|
+
state: {
|
|
299
|
+
...y
|
|
300
|
+
},
|
|
301
|
+
patronus: { ...e },
|
|
302
|
+
opacity: { ...d },
|
|
303
|
+
secondary: { ...u, contrastText: "#fff" },
|
|
304
|
+
info: { ...o, contrastText: "#fff" },
|
|
305
|
+
success: { ...l, contrastText: F[800] },
|
|
306
|
+
warning: { ...n, contrastText: F[800] },
|
|
307
|
+
error: { ...f, contrastText: "#fff" },
|
|
308
|
+
grey: F,
|
|
309
|
+
gradients: A,
|
|
310
|
+
chart: B,
|
|
311
|
+
divider: F[50024],
|
|
312
|
+
action: {
|
|
313
|
+
hoverOpacity: 0.08,
|
|
314
|
+
disabledOpacity: 0.48
|
|
315
|
+
}
|
|
316
|
+
}, p = {
|
|
317
|
+
light: {
|
|
318
|
+
...i,
|
|
319
|
+
mode: "light",
|
|
320
|
+
text: {
|
|
321
|
+
primary: e.ashBlak[10],
|
|
322
|
+
secondary: e.coolGrey[40],
|
|
323
|
+
disabled: e.coolGrey[10]
|
|
324
|
+
},
|
|
325
|
+
background: {
|
|
326
|
+
paper: "#fff0",
|
|
327
|
+
default: e.marbleLight[10],
|
|
328
|
+
neutral: e.marbleLight[30],
|
|
329
|
+
background: e.marbleLight[50]
|
|
330
|
+
},
|
|
331
|
+
grid: { sectionHeader: "#F6F7F9", divider: "#EDEFF2", rowHover: "#FAFBFC" }
|
|
332
|
+
},
|
|
333
|
+
dark: {
|
|
334
|
+
...i,
|
|
335
|
+
mode: "dark",
|
|
336
|
+
text: {
|
|
337
|
+
primary: e.marbleLight[30],
|
|
338
|
+
secondary: e.coolGrey[20],
|
|
339
|
+
disabled: e.coolGrey[50]
|
|
340
|
+
},
|
|
341
|
+
background: {
|
|
342
|
+
paper: "#fff0",
|
|
343
|
+
default: e.ashBlak[10],
|
|
344
|
+
neutral: e.ashBlak[30],
|
|
345
|
+
background: e.ashBlak[50]
|
|
346
|
+
},
|
|
347
|
+
grid: { sectionHeader: "#29313A", divider: "#3E464F", rowHover: "#1F262F" }
|
|
348
|
+
}
|
|
349
|
+
};
|
|
350
|
+
export {
|
|
351
|
+
e as P,
|
|
352
|
+
y as S,
|
|
353
|
+
p
|
|
354
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { alpha as a } from "@mui/material/styles";
|
|
2
|
+
import { p as e, P as r } from "./palette.4b477f9b.js";
|
|
3
|
+
const s = e.light.grey[500], n = "#000000", o = (t) => {
|
|
4
|
+
const p = a(t, 0.2), x = a(t, 0.14), $ = a(t, 0.12);
|
|
5
|
+
return [
|
|
6
|
+
"none",
|
|
7
|
+
`0px 2px 1px -1px ${p},0px 1px 1px 0px ${x},0px 1px 3px 0px ${$}`,
|
|
8
|
+
`0px 3px 1px -2px ${p},0px 2px 2px 0px ${x},0px 1px 5px 0px ${$}`,
|
|
9
|
+
`0px 3px 3px -2px ${p},0px 3px 4px 0px ${x},0px 1px 8px 0px ${$}`,
|
|
10
|
+
`0px 2px 4px -1px ${p},0px 4px 5px 0px ${x},0px 1px 10px 0px ${$}`,
|
|
11
|
+
`0px 3px 5px -1px ${p},0px 5px 8px 0px ${x},0px 1px 14px 0px ${$}`,
|
|
12
|
+
`0px 3px 5px -1px ${p},0px 6px 10px 0px ${x},0px 1px 18px 0px ${$}`,
|
|
13
|
+
`0px 4px 5px -2px ${p},0px 7px 10px 1px ${x},0px 2px 16px 1px ${$}`,
|
|
14
|
+
`0px 5px 5px -3px ${p},0px 8px 10px 1px ${x},0px 3px 14px 2px ${$}`,
|
|
15
|
+
`0px 5px 6px -3px ${p},0px 9px 12px 1px ${x},0px 3px 16px 2px ${$}`,
|
|
16
|
+
`0px 6px 6px -3px ${p},0px 10px 14px 1px ${x},0px 4px 18px 3px ${$}`,
|
|
17
|
+
`0px 6px 7px -4px ${p},0px 11px 15px 1px ${x},0px 4px 20px 3px ${$}`,
|
|
18
|
+
`0px 7px 8px -4px ${p},0px 12px 17px 2px ${x},0px 5px 22px 4px ${$}`,
|
|
19
|
+
`0px 7px 8px -4px ${p},0px 13px 19px 2px ${x},0px 5px 24px 4px ${$}`,
|
|
20
|
+
`0px 7px 9px -4px ${p},0px 14px 21px 2px ${x},0px 5px 26px 4px ${$}`,
|
|
21
|
+
`0px 8px 9px -5px ${p},0px 15px 22px 2px ${x},0px 6px 28px 5px ${$}`,
|
|
22
|
+
`0px 8px 10px -5px ${p},0px 16px 24px 2px ${x},0px 6px 30px 5px ${$}`,
|
|
23
|
+
`0px 8px 11px -5px ${p},0px 17px 26px 2px ${x},0px 6px 32px 5px ${$}`,
|
|
24
|
+
`0px 9px 11px -5px ${p},0px 18px 28px 2px ${x},0px 7px 34px 6px ${$}`,
|
|
25
|
+
`0px 9px 12px -6px ${p},0px 19px 29px 2px ${x},0px 7px 36px 6px ${$}`,
|
|
26
|
+
`0px 10px 13px -6px ${p},0px 20px 31px 3px ${x},0px 8px 38px 7px ${$}`,
|
|
27
|
+
`0px 10px 13px -6px ${p},0px 21px 33px 3px ${x},0px 8px 40px 7px ${$}`,
|
|
28
|
+
`0px 10px 14px -6px ${p},0px 22px 35px 3px ${x},0px 8px 42px 7px ${$}`,
|
|
29
|
+
`0px 11px 14px -7px ${p},0px 23px 36px 3px ${x},0px 9px 44px 8px ${$}`,
|
|
30
|
+
`0px 11px 15px -7px ${p},0px 24px 38px 3px ${x},0px 9px 46px 8px ${$}`
|
|
31
|
+
];
|
|
32
|
+
}, i = (t) => {
|
|
33
|
+
const p = {
|
|
34
|
+
info: `0px 2px 8px 0px ${a(r.patronusBlue[50], 0.2)}`,
|
|
35
|
+
secondary: `0px 2px 8px 0px ${a(e.light.secondary.main, 0.24)}`,
|
|
36
|
+
success: `0px 2px 8px 0px ${a(r.acidGreen[50], 0.2)}`,
|
|
37
|
+
warning: `0px 2px 8px 0px ${a(r.middleYellow[50], 0.2)}`,
|
|
38
|
+
error: `0px 2px 8px 0px ${a(r.flameRed[50], 0.2)}`,
|
|
39
|
+
card: `0 0 2px 0 ${a(e.light.grey[500], 0.2)}, 0 12px 24px -4px ${a(
|
|
40
|
+
e.light.grey[500],
|
|
41
|
+
0.12
|
|
42
|
+
)}`,
|
|
43
|
+
dialog: `-40px 40px 80px -8px ${a(e.light.common.black, 0.24)}`,
|
|
44
|
+
dropdown: `0 0 2px 0 ${a(e.light.grey[500], 0.24)}, -20px 20px 40px -4px ${a(
|
|
45
|
+
e.light.grey[500],
|
|
46
|
+
0.24
|
|
47
|
+
)}`
|
|
48
|
+
};
|
|
49
|
+
return t === "light" ? {
|
|
50
|
+
z1: `0px 1px 2px ${a(r.coolGrey[70], 0.12)}`,
|
|
51
|
+
z2: `0px 2px 2px 1px ${a(r.coolGrey[70], 0.12)}`,
|
|
52
|
+
z3: `0px 4px 8px ${a(r.coolGrey[70], 0.16)}`,
|
|
53
|
+
z4: `0px 8px 16px 1px ${a(r.coolGrey[70], 0.16)}`,
|
|
54
|
+
...p
|
|
55
|
+
} : {
|
|
56
|
+
z1: `0px 1px 2px ${a(r.ashBlak[50], 0.4)}`,
|
|
57
|
+
z2: `0px 2px 2px 1px ${a(r.ashBlak[50], 0.4)}`,
|
|
58
|
+
z3: `0px 4px 8px 1px ${a(r.ashBlak[60], 0.4)}`,
|
|
59
|
+
z4: `0px 8px 16px 4px ${a(r.ashBlak[60], 0.4)}`,
|
|
60
|
+
...p
|
|
61
|
+
};
|
|
62
|
+
}, h = {
|
|
63
|
+
light: o(s),
|
|
64
|
+
dark: o(n)
|
|
65
|
+
};
|
|
66
|
+
export {
|
|
67
|
+
i as c,
|
|
68
|
+
h as s
|
|
69
|
+
};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import "@mui/material/styles";
|
|
2
|
+
import "@mui/material/useMediaQuery";
|
|
3
|
+
import "../utils/getColorPresets.f3113d85.js";
|
|
4
|
+
import "@mui/system";
|
|
5
|
+
import "./defaultThemeOptions.364b28b6.js";
|
|
6
|
+
import "./shadows.b2f38616.js";
|
|
7
|
+
import "./palette.4b477f9b.js";
|
|
8
|
+
import "@mui/material";
|
|
9
|
+
import { r as t, p as i } from "../utils/getFontValue.88831637.js";
|
|
10
|
+
const e = "Poppins, sans-serif", p = {
|
|
11
|
+
fontFamily: e,
|
|
12
|
+
fontWeightRegular: 400,
|
|
13
|
+
fontWeightMedium: 600,
|
|
14
|
+
fontWeightBold: 700,
|
|
15
|
+
h1: {
|
|
16
|
+
fontWeight: 600,
|
|
17
|
+
lineHeight: 1.5,
|
|
18
|
+
...t({ sm: 38, md: 40, lg: 40 })
|
|
19
|
+
},
|
|
20
|
+
h2: {
|
|
21
|
+
fontWeight: 600,
|
|
22
|
+
lineHeight: 1,
|
|
23
|
+
...t({ sm: 40, md: 44, lg: 48 })
|
|
24
|
+
},
|
|
25
|
+
h3: {
|
|
26
|
+
fontWeight: 600,
|
|
27
|
+
lineHeight: 1.5,
|
|
28
|
+
...t({ sm: 30, md: 32, lg: 32 })
|
|
29
|
+
},
|
|
30
|
+
h4: {
|
|
31
|
+
fontWeight: 600,
|
|
32
|
+
lineHeight: 1.5,
|
|
33
|
+
...t({ sm: 20, md: 24, lg: 24 })
|
|
34
|
+
},
|
|
35
|
+
h5: {
|
|
36
|
+
fontWeight: 600,
|
|
37
|
+
lineHeight: 1.5,
|
|
38
|
+
...t({ sm: 22, md: 24, lg: 24 })
|
|
39
|
+
},
|
|
40
|
+
h6: {
|
|
41
|
+
fontWeight: 600,
|
|
42
|
+
lineHeight: 28 / 18,
|
|
43
|
+
...t({ sm: 18, md: 18, lg: 18 })
|
|
44
|
+
},
|
|
45
|
+
subtitle: {
|
|
46
|
+
fontWeight: 400,
|
|
47
|
+
lineHeight: 1.5,
|
|
48
|
+
...t({ sm: 18, md: 16, lg: 16 })
|
|
49
|
+
},
|
|
50
|
+
subtitleDens: {
|
|
51
|
+
fontWeight: 600,
|
|
52
|
+
lineHeight: 1.5,
|
|
53
|
+
...t({ sm: 18, md: 16, lg: 16 })
|
|
54
|
+
},
|
|
55
|
+
paragraph: {
|
|
56
|
+
fontWeight: 400,
|
|
57
|
+
lineHeight: 1.429,
|
|
58
|
+
...t({ sm: 16, md: 14, lg: 14 })
|
|
59
|
+
},
|
|
60
|
+
paragraphDens: {
|
|
61
|
+
fontWeight: 600,
|
|
62
|
+
lineHeight: 1.429,
|
|
63
|
+
...t({ sm: 16, md: 14, lg: 14 })
|
|
64
|
+
},
|
|
65
|
+
subtitle1: {
|
|
66
|
+
fontWeight: 600,
|
|
67
|
+
lineHeight: 1.5,
|
|
68
|
+
fontSize: i(14)
|
|
69
|
+
},
|
|
70
|
+
subtitle2: {
|
|
71
|
+
fontWeight: 600,
|
|
72
|
+
lineHeight: 1.5,
|
|
73
|
+
fontSize: i(12)
|
|
74
|
+
},
|
|
75
|
+
body: {
|
|
76
|
+
fontWeight: 400,
|
|
77
|
+
lineHeight: 1.143,
|
|
78
|
+
...t({ sm: 14, md: 12, lg: 12 })
|
|
79
|
+
},
|
|
80
|
+
bodyDens: {
|
|
81
|
+
fontWeight: 600,
|
|
82
|
+
lineHeight: 1.143,
|
|
83
|
+
...t({ sm: 14, md: 12, lg: 12 })
|
|
84
|
+
},
|
|
85
|
+
body0: {
|
|
86
|
+
lineHeight: 1.5,
|
|
87
|
+
fontWeight: 400,
|
|
88
|
+
fontSize: i(16)
|
|
89
|
+
},
|
|
90
|
+
body1: {
|
|
91
|
+
lineHeight: 1.5,
|
|
92
|
+
fontWeight: 400,
|
|
93
|
+
fontSize: i(14)
|
|
94
|
+
},
|
|
95
|
+
body2: {
|
|
96
|
+
lineHeight: 1.5,
|
|
97
|
+
fontWeight: 400,
|
|
98
|
+
fontSize: i(12)
|
|
99
|
+
},
|
|
100
|
+
caption: {
|
|
101
|
+
lineHeight: 1.5,
|
|
102
|
+
fontSize: i(11)
|
|
103
|
+
},
|
|
104
|
+
overline: {
|
|
105
|
+
fontWeight: 700,
|
|
106
|
+
lineHeight: 1.5,
|
|
107
|
+
fontSize: i(12),
|
|
108
|
+
textTransform: "uppercase"
|
|
109
|
+
},
|
|
110
|
+
button: {
|
|
111
|
+
fontWeight: 700,
|
|
112
|
+
lineHeight: 24 / 14,
|
|
113
|
+
fontSize: i(14),
|
|
114
|
+
textTransform: "capitalize"
|
|
115
|
+
},
|
|
116
|
+
action: {
|
|
117
|
+
fontWeight: 500,
|
|
118
|
+
lineHeight: 1.667,
|
|
119
|
+
...t({ sm: 14, md: 12, lg: 12 })
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
export {
|
|
123
|
+
p as t
|
|
124
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { P as r } from "../theme/palette.4b477f9b.js";
|
|
2
|
+
const e = [
|
|
3
|
+
{
|
|
4
|
+
name: "patronus",
|
|
5
|
+
lighter: r.patronusBlue[70],
|
|
6
|
+
light: r.patronusBlue[60],
|
|
7
|
+
main: r.patronusBlue[50],
|
|
8
|
+
dark: r.patronusBlue[40],
|
|
9
|
+
darker: r.patronusBlue[20],
|
|
10
|
+
contrastText: r.marbleLight[10]
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: "turqui",
|
|
14
|
+
lighter: r.turquiBlue[80],
|
|
15
|
+
light: r.turquiBlue[60],
|
|
16
|
+
main: r.turquiBlue[40],
|
|
17
|
+
dark: r.turquiBlue[50],
|
|
18
|
+
darker: r.turquiBlue[20],
|
|
19
|
+
contrastText: r.marbleLight[10]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: "grass",
|
|
23
|
+
lighter: r.grassGreen[80],
|
|
24
|
+
light: r.grassGreen[50],
|
|
25
|
+
main: r.grassGreen[60],
|
|
26
|
+
dark: r.grassGreen[40],
|
|
27
|
+
darker: r.grassGreen[20],
|
|
28
|
+
contrastText: r.marbleLight[10]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: "candy",
|
|
32
|
+
lighter: r.candyRed[70],
|
|
33
|
+
light: r.candyRed[60],
|
|
34
|
+
main: r.candyRed[50],
|
|
35
|
+
dark: r.candyRed[40],
|
|
36
|
+
darker: r.candyRed[30],
|
|
37
|
+
contrastText: r.marbleLight[10]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: "blaze",
|
|
41
|
+
lighter: r.blazeOrange[80],
|
|
42
|
+
light: r.blazeOrange[50],
|
|
43
|
+
main: r.blazeOrange[60],
|
|
44
|
+
dark: r.blazeOrange[40],
|
|
45
|
+
darker: r.blazeOrange[20],
|
|
46
|
+
contrastText: r.marbleLight[10]
|
|
47
|
+
}
|
|
48
|
+
], a = e[0], n = e[1], s = e[2], l = e[3], u = e[4];
|
|
49
|
+
function o(t) {
|
|
50
|
+
try {
|
|
51
|
+
return {
|
|
52
|
+
patronus: a,
|
|
53
|
+
turqui: n,
|
|
54
|
+
grass: s,
|
|
55
|
+
candy: l,
|
|
56
|
+
blaze: u
|
|
57
|
+
}[t];
|
|
58
|
+
} catch {
|
|
59
|
+
}
|
|
60
|
+
return a;
|
|
61
|
+
}
|
|
62
|
+
export {
|
|
63
|
+
s as a,
|
|
64
|
+
l as b,
|
|
65
|
+
e as c,
|
|
66
|
+
a as d,
|
|
67
|
+
u as e,
|
|
68
|
+
o as g,
|
|
69
|
+
n as t
|
|
70
|
+
};
|