@m4l/styles 0.0.19 → 0.0.21
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 +19 -19
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.d67fe64c.js → defaultThemeOptions.81e20130.js} +5 -5
- package/theme/index.38ad102a.js +7 -0
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +237 -67
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +1151 -336
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +116 -63
- package/theme/overrides/M4LExtendedComponents/M4LCommonActions.d.ts +1 -0
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +245 -8
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +46 -12
- package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +8 -4
- package/theme/overrides/M4LExtendedComponents/{index.bd713d88.js → index.9ecb9eb5.js} +524 -289
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +17 -3
- package/theme/overrides/M4LRHFComponents/{index.1406e2ed.js → index.e3118e8b.js} +25 -11
- package/theme/overrides/MUIComponents/Button.d.ts +3 -1
- package/theme/overrides/MUIComponents/Input.d.ts +16 -3
- package/theme/overrides/MUIComponents/Tabs.d.ts +2 -0
- package/theme/overrides/MUIComponents/{index.e3d060c3.js → index.25926753.js} +50 -32
- package/theme/overrides/{index.6b7aec0f.js → index.05460ef6.js} +3 -3
- package/theme/{palette.95c4f9c8.js → palette.ad96498c.js} +114 -114
- package/theme/palette.d.ts +6 -6
- package/theme/{shadows.354bbb03.js → shadows.c56e8ae9.js} +1 -1
- package/theme/{typography.61f909b7.js → typography.39389e10.js} +4 -4
- package/types/types.d.ts +1 -1
- package/utils/getColorPresets.82f91ceb.js +70 -0
- package/utils/getColorPresets.d.ts +1 -1
- package/utils/getColorState.0e5b3a7c.js +172 -0
- package/utils/getColorState.d.ts +1 -0
- package/theme/index.efa44d2d.js +0 -7
- package/utils/getColorPresets.d73f30ad.js +0 -70
- package/utils/getColorState.bde51cf7.js +0 -159
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { alpha as r } from "@mui/material/styles";
|
|
2
|
-
function a(
|
|
3
|
-
return `linear-gradient(to bottom, ${
|
|
2
|
+
function a(s, B) {
|
|
3
|
+
return `linear-gradient(to bottom, ${s}, ${B})`;
|
|
4
4
|
}
|
|
5
5
|
const e = {
|
|
6
6
|
patronusBlue: {
|
|
7
|
-
10: "#
|
|
8
|
-
20: "#
|
|
9
|
-
30: "#
|
|
10
|
-
40: "#
|
|
7
|
+
10: "#DBE9FF",
|
|
8
|
+
20: "#B6D3FF",
|
|
9
|
+
30: "#6DA8FF",
|
|
10
|
+
40: "#3787FF",
|
|
11
11
|
50: "#0064FF",
|
|
12
|
-
60: "#
|
|
13
|
-
70: "#
|
|
14
|
-
80: "#
|
|
15
|
-
90: "#
|
|
12
|
+
60: "#0050C8",
|
|
13
|
+
70: "#003A92",
|
|
14
|
+
80: "#00245B",
|
|
15
|
+
90: "#000F24"
|
|
16
16
|
},
|
|
17
17
|
crayonBlue: {
|
|
18
18
|
10: "#D9E9FF",
|
|
@@ -48,48 +48,48 @@ const e = {
|
|
|
48
48
|
90: "#0B3D00"
|
|
49
49
|
},
|
|
50
50
|
grassGreen: {
|
|
51
|
-
10: "#
|
|
52
|
-
20: "#
|
|
53
|
-
30: "#
|
|
54
|
-
40: "#
|
|
55
|
-
50: "#
|
|
56
|
-
60: "#
|
|
57
|
-
70: "#
|
|
58
|
-
80: "#
|
|
59
|
-
90: "#
|
|
51
|
+
10: "#E3F4EB",
|
|
52
|
+
20: "#AADEC2",
|
|
53
|
+
30: "#7BCCA1",
|
|
54
|
+
40: "#3FA26D",
|
|
55
|
+
50: "#00804C",
|
|
56
|
+
60: "#005B37",
|
|
57
|
+
70: "#004026",
|
|
58
|
+
80: "#002416",
|
|
59
|
+
90: "#00120B"
|
|
60
60
|
},
|
|
61
|
-
|
|
62
|
-
10: "#
|
|
63
|
-
20: "#
|
|
64
|
-
30: "#
|
|
65
|
-
40: "#
|
|
66
|
-
50: "#
|
|
67
|
-
60: "#
|
|
68
|
-
70: "#
|
|
69
|
-
80: "#
|
|
70
|
-
90: "#
|
|
61
|
+
desertBeige: {
|
|
62
|
+
10: "#F6EBE2",
|
|
63
|
+
20: "#EDD7C5",
|
|
64
|
+
30: "#E7CAB1",
|
|
65
|
+
40: "#DDB490",
|
|
66
|
+
50: "#D4A276",
|
|
67
|
+
60: "#BD8F68",
|
|
68
|
+
70: "#AD794C",
|
|
69
|
+
80: "#90653F",
|
|
70
|
+
90: "#735133"
|
|
71
71
|
},
|
|
72
72
|
turquiBlue: {
|
|
73
|
-
10: "#
|
|
74
|
-
20: "#
|
|
75
|
-
30: "#
|
|
76
|
-
40: "#
|
|
73
|
+
10: "#C8E1EC",
|
|
74
|
+
20: "#A3CDDF",
|
|
75
|
+
30: "#76A5BA",
|
|
76
|
+
40: "#377F9D",
|
|
77
77
|
50: "#2A6077",
|
|
78
|
-
60: "#
|
|
79
|
-
70: "#
|
|
80
|
-
80: "#
|
|
81
|
-
90: "#
|
|
78
|
+
60: "#214C5F",
|
|
79
|
+
70: "#1B3F4E",
|
|
80
|
+
80: "#15313C",
|
|
81
|
+
90: "#0F232B"
|
|
82
82
|
},
|
|
83
83
|
blazeOrange: {
|
|
84
|
-
10: "#
|
|
85
|
-
20: "#
|
|
86
|
-
30: "#
|
|
87
|
-
40: "#
|
|
88
|
-
50: "#
|
|
89
|
-
60: "#
|
|
90
|
-
70: "#
|
|
91
|
-
80: "#
|
|
92
|
-
90: "#
|
|
84
|
+
10: "#F9E9D0",
|
|
85
|
+
20: "#F4D3A1",
|
|
86
|
+
30: "#F2BD6D",
|
|
87
|
+
40: "#EBAE53",
|
|
88
|
+
50: "#E59722",
|
|
89
|
+
60: "#BA7916",
|
|
90
|
+
70: "#BA7916",
|
|
91
|
+
80: "#774D0E",
|
|
92
|
+
90: "#735133"
|
|
93
93
|
},
|
|
94
94
|
flameRed: {
|
|
95
95
|
10: "#FFD8D8",
|
|
@@ -114,99 +114,99 @@ const e = {
|
|
|
114
114
|
90: "#233333"
|
|
115
115
|
},
|
|
116
116
|
marbleLight: {
|
|
117
|
-
10: "#
|
|
118
|
-
20: "#
|
|
119
|
-
30: "#
|
|
120
|
-
40: "#
|
|
121
|
-
50: "#
|
|
122
|
-
60: "#
|
|
123
|
-
70: "#
|
|
117
|
+
10: "#FFFFFF",
|
|
118
|
+
20: "#F7FCFC",
|
|
119
|
+
30: "#F9FBFB",
|
|
120
|
+
40: "#F4F7F7",
|
|
121
|
+
50: "#EFF3F4",
|
|
122
|
+
60: "#EAEFF0",
|
|
123
|
+
70: "#DEE6E8",
|
|
124
124
|
80: "#fff0",
|
|
125
125
|
90: "#fff0"
|
|
126
126
|
},
|
|
127
127
|
ashBlak: {
|
|
128
|
-
10: "#
|
|
129
|
-
20: "#
|
|
130
|
-
30: "#
|
|
131
|
-
40: "#
|
|
132
|
-
50: "#
|
|
133
|
-
60: "#
|
|
134
|
-
70: "#
|
|
128
|
+
10: "#364040",
|
|
129
|
+
20: "#2F3737",
|
|
130
|
+
30: "#2A3232",
|
|
131
|
+
40: "#252C2C",
|
|
132
|
+
50: "#212727",
|
|
133
|
+
60: "#1C2121",
|
|
134
|
+
70: "#090A0A",
|
|
135
135
|
80: "#fff0",
|
|
136
136
|
90: "#fff0"
|
|
137
137
|
}
|
|
138
|
-
},
|
|
138
|
+
}, c = {
|
|
139
139
|
patronus: {
|
|
140
140
|
4: r(e.patronusBlue[50], 0.04),
|
|
141
|
-
12: r(e.patronusBlue[50], 0.
|
|
142
|
-
24: r(e.patronusBlue[50], 0.
|
|
143
|
-
36: r(e.patronusBlue[50], 0.
|
|
141
|
+
12: r(e.patronusBlue[50], 0.08),
|
|
142
|
+
24: r(e.patronusBlue[50], 0.16),
|
|
143
|
+
36: r(e.patronusBlue[50], 0.32),
|
|
144
144
|
48: r(e.patronusBlue[50], 0.48),
|
|
145
145
|
60: r(e.patronusBlue[50], 0.6),
|
|
146
146
|
72: r(e.patronusBlue[50], 0.72)
|
|
147
147
|
},
|
|
148
148
|
turqui: {
|
|
149
149
|
4: r(e.turquiBlue[50], 0.04),
|
|
150
|
-
12: r(e.turquiBlue[50], 0.
|
|
151
|
-
24: r(e.turquiBlue[50], 0.
|
|
152
|
-
36: r(e.turquiBlue[50], 0.
|
|
150
|
+
12: r(e.turquiBlue[50], 0.08),
|
|
151
|
+
24: r(e.turquiBlue[50], 0.16),
|
|
152
|
+
36: r(e.turquiBlue[50], 0.32),
|
|
153
153
|
48: r(e.turquiBlue[50], 0.48),
|
|
154
154
|
60: r(e.turquiBlue[50], 0.6),
|
|
155
155
|
72: r(e.turquiBlue[50], 0.72)
|
|
156
156
|
},
|
|
157
157
|
grass: {
|
|
158
158
|
4: r(e.grassGreen[50], 0.04),
|
|
159
|
-
12: r(e.grassGreen[50], 0.
|
|
160
|
-
24: r(e.grassGreen[50], 0.
|
|
161
|
-
36: r(e.grassGreen[50], 0.
|
|
159
|
+
12: r(e.grassGreen[50], 0.08),
|
|
160
|
+
24: r(e.grassGreen[50], 0.16),
|
|
161
|
+
36: r(e.grassGreen[50], 0.32),
|
|
162
162
|
48: r(e.grassGreen[50], 0.48),
|
|
163
163
|
60: r(e.grassGreen[50], 0.6),
|
|
164
164
|
72: r(e.grassGreen[50], 0.72)
|
|
165
165
|
},
|
|
166
|
-
|
|
167
|
-
4: r(e.
|
|
168
|
-
12: r(e.
|
|
169
|
-
24: r(e.
|
|
170
|
-
36: r(e.
|
|
171
|
-
48: r(e.
|
|
172
|
-
60: r(e.
|
|
173
|
-
72: r(e.
|
|
166
|
+
desert: {
|
|
167
|
+
4: r(e.desertBeige[50], 0.04),
|
|
168
|
+
12: r(e.desertBeige[50], 0.08),
|
|
169
|
+
24: r(e.desertBeige[50], 0.16),
|
|
170
|
+
36: r(e.desertBeige[50], 0.32),
|
|
171
|
+
48: r(e.desertBeige[50], 0.48),
|
|
172
|
+
60: r(e.desertBeige[50], 0.6),
|
|
173
|
+
72: r(e.desertBeige[50], 0.72)
|
|
174
174
|
},
|
|
175
175
|
blaze: {
|
|
176
176
|
4: r(e.blazeOrange[50], 0.04),
|
|
177
|
-
12: r(e.blazeOrange[50], 0.
|
|
178
|
-
24: r(e.blazeOrange[50], 0.
|
|
179
|
-
36: r(e.blazeOrange[50], 0.
|
|
177
|
+
12: r(e.blazeOrange[50], 0.08),
|
|
178
|
+
24: r(e.blazeOrange[50], 0.16),
|
|
179
|
+
36: r(e.blazeOrange[50], 0.32),
|
|
180
180
|
48: r(e.blazeOrange[50], 0.48),
|
|
181
181
|
60: r(e.blazeOrange[50], 0.6),
|
|
182
182
|
72: r(e.blazeOrange[50], 0.72)
|
|
183
183
|
},
|
|
184
184
|
cool: {
|
|
185
185
|
4: r(e.coolGrey[70], 0.04),
|
|
186
|
-
12: r(e.coolGrey[70], 0.
|
|
187
|
-
24: r(e.coolGrey[70], 0.
|
|
188
|
-
36: r(e.coolGrey[70], 0.
|
|
186
|
+
12: r(e.coolGrey[70], 0.08),
|
|
187
|
+
24: r(e.coolGrey[70], 0.16),
|
|
188
|
+
36: r(e.coolGrey[70], 0.32),
|
|
189
189
|
48: r(e.coolGrey[70], 0.48),
|
|
190
190
|
60: r(e.coolGrey[70], 0.6),
|
|
191
191
|
72: r(e.coolGrey[70], 0.72)
|
|
192
192
|
},
|
|
193
193
|
marbel: {
|
|
194
194
|
4: r(e.marbleLight[10], 0.04),
|
|
195
|
-
12: r(e.marbleLight[10], 0.
|
|
196
|
-
24: r(e.marbleLight[10], 0.
|
|
197
|
-
36: r(e.marbleLight[10], 0.
|
|
195
|
+
12: r(e.marbleLight[10], 0.08),
|
|
196
|
+
24: r(e.marbleLight[10], 0.16),
|
|
197
|
+
36: r(e.marbleLight[10], 0.32),
|
|
198
198
|
48: r(e.marbleLight[10], 0.48),
|
|
199
199
|
60: r(e.marbleLight[10], 0.6),
|
|
200
200
|
72: r(e.marbleLight[10], 0.72)
|
|
201
201
|
}
|
|
202
202
|
}, t = {
|
|
203
|
-
lighter: e.patronusBlue[
|
|
204
|
-
light: e.patronusBlue[
|
|
203
|
+
lighter: e.patronusBlue[60],
|
|
204
|
+
light: e.patronusBlue[40],
|
|
205
205
|
main: e.patronusBlue[50],
|
|
206
|
-
dark: e.patronusBlue[
|
|
207
|
-
darker: e.patronusBlue[
|
|
206
|
+
dark: e.patronusBlue[30],
|
|
207
|
+
darker: e.patronusBlue[10],
|
|
208
208
|
contrastText: e.marbleLight[10]
|
|
209
|
-
},
|
|
209
|
+
}, d = {
|
|
210
210
|
lighter: "#fff0",
|
|
211
211
|
light: "#fff0",
|
|
212
212
|
main: "#fff0",
|
|
@@ -233,7 +233,7 @@ const e = {
|
|
|
233
233
|
dark: "#fff0",
|
|
234
234
|
darker: "#fff0",
|
|
235
235
|
opacity: r(e.middleYellow[60], 0.08)
|
|
236
|
-
},
|
|
236
|
+
}, i = {
|
|
237
237
|
lighter: "#fff0",
|
|
238
238
|
light: "#fff0",
|
|
239
239
|
main: e.flameRed[40],
|
|
@@ -259,13 +259,13 @@ const e = {
|
|
|
259
259
|
50048: r("#919EAB", 0.48),
|
|
260
260
|
50056: r("#919EAB", 0.56),
|
|
261
261
|
50080: r("#919EAB", 0.8)
|
|
262
|
-
},
|
|
262
|
+
}, u = {
|
|
263
263
|
primary: a(t.light, t.main),
|
|
264
264
|
info: a(l.light, l.main),
|
|
265
265
|
success: a(o.light, o.main),
|
|
266
266
|
warning: a(n.light, n.main),
|
|
267
|
-
error: a(
|
|
268
|
-
},
|
|
267
|
+
error: a(i.light, i.main)
|
|
268
|
+
}, A = {
|
|
269
269
|
violet: ["#826AF9", "#9E86FF", "#D0AEFF", "#F7D2FF"],
|
|
270
270
|
blue: ["#2D99FF", "#83CFFF", "#A5F3FF", "#CCFAFF"],
|
|
271
271
|
green: ["#2CD9C5", "#60F1C8", "#A4F7CC", "#C0F2DC"],
|
|
@@ -283,39 +283,39 @@ const e = {
|
|
|
283
283
|
}, m = {
|
|
284
284
|
normal: e.middleYellow[60],
|
|
285
285
|
hover: e.middleYellow[70]
|
|
286
|
-
},
|
|
286
|
+
}, D = {
|
|
287
287
|
default: r(e.coolGrey[50], 0.24),
|
|
288
288
|
transition: r(e.coolGrey[50], 0.08)
|
|
289
|
-
},
|
|
289
|
+
}, h = {
|
|
290
290
|
info: { ...g },
|
|
291
291
|
success: { ...E },
|
|
292
292
|
error: { ...C },
|
|
293
293
|
warning: { ...m },
|
|
294
|
-
skeleton: { ...
|
|
295
|
-
},
|
|
294
|
+
skeleton: { ...D }
|
|
295
|
+
}, f = {
|
|
296
296
|
common: { black: "#000", white: "#fff" },
|
|
297
297
|
primary: { ...t },
|
|
298
298
|
state: {
|
|
299
|
-
...
|
|
299
|
+
...h
|
|
300
300
|
},
|
|
301
301
|
patronus: { ...e },
|
|
302
|
-
opacity: { ...
|
|
303
|
-
secondary: { ...
|
|
302
|
+
opacity: { ...c },
|
|
303
|
+
secondary: { ...d, contrastText: "#fff" },
|
|
304
304
|
info: { ...l, contrastText: "#fff" },
|
|
305
305
|
success: { ...o, contrastText: F[800] },
|
|
306
306
|
warning: { ...n, contrastText: F[800] },
|
|
307
|
-
error: { ...
|
|
307
|
+
error: { ...i, contrastText: "#fff" },
|
|
308
308
|
grey: F,
|
|
309
|
-
gradients:
|
|
310
|
-
chart:
|
|
309
|
+
gradients: u,
|
|
310
|
+
chart: A,
|
|
311
311
|
divider: F[50024],
|
|
312
312
|
action: {
|
|
313
313
|
hoverOpacity: 0.08,
|
|
314
314
|
disabledOpacity: 0.48
|
|
315
315
|
}
|
|
316
|
-
},
|
|
316
|
+
}, y = {
|
|
317
317
|
light: {
|
|
318
|
-
...
|
|
318
|
+
...f,
|
|
319
319
|
mode: "light",
|
|
320
320
|
text: {
|
|
321
321
|
primary: e.ashBlak[10],
|
|
@@ -324,14 +324,14 @@ const e = {
|
|
|
324
324
|
},
|
|
325
325
|
background: {
|
|
326
326
|
paper: "#fff0",
|
|
327
|
-
default: e.marbleLight[
|
|
328
|
-
neutral: e.marbleLight[
|
|
329
|
-
background: e.marbleLight[
|
|
327
|
+
default: e.marbleLight[20],
|
|
328
|
+
neutral: e.marbleLight[40],
|
|
329
|
+
background: e.marbleLight[60]
|
|
330
330
|
},
|
|
331
331
|
grid: { sectionHeader: "#F6F7F9", divider: "#EDEFF2", rowHover: "#FAFBFC" }
|
|
332
332
|
},
|
|
333
333
|
dark: {
|
|
334
|
-
...
|
|
334
|
+
...f,
|
|
335
335
|
mode: "dark",
|
|
336
336
|
text: {
|
|
337
337
|
primary: e.marbleLight[30],
|
|
@@ -349,6 +349,6 @@ const e = {
|
|
|
349
349
|
};
|
|
350
350
|
export {
|
|
351
351
|
e as P,
|
|
352
|
-
|
|
353
|
-
p
|
|
352
|
+
h as S,
|
|
353
|
+
y as p
|
|
354
354
|
};
|
package/theme/palette.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare type ColorSchema = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error';
|
|
2
|
-
export declare type PatronusColors = 'patronusBlue' | 'crayonBlue' | 'middleYellow' | 'acidGreen' | 'grassGreen' | '
|
|
3
|
-
export declare type PatronusOpacityColors = 'patronus' | 'turqui' | 'grass' | '
|
|
2
|
+
export declare type PatronusColors = 'patronusBlue' | 'crayonBlue' | 'middleYellow' | 'acidGreen' | 'grassGreen' | 'desertBeige' | 'turquiBlue' | 'blazeOrange' | 'flameRed' | 'coolGrey' | 'marbleLight' | 'ashBlak';
|
|
3
|
+
export declare type PatronusOpacityColors = 'patronus' | 'turqui' | 'grass' | 'desert' | 'blaze' | 'cool' | 'marbel';
|
|
4
4
|
export interface PatronusColorOptions {
|
|
5
5
|
10: string;
|
|
6
6
|
20: string;
|
|
@@ -133,7 +133,7 @@ export declare const palette: {
|
|
|
133
133
|
middleYellow: PatronusColorOptions;
|
|
134
134
|
acidGreen: PatronusColorOptions;
|
|
135
135
|
grassGreen: PatronusColorOptions;
|
|
136
|
-
|
|
136
|
+
desertBeige: PatronusColorOptions;
|
|
137
137
|
turquiBlue: PatronusColorOptions;
|
|
138
138
|
blazeOrange: PatronusColorOptions;
|
|
139
139
|
flameRed: PatronusColorOptions;
|
|
@@ -145,7 +145,7 @@ export declare const palette: {
|
|
|
145
145
|
patronus: PatronusOpacityOptions;
|
|
146
146
|
turqui: PatronusOpacityOptions;
|
|
147
147
|
grass: PatronusOpacityOptions;
|
|
148
|
-
|
|
148
|
+
desert: PatronusOpacityOptions;
|
|
149
149
|
blaze: PatronusOpacityOptions;
|
|
150
150
|
cool: PatronusOpacityOptions;
|
|
151
151
|
marbel: PatronusOpacityOptions;
|
|
@@ -292,7 +292,7 @@ export declare const palette: {
|
|
|
292
292
|
middleYellow: PatronusColorOptions;
|
|
293
293
|
acidGreen: PatronusColorOptions;
|
|
294
294
|
grassGreen: PatronusColorOptions;
|
|
295
|
-
|
|
295
|
+
desertBeige: PatronusColorOptions;
|
|
296
296
|
turquiBlue: PatronusColorOptions;
|
|
297
297
|
blazeOrange: PatronusColorOptions;
|
|
298
298
|
flameRed: PatronusColorOptions;
|
|
@@ -304,7 +304,7 @@ export declare const palette: {
|
|
|
304
304
|
patronus: PatronusOpacityOptions;
|
|
305
305
|
turqui: PatronusOpacityOptions;
|
|
306
306
|
grass: PatronusOpacityOptions;
|
|
307
|
-
|
|
307
|
+
desert: PatronusOpacityOptions;
|
|
308
308
|
blaze: PatronusOpacityOptions;
|
|
309
309
|
cool: PatronusOpacityOptions;
|
|
310
310
|
marbel: PatronusOpacityOptions;
|
|
@@ -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.ad96498c.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.82f91ceb.js";
|
|
4
4
|
import "@mui/system";
|
|
5
|
-
import "./defaultThemeOptions.
|
|
6
|
-
import "./shadows.
|
|
7
|
-
import "./palette.
|
|
5
|
+
import "./defaultThemeOptions.81e20130.js";
|
|
6
|
+
import "./shadows.c56e8ae9.js";
|
|
7
|
+
import "./palette.ad96498c.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/types.d.ts
CHANGED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { P as e } from "../theme/palette.ad96498c.js";
|
|
2
|
+
const r = [
|
|
3
|
+
{
|
|
4
|
+
name: "patronus",
|
|
5
|
+
lighter: e.patronusBlue[60],
|
|
6
|
+
light: e.patronusBlue[40],
|
|
7
|
+
main: e.patronusBlue[50],
|
|
8
|
+
dark: e.patronusBlue[30],
|
|
9
|
+
darker: e.patronusBlue[10],
|
|
10
|
+
contrastText: e.marbleLight[10]
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
name: "turqui",
|
|
14
|
+
lighter: e.turquiBlue[70],
|
|
15
|
+
light: e.turquiBlue[40],
|
|
16
|
+
main: e.turquiBlue[50],
|
|
17
|
+
dark: e.turquiBlue[30],
|
|
18
|
+
darker: e.turquiBlue[10],
|
|
19
|
+
contrastText: e.marbleLight[10]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
name: "grass",
|
|
23
|
+
lighter: e.grassGreen[70],
|
|
24
|
+
light: e.grassGreen[60],
|
|
25
|
+
main: e.grassGreen[50],
|
|
26
|
+
dark: e.grassGreen[40],
|
|
27
|
+
darker: e.grassGreen[10],
|
|
28
|
+
contrastText: e.marbleLight[10]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
name: "desert",
|
|
32
|
+
lighter: e.desertBeige[70],
|
|
33
|
+
light: e.desertBeige[60],
|
|
34
|
+
main: e.desertBeige[50],
|
|
35
|
+
dark: e.desertBeige[40],
|
|
36
|
+
darker: e.desertBeige[10],
|
|
37
|
+
contrastText: e.marbleLight[10]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: "blaze",
|
|
41
|
+
lighter: e.blazeOrange[70],
|
|
42
|
+
light: e.blazeOrange[60],
|
|
43
|
+
main: e.blazeOrange[50],
|
|
44
|
+
dark: e.blazeOrange[30],
|
|
45
|
+
darker: e.blazeOrange[10],
|
|
46
|
+
contrastText: e.marbleLight[10]
|
|
47
|
+
}
|
|
48
|
+
], t = r[0], s = r[1], n = r[2], l = r[3], u = r[4];
|
|
49
|
+
function o(a) {
|
|
50
|
+
try {
|
|
51
|
+
return {
|
|
52
|
+
patronus: t,
|
|
53
|
+
turqui: s,
|
|
54
|
+
grass: n,
|
|
55
|
+
desert: l,
|
|
56
|
+
blaze: u
|
|
57
|
+
}[a];
|
|
58
|
+
} catch {
|
|
59
|
+
}
|
|
60
|
+
return t;
|
|
61
|
+
}
|
|
62
|
+
export {
|
|
63
|
+
n as a,
|
|
64
|
+
l as b,
|
|
65
|
+
r as c,
|
|
66
|
+
t as d,
|
|
67
|
+
u as e,
|
|
68
|
+
o as g,
|
|
69
|
+
s as t
|
|
70
|
+
};
|