athameui 0.0.12 → 0.0.13
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/components/Carousel/Carousel.tsx +66 -36
- package/components/Layout/Main.tsx +11 -2
- package/components/Modal/Modal.tsx +2 -2
- package/dist/athameui.cjs +246 -245
- package/dist/athameui.cjs.map +1 -1
- package/dist/athameui.mjs +242 -230
- package/dist/athameui.mjs.map +1 -1
- package/dist/components/Carousel/Carousel.d.ts +2 -1
- package/dist/components/Carousel/Carousel.d.ts.map +1 -1
- package/dist/components/Layout/Main.d.ts +2 -1
- package/dist/components/Layout/Main.d.ts.map +1 -1
- package/dist/styles/components/carousel.css +8 -4
- package/dist/styles/components/form-input.css +2 -1
- package/dist/styles/components/main.css +17 -2
- package/dist/styles/index.d.ts +0 -1
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/index.ts +0 -1
- package/dist/styles/tokens.css +16 -17
- package/dist/styles/tokens.d.ts +209 -26
- package/dist/styles/tokens.d.ts.map +1 -1
- package/dist/styles/tokens.ts +190 -165
- package/package.json +1 -1
- package/styles/components/carousel.css +8 -4
- package/styles/components/form-input.css +2 -1
- package/styles/components/main.css +17 -2
- package/styles/index.ts +0 -1
- package/styles/tokens.css +16 -17
- package/styles/tokens.ts +190 -165
- package/dist/styles/breakpoints.d.ts +0 -29
- package/dist/styles/breakpoints.d.ts.map +0 -1
- package/dist/styles/breakpoints.ts +0 -34
- package/styles/breakpoints.ts +0 -34
package/dist/styles/tokens.ts
CHANGED
|
@@ -1,178 +1,203 @@
|
|
|
1
|
-
export const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
export const breakpoints = {
|
|
2
|
+
xs: 320,
|
|
3
|
+
sm: 480,
|
|
4
|
+
md: 620,
|
|
5
|
+
lg: 768,
|
|
6
|
+
xl: 896,
|
|
7
|
+
"2xl": 1024,
|
|
8
|
+
"3xl": 1280,
|
|
9
|
+
"4xl": 1536,
|
|
10
|
+
} as const;
|
|
11
|
+
|
|
12
|
+
export type Breakpoints = typeof breakpoints;
|
|
13
|
+
export type Breakpoint = keyof typeof breakpoints;
|
|
14
|
+
|
|
15
|
+
const minWidth = (width: number) => `@media (min-width: ${width}px)`;
|
|
16
|
+
const maxWidth = (width: number) => `@media (max-width: ${width - 1}px)`;
|
|
17
|
+
|
|
18
|
+
export const media = {
|
|
19
|
+
min: {
|
|
20
|
+
xs: minWidth(breakpoints.xs),
|
|
21
|
+
sm: minWidth(breakpoints.sm),
|
|
22
|
+
md: minWidth(breakpoints.md),
|
|
23
|
+
lg: minWidth(breakpoints.lg),
|
|
24
|
+
xl: minWidth(breakpoints.xl),
|
|
25
|
+
"2xl": minWidth(breakpoints["2xl"]),
|
|
26
|
+
"3xl": minWidth(breakpoints["3xl"]),
|
|
27
|
+
"4xl": minWidth(breakpoints["4xl"]),
|
|
18
28
|
},
|
|
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
|
-
"900": "#2b2216",
|
|
67
|
-
"default": "#bfa081",
|
|
68
|
-
vibrant: {
|
|
69
|
-
"300": "#f7c873",
|
|
70
|
-
"500": "#f39c12",
|
|
71
|
-
"700": "#c9780e"
|
|
72
|
-
}
|
|
29
|
+
max: {
|
|
30
|
+
xs: maxWidth(breakpoints.xs),
|
|
31
|
+
sm: maxWidth(breakpoints.sm),
|
|
32
|
+
md: maxWidth(breakpoints.md),
|
|
33
|
+
lg: maxWidth(breakpoints.lg),
|
|
34
|
+
xl: maxWidth(breakpoints.xl),
|
|
35
|
+
"2xl": maxWidth(breakpoints["2xl"]),
|
|
36
|
+
"3xl": maxWidth(breakpoints["3xl"]),
|
|
37
|
+
"4xl": maxWidth(breakpoints["4xl"]),
|
|
38
|
+
},
|
|
39
|
+
} as const;
|
|
40
|
+
|
|
41
|
+
export const font = {
|
|
42
|
+
family: {
|
|
43
|
+
sans: "Montserrat, sans-serif",
|
|
44
|
+
serif: "Libre Baskerville, serif",
|
|
45
|
+
},
|
|
46
|
+
size: {
|
|
47
|
+
xs: "0.75rem",
|
|
48
|
+
sm: "0.875rem",
|
|
49
|
+
md: "1rem",
|
|
50
|
+
lg: "1.25rem",
|
|
51
|
+
xl: "1.5rem",
|
|
52
|
+
"2xl": "2rem",
|
|
53
|
+
"3xl": "2.5rem",
|
|
54
|
+
"4xl": "3rem",
|
|
55
|
+
"5xl": "3.5rem",
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export const color = {
|
|
60
|
+
primary: {
|
|
61
|
+
"50": "#f0f2f5",
|
|
62
|
+
"100": "#d9dee6",
|
|
63
|
+
"200": "#b8c3d1",
|
|
64
|
+
"300": "#8a9bae",
|
|
65
|
+
"400": "#4a5f7a",
|
|
66
|
+
"500": "#0b1828",
|
|
67
|
+
"600": "#081320",
|
|
68
|
+
"700": "#060e18",
|
|
69
|
+
"800": "#04090f",
|
|
70
|
+
"900": "#020407",
|
|
71
|
+
default: "#0b1828",
|
|
72
|
+
vibrant: {
|
|
73
|
+
"300": "#8ab6ff",
|
|
74
|
+
"500": "#4f86f7",
|
|
75
|
+
"700": "#1e3a8a",
|
|
73
76
|
},
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
77
|
+
},
|
|
78
|
+
secondary: {
|
|
79
|
+
"50": "#e6f7f6",
|
|
80
|
+
"100": "#b3e8e5",
|
|
81
|
+
"200": "#80d9d4",
|
|
82
|
+
"300": "#4dcac3",
|
|
83
|
+
"400": "#2aa39b",
|
|
84
|
+
"500": "#146b68",
|
|
85
|
+
"600": "#125a57",
|
|
86
|
+
"700": "#0f4a47",
|
|
87
|
+
"800": "#0c3835",
|
|
88
|
+
"900": "#081f1c",
|
|
89
|
+
default: "#146b68",
|
|
90
|
+
vibrant: {
|
|
91
|
+
"300": "#75dac7",
|
|
92
|
+
"500": "#1abc9c",
|
|
93
|
+
"700": "#138f6e",
|
|
91
94
|
},
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
},
|
|
96
|
+
tertiary: {
|
|
97
|
+
"50": "#f7f4f0",
|
|
98
|
+
"100": "#eedecc",
|
|
99
|
+
"200": "#e5c8a8",
|
|
100
|
+
"300": "#dcb184",
|
|
101
|
+
"400": "#d19b60",
|
|
102
|
+
"500": "#bfa081",
|
|
103
|
+
"600": "#a68965",
|
|
104
|
+
"700": "#7d6748",
|
|
105
|
+
"800": "#54442c",
|
|
106
|
+
"900": "#2b2216",
|
|
107
|
+
default: "#bfa081",
|
|
108
|
+
vibrant: {
|
|
109
|
+
"300": "#f7c873",
|
|
98
110
|
"500": "#f39c12",
|
|
99
|
-
"
|
|
100
|
-
"700": "#925e0b",
|
|
101
|
-
"800": "#613e07",
|
|
102
|
-
"900": "#311f04",
|
|
103
|
-
"default": "#f39c12",
|
|
104
|
-
vibrant: {
|
|
105
|
-
"300": "#fce705",
|
|
106
|
-
"500": "#fbc306",
|
|
107
|
-
"700": "#f8950a"
|
|
108
|
-
}
|
|
111
|
+
"700": "#c9780e",
|
|
109
112
|
},
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
113
|
+
},
|
|
114
|
+
error: {
|
|
115
|
+
"50": "#fee6e6",
|
|
116
|
+
"100": "#fbb3b3",
|
|
117
|
+
"200": "#f88080",
|
|
118
|
+
"300": "#f54d4d",
|
|
119
|
+
"400": "#f21a1a",
|
|
120
|
+
"500": "#9f0001",
|
|
121
|
+
"600": "#800001",
|
|
122
|
+
"700": "#600001",
|
|
123
|
+
"800": "#400000",
|
|
124
|
+
"900": "#200000",
|
|
125
|
+
default: "#9f0001",
|
|
126
|
+
vibrant: {
|
|
127
|
+
"300": "#f48a6f",
|
|
128
|
+
"500": "#e74c3c",
|
|
129
|
+
"700": "#c0392b",
|
|
127
130
|
},
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
+
},
|
|
132
|
+
warning: {
|
|
133
|
+
"50": "#fef5ec",
|
|
134
|
+
"100": "#fdebda",
|
|
135
|
+
"200": "#fad8b3",
|
|
136
|
+
"300": "#f8c48c",
|
|
137
|
+
"400": "#f5b065",
|
|
138
|
+
"500": "#f39c12",
|
|
139
|
+
"600": "#c27d0e",
|
|
140
|
+
"700": "#925e0b",
|
|
141
|
+
"800": "#613e07",
|
|
142
|
+
"900": "#311f04",
|
|
143
|
+
default: "#f39c12",
|
|
144
|
+
vibrant: {
|
|
145
|
+
"300": "#fce705",
|
|
146
|
+
"500": "#fbc306",
|
|
147
|
+
"700": "#f8950a",
|
|
131
148
|
},
|
|
132
|
-
background: {
|
|
133
|
-
light: "#fcfbf7",
|
|
134
|
-
dark: "#040a0c"
|
|
135
|
-
}
|
|
136
149
|
},
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
150
|
+
success: {
|
|
151
|
+
"50": "#e8f5f2",
|
|
152
|
+
"100": "#d1ece4",
|
|
153
|
+
"200": "#a3d8ca",
|
|
154
|
+
"300": "#76c5af",
|
|
155
|
+
"400": "#48b195",
|
|
156
|
+
"500": "#1a9e7a",
|
|
157
|
+
"600": "#157e62",
|
|
158
|
+
"700": "#105f49",
|
|
159
|
+
"800": "#0a3f31",
|
|
160
|
+
"900": "#052018",
|
|
161
|
+
default: "#1a9e7a",
|
|
162
|
+
vibrant: {
|
|
163
|
+
"300": "#07e71f",
|
|
164
|
+
"500": "#08e27e",
|
|
165
|
+
"700": "#26b656",
|
|
166
|
+
},
|
|
143
167
|
},
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
168
|
+
text: {
|
|
169
|
+
dark: "#040a0c",
|
|
170
|
+
light: "#fcfbf7",
|
|
171
|
+
},
|
|
172
|
+
background: {
|
|
173
|
+
light: "#fcfbf7",
|
|
174
|
+
dark: "#040a0c",
|
|
148
175
|
},
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
sm: "@media (max-width: 479px)",
|
|
162
|
-
md: "@media (max-width: 767px)",
|
|
163
|
-
lg: "@media (max-width: 895px)",
|
|
164
|
-
xl: "@media (max-width: 1023px)",
|
|
165
|
-
"2xl": "@media (max-width: 1279px)",
|
|
166
|
-
"3xl": "@media (max-width: 1535px)"
|
|
167
|
-
}
|
|
168
|
-
}
|
|
176
|
+
};
|
|
177
|
+
export const padding = {
|
|
178
|
+
xs: "2px",
|
|
179
|
+
sm: "4px",
|
|
180
|
+
md: "6px",
|
|
181
|
+
lg: "10px",
|
|
182
|
+
xl: "16px",
|
|
183
|
+
};
|
|
184
|
+
export const radius = {
|
|
185
|
+
sm: "3px",
|
|
186
|
+
md: "5px",
|
|
187
|
+
lg: "8px",
|
|
169
188
|
};
|
|
170
189
|
|
|
171
|
-
export type
|
|
172
|
-
|
|
190
|
+
export type FontTokens = typeof font;
|
|
191
|
+
export type ColorTokens = typeof color;
|
|
192
|
+
export type PaddingTokens = typeof padding;
|
|
193
|
+
export type RadiusTokens = typeof radius;
|
|
194
|
+
export type MediaTokens = typeof media;
|
|
195
|
+
export type ScreenTokens = typeof breakpoints;
|
|
173
196
|
|
|
174
|
-
export
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
197
|
+
export const tokens = {
|
|
198
|
+
font,
|
|
199
|
+
color,
|
|
200
|
+
media,
|
|
201
|
+
padding,
|
|
202
|
+
radius,
|
|
203
|
+
};
|
package/package.json
CHANGED
|
@@ -3,16 +3,20 @@
|
|
|
3
3
|
@layer components {
|
|
4
4
|
.ath-carousel-wrapper {
|
|
5
5
|
position: relative;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
}
|
|
8
|
+
.ath-carousel-label {
|
|
9
|
+
margin-top: 1rem;
|
|
6
10
|
}
|
|
7
11
|
.ath-carousel {
|
|
8
|
-
display:
|
|
9
|
-
width: 100%;
|
|
10
|
-
min-width: 0;
|
|
11
|
-
max-width: 100%;
|
|
12
|
+
display: grid;
|
|
12
13
|
border: 5px solid var(--color-secondary-800);
|
|
13
14
|
border-radius: 10px;
|
|
14
15
|
padding: 10px;
|
|
15
16
|
overflow-x: auto;
|
|
17
|
+
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
18
|
+
grid-auto-flow: column;
|
|
19
|
+
grid-auto-columns: 200px;
|
|
16
20
|
gap: 10px;
|
|
17
21
|
scrollbar-width: none;
|
|
18
22
|
&::-webkit-scrollbar {
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
.ath-form-textarea {
|
|
59
59
|
margin-top: 3px;
|
|
60
60
|
font-size: inherit;
|
|
61
|
+
font-family: inherit;
|
|
61
62
|
line-height: 1.5;
|
|
62
63
|
padding: 0.75rem;
|
|
63
64
|
border: 1px solid var(--color-tertiary-500);
|
|
@@ -76,7 +77,7 @@
|
|
|
76
77
|
border-color: var(--color-primary-vibrant-500);
|
|
77
78
|
}
|
|
78
79
|
.ath-form-textarea::placeholder {
|
|
79
|
-
color: var(--color-
|
|
80
|
+
color: var(--color-primary-300);
|
|
80
81
|
}
|
|
81
82
|
.ath-form-textarea-auto-resize {
|
|
82
83
|
resize: none;
|
|
@@ -17,9 +17,24 @@
|
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
gap: 15px;
|
|
20
|
-
width: 100%;
|
|
21
20
|
margin-inline: auto;
|
|
22
|
-
max-width: 1200px;
|
|
23
21
|
padding: 0 15px;
|
|
22
|
+
width: 100%;
|
|
23
|
+
/* Default to `medium` if no width is provided */
|
|
24
|
+
&.full {
|
|
25
|
+
margin-inline: auto;
|
|
26
|
+
}
|
|
27
|
+
&.wide {
|
|
28
|
+
max-width: 1200px;
|
|
29
|
+
margin-inline: auto;
|
|
30
|
+
}
|
|
31
|
+
&.medium {
|
|
32
|
+
max-width: 768px;
|
|
33
|
+
margin-inline: auto;
|
|
34
|
+
}
|
|
35
|
+
&.narrow {
|
|
36
|
+
max-width: 480px;
|
|
37
|
+
margin-inline: auto;
|
|
38
|
+
}
|
|
24
39
|
}
|
|
25
40
|
}
|
package/styles/index.ts
CHANGED
package/styles/tokens.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* Generated from styles/tokens.ts. Edit that file, then run pnpm generate-tokens. */
|
|
2
2
|
:root {
|
|
3
3
|
--font-family-sans: "Montserrat", sans-serif;
|
|
4
4
|
--font-family-serif: "Libre Baskerville", serif;
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
--color-text-dark: #040a0c;
|
|
13
13
|
--color-text-light: #fcfbf7;
|
|
14
14
|
|
|
15
|
-
--color-background-light:
|
|
16
|
-
--color-background-dark:
|
|
15
|
+
--color-background-light: #fcfbf7;
|
|
16
|
+
--color-background-dark: #040a0c;
|
|
17
17
|
|
|
18
18
|
/* ----- Primary ----- */
|
|
19
19
|
--color-primary-50: #f0f2f5;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
--color-primary-200: #b8c3d1;
|
|
22
22
|
--color-primary-300: #8a9bae;
|
|
23
23
|
--color-primary-400: #4a5f7a;
|
|
24
|
-
--color-primary-500: #0b1828;
|
|
24
|
+
--color-primary-500: #0b1828;
|
|
25
25
|
--color-primary-600: #081320;
|
|
26
26
|
--color-primary-700: #060e18;
|
|
27
27
|
--color-primary-800: #04090f;
|
|
@@ -32,13 +32,12 @@
|
|
|
32
32
|
--color-primary-vibrant-700: #1e3a8a;
|
|
33
33
|
|
|
34
34
|
/* ----- Secondary ----- */
|
|
35
|
-
|
|
36
35
|
--color-secondary-50: #e6f7f6;
|
|
37
36
|
--color-secondary-100: #b3e8e5;
|
|
38
37
|
--color-secondary-200: #80d9d4;
|
|
39
38
|
--color-secondary-300: #4dcac3;
|
|
40
39
|
--color-secondary-400: #2aa39b;
|
|
41
|
-
--color-secondary-500: #146b68;
|
|
40
|
+
--color-secondary-500: #146b68;
|
|
42
41
|
--color-secondary-600: #125a57;
|
|
43
42
|
--color-secondary-700: #0f4a47;
|
|
44
43
|
--color-secondary-800: #0c3835;
|
|
@@ -54,7 +53,7 @@
|
|
|
54
53
|
--color-tertiary-200: #e5c8a8;
|
|
55
54
|
--color-tertiary-300: #dcb184;
|
|
56
55
|
--color-tertiary-400: #d19b60;
|
|
57
|
-
--color-tertiary-500: #bfa081;
|
|
56
|
+
--color-tertiary-500: #bfa081;
|
|
58
57
|
--color-tertiary-600: #a68965;
|
|
59
58
|
--color-tertiary-700: #7d6748;
|
|
60
59
|
--color-tertiary-800: #54442c;
|
|
@@ -70,7 +69,7 @@
|
|
|
70
69
|
--color-error-200: #f88080;
|
|
71
70
|
--color-error-300: #f54d4d;
|
|
72
71
|
--color-error-400: #f21a1a;
|
|
73
|
-
--color-error-500: #9f0001;
|
|
72
|
+
--color-error-500: #9f0001;
|
|
74
73
|
--color-error-600: #800001;
|
|
75
74
|
--color-error-700: #600001;
|
|
76
75
|
--color-error-800: #400000;
|
|
@@ -86,7 +85,7 @@
|
|
|
86
85
|
--color-warning-200: #fad8b3;
|
|
87
86
|
--color-warning-300: #f8c48c;
|
|
88
87
|
--color-warning-400: #f5b065;
|
|
89
|
-
--color-warning-500: #f39c12;
|
|
88
|
+
--color-warning-500: #f39c12;
|
|
90
89
|
--color-warning-600: #c27d0e;
|
|
91
90
|
--color-warning-700: #925e0b;
|
|
92
91
|
--color-warning-800: #613e07;
|
|
@@ -102,7 +101,7 @@
|
|
|
102
101
|
--color-success-200: #a3d8ca;
|
|
103
102
|
--color-success-300: #76c5af;
|
|
104
103
|
--color-success-400: #48b195;
|
|
105
|
-
--color-success-500: #1a9e7a;
|
|
104
|
+
--color-success-500: #1a9e7a;
|
|
106
105
|
--color-success-600: #157e62;
|
|
107
106
|
--color-success-700: #105f49;
|
|
108
107
|
--color-success-800: #0a3f31;
|
|
@@ -120,7 +119,6 @@
|
|
|
120
119
|
--padding-xl: 16px;
|
|
121
120
|
|
|
122
121
|
/* ----- Radius ----- */
|
|
123
|
-
|
|
124
122
|
--radius-sm: 3px;
|
|
125
123
|
--radius-md: 5px;
|
|
126
124
|
--radius-lg: 8px;
|
|
@@ -146,7 +144,6 @@
|
|
|
146
144
|
--screen-4xl: 1536;
|
|
147
145
|
|
|
148
146
|
/* ----- Media Queries ----- */
|
|
149
|
-
/* Only useful for CSS-in-JS media query handling */
|
|
150
147
|
--media-min-xs: @media (min-width: 320px);
|
|
151
148
|
--media-min-sm: @media (min-width: 480px);
|
|
152
149
|
--media-min-md: @media (min-width: 620px);
|
|
@@ -154,14 +151,16 @@
|
|
|
154
151
|
--media-min-xl: @media (min-width: 896px);
|
|
155
152
|
--media-min-2xl: @media (min-width: 1024px);
|
|
156
153
|
--media-min-3xl: @media (min-width: 1280px);
|
|
154
|
+
--media-min-4xl: @media (min-width: 1536px);
|
|
157
155
|
|
|
158
156
|
--media-max-xs: @media (max-width: 319px);
|
|
159
157
|
--media-max-sm: @media (max-width: 479px);
|
|
160
|
-
--media-max-md: @media (max-width:
|
|
161
|
-
--media-max-lg: @media (max-width:
|
|
162
|
-
--media-max-xl: @media (max-width:
|
|
163
|
-
--media-max-2xl: @media (max-width:
|
|
164
|
-
--media-max-3xl: @media (max-width:
|
|
158
|
+
--media-max-md: @media (max-width: 619px);
|
|
159
|
+
--media-max-lg: @media (max-width: 767px);
|
|
160
|
+
--media-max-xl: @media (max-width: 895px);
|
|
161
|
+
--media-max-2xl: @media (max-width: 1023px);
|
|
162
|
+
--media-max-3xl: @media (max-width: 1279px);
|
|
163
|
+
--media-max-4xl: @media (max-width: 1535px);
|
|
165
164
|
}
|
|
166
165
|
|
|
167
166
|
@layer base {
|