@m4l/styles 2.0.0 → 2.0.2
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 +42 -49
- package/package.json +1 -1
- package/theme/{defaultThemeOptions.cc70c82e.js → defaultThemeOptions-CNJ2UmWH.js} +5 -5
- package/theme/overrides/M4LExtendedComponents/{index.8f549882.js → index-CyXBfJc_.js} +379 -22
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +9 -1
- package/theme/overrides/M4LRHFComponents/{index.3599b255.js → index-DEvENvuH.js} +94 -8
- package/theme/overrides/MUIComponents/{index.5c43e3b5.js → index-oLVtA5nq.js} +48 -0
- package/theme/overrides/{index.3234140e.js → index-CuD-MKOg.js} +9 -3
- package/theme/{palette.287635f2.js → palette-CR1CkF2l.js} +1 -0
- package/theme/{shadows.e0c009ff.js → shadows-C9Ji2xrX.js} +4 -1
- package/theme/{typography.616cfe0c.js → typography-BsOO459U.js} +11 -1
- package/types/augmentations.d.ts +137 -137
- package/utils/{getColorPresets.a96a4046.js → getColorPresets-B12zVrZ8.js} +10 -1
- package/utils/{getColorState.7cbf2219.js → getColorState-CGc0yrt5.js} +13 -1
- package/utils/{getFontValue.88831637.js → getFontValue-BEO-XID9.js} +8 -5
- package/vite-env.d.ts +3 -3
- /package/{config.5405b46b.js → config-CoeBxEZB.js} +0 -0
- /package/theme/{index.34d0fdea.js → index-l0sNRNKZ.js} +0 -0
- /package/utils/{useResponsive.2c45e8e0.js → useResponsive-DaeQVwlH.js} +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { createTheme as i } from "@mui/material";
|
|
2
|
-
import { r as e, p as t } from "../utils/getFontValue.
|
|
2
|
+
import { r as e, p as t } from "../utils/getFontValue-BEO-XID9.js";
|
|
3
3
|
const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
4
4
|
...g.typography,
|
|
5
5
|
fontFamily: n,
|
|
6
6
|
fontWeightRegular: 400,
|
|
7
7
|
fontWeightMedium: 600,
|
|
8
8
|
fontWeightBold: 700,
|
|
9
|
+
/* Definindo en Patronus */
|
|
9
10
|
h1: {
|
|
10
11
|
fontWeight: 600,
|
|
11
12
|
lineHeight: 1.5,
|
|
@@ -16,6 +17,7 @@ const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
|
16
17
|
lineHeight: 1,
|
|
17
18
|
...e({ sm: 40, md: 40, lg: 40 })
|
|
18
19
|
},
|
|
20
|
+
/* Definindo en Patronus */
|
|
19
21
|
h3: {
|
|
20
22
|
fontWeight: 600,
|
|
21
23
|
lineHeight: 1.5,
|
|
@@ -26,6 +28,7 @@ const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
|
26
28
|
lineHeight: 1.5,
|
|
27
29
|
...e({ sm: 20, md: 20, lg: 20 })
|
|
28
30
|
},
|
|
31
|
+
/* Definindo en Patronus */
|
|
29
32
|
h5: {
|
|
30
33
|
fontWeight: 500,
|
|
31
34
|
lineHeight: "28px",
|
|
@@ -38,24 +41,28 @@ const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
|
38
41
|
letterSpacing: "-0.08em",
|
|
39
42
|
...e({ sm: 18, md: 18, lg: 18 })
|
|
40
43
|
},
|
|
44
|
+
/* Definindo en Patronus */
|
|
41
45
|
subtitle: {
|
|
42
46
|
fontWeight: 400,
|
|
43
47
|
lineHeight: "20px",
|
|
44
48
|
letterSpacing: "-0.006em",
|
|
45
49
|
...e({ sm: 15, md: 15, lg: 15 })
|
|
46
50
|
},
|
|
51
|
+
/* Definindo en Patronus */
|
|
47
52
|
subtitleDens: {
|
|
48
53
|
fontWeight: 600,
|
|
49
54
|
lineHeight: "24px",
|
|
50
55
|
letterSpacing: "-0.006em",
|
|
51
56
|
...e({ sm: 15, md: 15, lg: 15 })
|
|
52
57
|
},
|
|
58
|
+
/* Definindo en Patronus */
|
|
53
59
|
paragraph: {
|
|
54
60
|
fontWeight: 400,
|
|
55
61
|
lineHeight: "16px",
|
|
56
62
|
letterSpacing: "-0.003em",
|
|
57
63
|
...e({ sm: 13, md: 13, lg: 13 })
|
|
58
64
|
},
|
|
65
|
+
/* Definindo en Patronus */
|
|
59
66
|
paragraphDens: {
|
|
60
67
|
fontWeight: 600,
|
|
61
68
|
lineHeight: "20px",
|
|
@@ -72,11 +79,13 @@ const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
|
72
79
|
lineHeight: 1.5,
|
|
73
80
|
fontSize: t(12)
|
|
74
81
|
},
|
|
82
|
+
/* Definindo en Patronus */
|
|
75
83
|
body: {
|
|
76
84
|
fontWeight: 400,
|
|
77
85
|
lineHeight: "16px",
|
|
78
86
|
...e({ sm: 11, md: 11, lg: 11 })
|
|
79
87
|
},
|
|
88
|
+
/* Definindo en Patronus */
|
|
80
89
|
bodyDens: {
|
|
81
90
|
fontWeight: 600,
|
|
82
91
|
lineHeight: "16px",
|
|
@@ -113,6 +122,7 @@ const n = "Segoe UI, Poppins, sans-serif", g = i(), l = {
|
|
|
113
122
|
fontSize: t(14),
|
|
114
123
|
textTransform: "capitalize"
|
|
115
124
|
},
|
|
125
|
+
/* Definindo en Patronus */
|
|
116
126
|
action: {
|
|
117
127
|
fontWeight: 600,
|
|
118
128
|
lineHeight: "16px",
|
package/types/augmentations.d.ts
CHANGED
|
@@ -1,137 +1,137 @@
|
|
|
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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as r } from "../theme/palette.
|
|
1
|
+
import { P as r } from "../theme/palette-CR1CkF2l.js";
|
|
2
2
|
import { createTheme as s } from "@mui/material";
|
|
3
3
|
const e = s(), a = [
|
|
4
4
|
{
|
|
@@ -41,6 +41,15 @@ const e = s(), a = [
|
|
|
41
41
|
darker: r.brown[10],
|
|
42
42
|
contrastText: r.marbleLight[10]
|
|
43
43
|
},
|
|
44
|
+
/* {
|
|
45
|
+
name: 'desert',
|
|
46
|
+
lighter: PATRONUSCOLORS.desertBeige [70],
|
|
47
|
+
light: PATRONUSCOLORS.desertBeige [60],
|
|
48
|
+
main: PATRONUSCOLORS.desertBeige [50],
|
|
49
|
+
dark: PATRONUSCOLORS.desertBeige [40],
|
|
50
|
+
darker: PATRONUSCOLORS.desertBeige [10],
|
|
51
|
+
contrastText: PATRONUSCOLORS.marbleLight[10],
|
|
52
|
+
}, */
|
|
44
53
|
{
|
|
45
54
|
...e.palette.primary,
|
|
46
55
|
name: "blaze",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { alpha as a } from "@mui/system";
|
|
2
|
-
import { P as e, O as r, S as o } from "../theme/palette.
|
|
2
|
+
import { P as e, O as r, S as o } from "../theme/palette-CR1CkF2l.js";
|
|
3
3
|
const u = (l, d) => {
|
|
4
4
|
let t = {};
|
|
5
5
|
switch (l) {
|
|
@@ -13,6 +13,7 @@ const u = (l, d) => {
|
|
|
13
13
|
hoverDefault: r?.oxford[12],
|
|
14
14
|
default: r?.oxford[12],
|
|
15
15
|
borderDefault: e?.coolGrey[10],
|
|
16
|
+
//borderTop: PATRONUSCOLORS?.marbleLight[10],
|
|
16
17
|
lineTheme: r?.patronus[48],
|
|
17
18
|
borderPrimary: r?.oxford[24],
|
|
18
19
|
borderSecondary: r?.oxford[60],
|
|
@@ -31,6 +32,7 @@ const u = (l, d) => {
|
|
|
31
32
|
hoverDefault: r?.mint[36],
|
|
32
33
|
default: r?.mint[12],
|
|
33
34
|
borderDefault: e?.coolGrey[60],
|
|
35
|
+
//borderTop: alpha(PATRONUSCOLORS?.marbleLight[10], 0.04),
|
|
34
36
|
lineTheme: r?.patronus[48],
|
|
35
37
|
borderPrimary: r?.mint[48],
|
|
36
38
|
borderSecondary: r?.mint[36],
|
|
@@ -53,6 +55,7 @@ const u = (l, d) => {
|
|
|
53
55
|
hoverDefault: r?.oxford[12],
|
|
54
56
|
default: r?.oxford[12],
|
|
55
57
|
borderDefault: e?.coolGrey[10],
|
|
58
|
+
//borderTop: PATRONUSCOLORS?.marbleLight[10],
|
|
56
59
|
lineTheme: r?.turqui[48],
|
|
57
60
|
borderPrimary: r?.oxford[24],
|
|
58
61
|
borderSecondary: r?.oxford[60],
|
|
@@ -71,6 +74,7 @@ const u = (l, d) => {
|
|
|
71
74
|
hoverDefault: r?.mint[36],
|
|
72
75
|
default: r?.mint[12],
|
|
73
76
|
borderDefault: e?.coolGrey[60],
|
|
77
|
+
//borderTop: alpha(PATRONUSCOLORS?.marbleLight[10], 0.04),
|
|
74
78
|
lineTheme: r?.turqui[48],
|
|
75
79
|
borderPrimary: r?.mint[48],
|
|
76
80
|
borderSecondary: r?.mint[36],
|
|
@@ -93,6 +97,7 @@ const u = (l, d) => {
|
|
|
93
97
|
hoverDefault: r?.oxford[12],
|
|
94
98
|
default: r?.oxford[12],
|
|
95
99
|
borderDefault: e?.coolGrey[10],
|
|
100
|
+
//borderTop: PATRONUSCOLORS?.marbleLight[10],
|
|
96
101
|
lineTheme: r?.grass[48],
|
|
97
102
|
borderPrimary: r?.oxford[24],
|
|
98
103
|
borderSecondary: r?.oxford[60],
|
|
@@ -111,6 +116,7 @@ const u = (l, d) => {
|
|
|
111
116
|
hoverDefault: r?.mint[36],
|
|
112
117
|
default: r?.mint[12],
|
|
113
118
|
borderDefault: e?.coolGrey[60],
|
|
119
|
+
//borderTop: alpha(PATRONUSCOLORS?.marbleLight[10], 0.04),
|
|
114
120
|
lineTheme: r?.grass[48],
|
|
115
121
|
borderPrimary: r?.mint[48],
|
|
116
122
|
borderSecondary: r?.mint[36],
|
|
@@ -133,6 +139,7 @@ const u = (l, d) => {
|
|
|
133
139
|
hoverDefault: r?.oxford[12],
|
|
134
140
|
default: r?.oxford[12],
|
|
135
141
|
borderDefault: e?.coolGrey[10],
|
|
142
|
+
//borderTop: PATRONUSCOLORS?.marbleLight[10],
|
|
136
143
|
lineTheme: r?.brown[48],
|
|
137
144
|
borderPrimary: r?.oxford[24],
|
|
138
145
|
borderSecondary: r?.oxford[60],
|
|
@@ -151,6 +158,7 @@ const u = (l, d) => {
|
|
|
151
158
|
hoverDefault: r?.mint[36],
|
|
152
159
|
default: r?.mint[12],
|
|
153
160
|
borderDefault: e?.coolGrey[60],
|
|
161
|
+
//borderTop: alpha(PATRONUSCOLORS?.marbleLight[10], 0.04),
|
|
154
162
|
lineTheme: r?.brown[48],
|
|
155
163
|
borderPrimary: r?.mint[48],
|
|
156
164
|
borderSecondary: r?.mint[36],
|
|
@@ -173,6 +181,7 @@ const u = (l, d) => {
|
|
|
173
181
|
hoverDefault: r?.oxford[12],
|
|
174
182
|
default: r?.oxford[12],
|
|
175
183
|
borderDefault: e?.coolGrey[10],
|
|
184
|
+
//borderTop: PATRONUSCOLORS?.marbleLight[10],
|
|
176
185
|
lineTheme: r?.orange[48],
|
|
177
186
|
borderPrimary: r?.oxford[24],
|
|
178
187
|
borderSecondary: r?.oxford[60],
|
|
@@ -191,6 +200,7 @@ const u = (l, d) => {
|
|
|
191
200
|
hoverDefault: r?.mint[36],
|
|
192
201
|
default: r?.mint[12],
|
|
193
202
|
borderDefault: e?.coolGrey[60],
|
|
203
|
+
//borderTop: alpha(PATRONUSCOLORS?.marbleLight[10], 0.04),
|
|
194
204
|
lineTheme: r?.orange[48],
|
|
195
205
|
borderPrimary: r?.mint[48],
|
|
196
206
|
borderSecondary: r?.mint[36],
|
|
@@ -213,6 +223,7 @@ const u = (l, d) => {
|
|
|
213
223
|
hoverDefault: r?.oxford[12],
|
|
214
224
|
default: r?.oxford[12],
|
|
215
225
|
borderDefault: e?.coolGrey[10],
|
|
226
|
+
//borderTop: PATRONUSCOLORS?.marbleLight[10],
|
|
216
227
|
lineTheme: r?.patronus[48],
|
|
217
228
|
borderPrimary: r?.oxford[24],
|
|
218
229
|
borderSecondary: r?.oxford[60],
|
|
@@ -231,6 +242,7 @@ const u = (l, d) => {
|
|
|
231
242
|
hoverDefault: r?.mint[36],
|
|
232
243
|
default: r?.mint[12],
|
|
233
244
|
borderDefault: e?.coolGrey[60],
|
|
245
|
+
//borderTop: alpha(PATRONUSCOLORS?.marbleLight[10], 0.04),
|
|
234
246
|
lineTheme: r?.patronus[48],
|
|
235
247
|
borderPrimary: r?.mint[48],
|
|
236
248
|
borderSecondary: r?.mint[36],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTheme as h } from "@mui/material/styles";
|
|
2
|
-
import { u as m } from "./useResponsive.
|
|
2
|
+
import { u as m } from "./useResponsive-DaeQVwlH.js";
|
|
3
3
|
function f(e) {
|
|
4
4
|
return Math.round(parseFloat(e) * 16);
|
|
5
5
|
}
|
|
@@ -20,10 +20,13 @@ function l({ sm: e, md: t, lg: o }) {
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
function g() {
|
|
23
|
-
return
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
return (
|
|
24
|
+
// @ts-ignore not sure what is this
|
|
25
|
+
[...h().breakpoints.keys].reverse().reduce((o, n) => {
|
|
26
|
+
const s = m("up", n);
|
|
27
|
+
return !o && s ? n : o;
|
|
28
|
+
}, null) || "xs"
|
|
29
|
+
);
|
|
27
30
|
}
|
|
28
31
|
function S(e) {
|
|
29
32
|
const t = h(), o = g(), n = t.breakpoints.up(o === "xl" ? "lg" : o), i = (e === "h1" || e === "h2" || e === "h3" || e === "h4" || e === "h5" || e === "h6") && t.typography[e][n] ? t.typography[e][n] : t.typography[e], p = f(i.fontSize), r = Number(t.typography[e].lineHeight) * p, { fontWeight: u, letterSpacing: c } = t.typography[e];
|
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" />
|
|
File without changes
|
|
File without changes
|
|
File without changes
|