@m4l/styles 1.0.8 → 2.0.0
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 +46 -46
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.d580f3ec.js → defaultThemeOptions.cc70c82e.js} +5 -8
- package/theme/index.34d0fdea.js +1 -0
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +0 -122
- package/theme/overrides/M4LExtendedComponents/{index.8c011674.js → index.8f549882.js} +114 -320
- package/theme/overrides/{index.781cfe02.js → index.3234140e.js} +13 -14
- package/theme/{typography.947dc33f.js → typography.616cfe0c.js} +24 -31
- package/types/augmentations.d.ts +137 -144
- package/types/index.d.ts +1 -1
- package/types/types.d.ts +29 -24
- package/utils/{getColorState.18b61422.js → getColorState.7cbf2219.js} +4 -9
- package/vite-env.d.ts +3 -3
- package/theme/index.16e25179.js +0 -7
- package/theme/overrides/M4LExtendedComponents/M4LToastContainer.d.ts +0 -79
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { F as s, C as o, M as r, L, I as M, a as n, R as i, B as p, b as l, T as c, P as d, S as u, c as g, d as B, A as F, e as P, D as
|
|
1
|
+
import { F as s, C as o, M as r, L, I as M, a as n, R as i, B as p, b as l, T as c, P as d, S as u, c as g, d as B, A as F, e as P, D as A, f as T, g as b, h as C, i as S, j as y, k as I, l as R, m as v, n as H, o as k, p as D, q as f, r as x, s as w, t as G, u as V, v as j, w as E, x as N, y as O, z as q } from "./MUIComponents/index.5c43e3b5.js";
|
|
2
2
|
import { M as z, a as U, b as J, c as K, d as Q, e as W, f as X, g as Y, h as Z } from "./M4LRHFComponents/index.3599b255.js";
|
|
3
|
-
import { M as _, a as $, b as t, c as m, d as e, e as h, f as aa, g as sa, h as oa, i as ra, j as La, k as Ma, l as na, m as ia, n as pa, o as la, p as ca, q as da, r as ua, s as ga, t as Ba, u as Fa, v as Pa, w as
|
|
4
|
-
function
|
|
3
|
+
import { M as _, a as $, b as t, c as m, d as e, e as h, f as aa, g as sa, h as oa, i as ra, j as La, k as Ma, l as na, m as ia, n as pa, o as la, p as ca, q as da, r as ua, s as ga, t as Ba, u as Fa, v as Pa, w as Aa, x as Ta, y as ba, z as Ca, A as Sa, B as ya, C as Ia, D as Ra, E as va, F as Ha, G as ka, H as Da, I as fa, J as xa, K as wa, L as Ga, N as Va, O as ja, P as Ea, Q as Na, R as Oa, S as qa, T as za, U as Ua, V as Ja, W as Ka, X as Qa, Y as Wa, Z as Xa, _ as Ya } from "./M4LExtendedComponents/index.8f549882.js";
|
|
4
|
+
function ta(a) {
|
|
5
5
|
return Object.assign(
|
|
6
6
|
s(a),
|
|
7
7
|
o(a),
|
|
@@ -19,8 +19,8 @@ function ma(a) {
|
|
|
19
19
|
B(a),
|
|
20
20
|
F(a),
|
|
21
21
|
P(a),
|
|
22
|
-
T(a),
|
|
23
22
|
A(a),
|
|
23
|
+
T(a),
|
|
24
24
|
b(a),
|
|
25
25
|
C(),
|
|
26
26
|
S(),
|
|
@@ -72,8 +72,8 @@ function ma(a) {
|
|
|
72
72
|
Ba(),
|
|
73
73
|
Fa(a),
|
|
74
74
|
Pa(a),
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
Aa(),
|
|
76
|
+
Ta(a),
|
|
77
77
|
ba(a),
|
|
78
78
|
Ca(a),
|
|
79
79
|
Sa(a),
|
|
@@ -95,17 +95,16 @@ function ma(a) {
|
|
|
95
95
|
Oa(a),
|
|
96
96
|
qa(),
|
|
97
97
|
Z(a),
|
|
98
|
-
za(
|
|
99
|
-
Ua(),
|
|
98
|
+
za(),
|
|
99
|
+
Ua(a),
|
|
100
100
|
Ja(a),
|
|
101
101
|
Ka(a),
|
|
102
|
-
Qa(
|
|
103
|
-
Wa(),
|
|
104
|
-
Xa(
|
|
105
|
-
Ya()
|
|
106
|
-
Za(a)
|
|
102
|
+
Qa(),
|
|
103
|
+
Wa(a),
|
|
104
|
+
Xa(),
|
|
105
|
+
Ya(a)
|
|
107
106
|
);
|
|
108
107
|
}
|
|
109
108
|
export {
|
|
110
|
-
|
|
109
|
+
ta as f
|
|
111
110
|
};
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
import { createTheme as i } from "@mui/material";
|
|
2
|
-
import "
|
|
3
|
-
|
|
4
|
-
import "../utils/getColorPresets.a96a4046.js";
|
|
5
|
-
import "@mui/system";
|
|
6
|
-
import "./defaultThemeOptions.d580f3ec.js";
|
|
7
|
-
import "./shadows.e0c009ff.js";
|
|
8
|
-
import "./palette.287635f2.js";
|
|
9
|
-
import { r as t, p as e } from "../utils/getFontValue.88831637.js";
|
|
10
|
-
const n = "Segoe UI, Poppins, sans-serif", g = i(), W = {
|
|
2
|
+
import { r as e, p as t } from "../utils/getFontValue.88831637.js";
|
|
3
|
+
const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
11
4
|
...g.typography,
|
|
12
5
|
fontFamily: n,
|
|
13
6
|
fontWeightRegular: 400,
|
|
@@ -16,116 +9,116 @@ const n = "Segoe UI, Poppins, sans-serif", g = i(), W = {
|
|
|
16
9
|
h1: {
|
|
17
10
|
fontWeight: 600,
|
|
18
11
|
lineHeight: 1.5,
|
|
19
|
-
...
|
|
12
|
+
...e({ sm: 38, md: 38, lg: 38 })
|
|
20
13
|
},
|
|
21
14
|
h2: {
|
|
22
15
|
fontWeight: 600,
|
|
23
16
|
lineHeight: 1,
|
|
24
|
-
...
|
|
17
|
+
...e({ sm: 40, md: 40, lg: 40 })
|
|
25
18
|
},
|
|
26
19
|
h3: {
|
|
27
20
|
fontWeight: 600,
|
|
28
21
|
lineHeight: 1.5,
|
|
29
|
-
...
|
|
22
|
+
...e({ sm: 30, md: 30, lg: 30 })
|
|
30
23
|
},
|
|
31
24
|
h4: {
|
|
32
25
|
fontWeight: 600,
|
|
33
26
|
lineHeight: 1.5,
|
|
34
|
-
...
|
|
27
|
+
...e({ sm: 20, md: 20, lg: 20 })
|
|
35
28
|
},
|
|
36
29
|
h5: {
|
|
37
30
|
fontWeight: 500,
|
|
38
31
|
lineHeight: "28px",
|
|
39
32
|
letterSpacing: "-0.01em",
|
|
40
|
-
...
|
|
33
|
+
...e({ sm: 22, md: 22, lg: 22 })
|
|
41
34
|
},
|
|
42
35
|
h6: {
|
|
43
36
|
fontWeight: 500,
|
|
44
37
|
lineHeight: "24px",
|
|
45
38
|
letterSpacing: "-0.08em",
|
|
46
|
-
...
|
|
39
|
+
...e({ sm: 18, md: 18, lg: 18 })
|
|
47
40
|
},
|
|
48
41
|
subtitle: {
|
|
49
42
|
fontWeight: 400,
|
|
50
43
|
lineHeight: "20px",
|
|
51
44
|
letterSpacing: "-0.006em",
|
|
52
|
-
...
|
|
45
|
+
...e({ sm: 15, md: 15, lg: 15 })
|
|
53
46
|
},
|
|
54
47
|
subtitleDens: {
|
|
55
48
|
fontWeight: 600,
|
|
56
49
|
lineHeight: "24px",
|
|
57
50
|
letterSpacing: "-0.006em",
|
|
58
|
-
...
|
|
51
|
+
...e({ sm: 15, md: 15, lg: 15 })
|
|
59
52
|
},
|
|
60
53
|
paragraph: {
|
|
61
54
|
fontWeight: 400,
|
|
62
55
|
lineHeight: "16px",
|
|
63
56
|
letterSpacing: "-0.003em",
|
|
64
|
-
...
|
|
57
|
+
...e({ sm: 13, md: 13, lg: 13 })
|
|
65
58
|
},
|
|
66
59
|
paragraphDens: {
|
|
67
60
|
fontWeight: 600,
|
|
68
61
|
lineHeight: "20px",
|
|
69
62
|
letterSpacing: "-0.003em",
|
|
70
|
-
...
|
|
63
|
+
...e({ sm: 13, md: 13, lg: 13 })
|
|
71
64
|
},
|
|
72
65
|
subtitle1: {
|
|
73
66
|
fontWeight: 600,
|
|
74
67
|
lineHeight: 1.5,
|
|
75
|
-
fontSize:
|
|
68
|
+
fontSize: t(14)
|
|
76
69
|
},
|
|
77
70
|
subtitle2: {
|
|
78
71
|
fontWeight: 600,
|
|
79
72
|
lineHeight: 1.5,
|
|
80
|
-
fontSize:
|
|
73
|
+
fontSize: t(12)
|
|
81
74
|
},
|
|
82
75
|
body: {
|
|
83
76
|
fontWeight: 400,
|
|
84
77
|
lineHeight: "16px",
|
|
85
|
-
...
|
|
78
|
+
...e({ sm: 11, md: 11, lg: 11 })
|
|
86
79
|
},
|
|
87
80
|
bodyDens: {
|
|
88
81
|
fontWeight: 600,
|
|
89
82
|
lineHeight: "16px",
|
|
90
|
-
...
|
|
83
|
+
...e({ sm: 11, md: 11, lg: 11 })
|
|
91
84
|
},
|
|
92
85
|
body0: {
|
|
93
86
|
lineHeight: 1.5,
|
|
94
87
|
fontWeight: 400,
|
|
95
|
-
fontSize:
|
|
88
|
+
fontSize: t(16)
|
|
96
89
|
},
|
|
97
90
|
body1: {
|
|
98
91
|
lineHeight: 1.5,
|
|
99
92
|
fontWeight: 400,
|
|
100
|
-
fontSize:
|
|
93
|
+
fontSize: t(14)
|
|
101
94
|
},
|
|
102
95
|
body2: {
|
|
103
96
|
lineHeight: 1.5,
|
|
104
97
|
fontWeight: 400,
|
|
105
|
-
fontSize:
|
|
98
|
+
fontSize: t(12)
|
|
106
99
|
},
|
|
107
100
|
caption: {
|
|
108
101
|
lineHeight: 1.5,
|
|
109
|
-
fontSize:
|
|
102
|
+
fontSize: t(11)
|
|
110
103
|
},
|
|
111
104
|
overline: {
|
|
112
105
|
fontWeight: 700,
|
|
113
106
|
lineHeight: 1.5,
|
|
114
|
-
fontSize:
|
|
107
|
+
fontSize: t(12),
|
|
115
108
|
textTransform: "uppercase"
|
|
116
109
|
},
|
|
117
110
|
button: {
|
|
118
111
|
fontWeight: 700,
|
|
119
112
|
lineHeight: 24 / 14,
|
|
120
|
-
fontSize:
|
|
113
|
+
fontSize: t(14),
|
|
121
114
|
textTransform: "capitalize"
|
|
122
115
|
},
|
|
123
116
|
action: {
|
|
124
117
|
fontWeight: 600,
|
|
125
118
|
lineHeight: "16px",
|
|
126
|
-
...
|
|
119
|
+
...e({ sm: 12, md: 12, lg: 12 })
|
|
127
120
|
}
|
|
128
121
|
};
|
|
129
122
|
export {
|
|
130
|
-
|
|
123
|
+
l as t
|
|
131
124
|
};
|
package/types/augmentations.d.ts
CHANGED
|
@@ -1,144 +1,137 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
//
|
|
28
|
-
//
|
|
29
|
-
//
|
|
30
|
-
//
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
paragraph: true;
|
|
139
|
-
paragraphDens: true;
|
|
140
|
-
body: true;
|
|
141
|
-
bodyDens: true;
|
|
142
|
-
action: true;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
1
|
+
import {
|
|
2
|
+
PatronusConstantColors,
|
|
3
|
+
PatronusOpacityColors,
|
|
4
|
+
PatronusOpacityOptions,
|
|
5
|
+
} from '../theme/palette';
|
|
6
|
+
import { ColorStateOptions, CustomShadowOptions } from '../theme';
|
|
7
|
+
import { ChartPaletteOptions, GradientsPaletteOptions, GridPaletteOptions } from './types';
|
|
8
|
+
import { Breakpoints } from '@mui/material';
|
|
9
|
+
import { CssVarsTheme } from '@mui/material/styles';
|
|
10
|
+
|
|
11
|
+
declare module '@mui/material' {
|
|
12
|
+
interface Color {
|
|
13
|
+
0: string;
|
|
14
|
+
500_8: string;
|
|
15
|
+
500_12: string;
|
|
16
|
+
500_16: string;
|
|
17
|
+
500_24: string;
|
|
18
|
+
500_32: string;
|
|
19
|
+
500_48: string;
|
|
20
|
+
500_56: string;
|
|
21
|
+
500_80: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare module '@mui/material/styles/createPalette' {}
|
|
26
|
+
|
|
27
|
+
// declare module '@mui/core/Typography' {
|
|
28
|
+
// interface TypographyProps {
|
|
29
|
+
// variant?: 'subtitle';
|
|
30
|
+
// }
|
|
31
|
+
// }
|
|
32
|
+
|
|
33
|
+
declare module '@mui/material/styles' {
|
|
34
|
+
interface SimplePaletteColorOptions {
|
|
35
|
+
lighter?: string;
|
|
36
|
+
darker?: string;
|
|
37
|
+
LightSelected?: string;
|
|
38
|
+
LightSelectedHover?: string;
|
|
39
|
+
DarkSelected?: string;
|
|
40
|
+
DarkSelectedHover?: string;
|
|
41
|
+
}
|
|
42
|
+
interface PaletteColor {
|
|
43
|
+
lighter?: string;
|
|
44
|
+
darker?: string;
|
|
45
|
+
LightSelected?: string;
|
|
46
|
+
LightSelectedHover?: string;
|
|
47
|
+
DarkSelected?: string;
|
|
48
|
+
DarkSelectedHover?: string;
|
|
49
|
+
opacity?: string;
|
|
50
|
+
name?: string;
|
|
51
|
+
}
|
|
52
|
+
interface Palette {
|
|
53
|
+
gradients?: GradientsPaletteOptions;
|
|
54
|
+
chart: ChartPaletteOptions;
|
|
55
|
+
grid?: GridPaletteOptions;
|
|
56
|
+
patronus?: PatronusConstantColors;
|
|
57
|
+
opacity: Record<PatronusOpacityColors, PatronusOpacityOptions>;
|
|
58
|
+
state: ColorStateOptions /* Organizar cada caso con los valores específicos. */;
|
|
59
|
+
representative: string;
|
|
60
|
+
mode: 'light' | 'dark';
|
|
61
|
+
/* info: AgumentationInfoOptions; */
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
interface TypeText {
|
|
65
|
+
bgPrimary: string;
|
|
66
|
+
}
|
|
67
|
+
interface PaletteOptions {
|
|
68
|
+
gradients?: GradientsPaletteOptions;
|
|
69
|
+
chart?: ChartPaletteOptions;
|
|
70
|
+
grid?: GridPaletteOptions;
|
|
71
|
+
patronus?: PatronusConstantColors;
|
|
72
|
+
opacity: Record<PatronusOpacityColors, PatronusOpacityOptions>;
|
|
73
|
+
state: ColorStateOptions /* Organizar cada caso con los valores específicos. */;
|
|
74
|
+
representative: string;
|
|
75
|
+
mode: 'light' | 'dark';
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
interface ColorSchemeOverrides {
|
|
79
|
+
finalTheme?: true;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
interface Theme extends CssVarsTheme {
|
|
83
|
+
stretch: boolean;
|
|
84
|
+
customShadows: CustomShadowOptions;
|
|
85
|
+
breakpoints: Breakpoints;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
interface ThemeVars {
|
|
89
|
+
customShadows: CustomShadowOptions;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
interface ColorSystem {
|
|
93
|
+
typography: TypographyVariants;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
interface TypeBackground {
|
|
97
|
+
neutral: string;
|
|
98
|
+
autofill: string;
|
|
99
|
+
header: string;
|
|
100
|
+
background: string;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
declare module '@mui/material/styles' {
|
|
105
|
+
interface TypographyVariants {
|
|
106
|
+
subtitle: Record<string, any>;
|
|
107
|
+
subtitleDens: Record<string, any>;
|
|
108
|
+
paragraph: Record<string, any>;
|
|
109
|
+
paragraphDens: Record<string, any>;
|
|
110
|
+
body: Record<string, any>;
|
|
111
|
+
bodyDens: Record<string, any>;
|
|
112
|
+
action: Record<string, any>;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// allow configuration using `createTheme`
|
|
116
|
+
interface TypographyVariantsOptions {
|
|
117
|
+
subtitle: React.CSSProperties;
|
|
118
|
+
subtitleDens: React.CSSProperties;
|
|
119
|
+
paragraph: React.CSSProperties;
|
|
120
|
+
paragraphDens: React.CSSProperties;
|
|
121
|
+
body: React.CSSProperties;
|
|
122
|
+
bodyDens: React.CSSProperties;
|
|
123
|
+
action: React.CSSProperties;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
declare module '@mui/material/Typography' {
|
|
128
|
+
interface TypographyPropsVariantOverrides {
|
|
129
|
+
subtitle: true;
|
|
130
|
+
subtitleDens: true;
|
|
131
|
+
paragraph: true;
|
|
132
|
+
paragraphDens: true;
|
|
133
|
+
body: true;
|
|
134
|
+
bodyDens: true;
|
|
135
|
+
action: true;
|
|
136
|
+
}
|
|
137
|
+
}
|
package/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './types
|
|
1
|
+
export * from './types';
|
|
2
2
|
export * from './augmentations.d';
|
package/types/types.d.ts
CHANGED
|
@@ -1,24 +1,29 @@
|
|
|
1
|
-
export declare type ThemeColorPresets = 'patronus' | 'turqui' | 'grass' | 'brown' | 'blaze';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
export declare type ThemeColorPresets = 'patronus' | 'turqui' | 'grass' | 'brown' | 'blaze';
|
|
2
|
+
export interface GridPaletteOptions {
|
|
3
|
+
sectionHeader: string;
|
|
4
|
+
rowHover: string;
|
|
5
|
+
divider: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ChartPaletteOptions {
|
|
8
|
+
violet: string[];
|
|
9
|
+
blue: string[];
|
|
10
|
+
green: string[];
|
|
11
|
+
yellow: string[];
|
|
12
|
+
red: string[];
|
|
13
|
+
}
|
|
14
|
+
export interface GradientsPaletteOptions {
|
|
15
|
+
primary: string;
|
|
16
|
+
info: string;
|
|
17
|
+
success: string;
|
|
18
|
+
warning: string;
|
|
19
|
+
error: string;
|
|
20
|
+
}
|
|
21
|
+
export declare type ColorVariants = {
|
|
22
|
+
name: string;
|
|
23
|
+
lighter: string;
|
|
24
|
+
light: string;
|
|
25
|
+
main: string;
|
|
26
|
+
dark: string;
|
|
27
|
+
darker: string;
|
|
28
|
+
contrastText: string;
|
|
29
|
+
};
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import { alpha as a } from "@mui/system";
|
|
2
|
-
import "../theme/defaultThemeOptions.d580f3ec.js";
|
|
3
|
-
import "../theme/shadows.e0c009ff.js";
|
|
4
2
|
import { P as e, O as r, S as o } from "../theme/palette.287635f2.js";
|
|
5
|
-
|
|
6
|
-
import "@mui/material";
|
|
7
|
-
import "@mui/material/styles";
|
|
8
|
-
const m = (i, l) => {
|
|
3
|
+
const u = (l, d) => {
|
|
9
4
|
let t = {};
|
|
10
|
-
switch (
|
|
5
|
+
switch (l) {
|
|
11
6
|
case "patronus":
|
|
12
7
|
t = {
|
|
13
8
|
light: {
|
|
@@ -249,8 +244,8 @@ const m = (i, l) => {
|
|
|
249
244
|
};
|
|
250
245
|
break;
|
|
251
246
|
}
|
|
252
|
-
return
|
|
247
|
+
return d === "light" ? { ...t.light } : { ...t.dark };
|
|
253
248
|
};
|
|
254
249
|
export {
|
|
255
|
-
|
|
250
|
+
u as g
|
|
256
251
|
};
|
package/vite-env.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
2
|
-
/// <reference types="vitest" />
|
|
3
|
-
/// <reference types="vitest/importMeta" />
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
/// <reference types="vitest" />
|
|
3
|
+
/// <reference types="vitest/importMeta" />
|
package/theme/index.16e25179.js
DELETED