@ndla/preset-panda 0.0.1
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/LICENSE +674 -0
- package/dist/panda.buildinfo.json +7 -0
- package/dist/styles.css +687 -0
- package/es/animations.js +227 -0
- package/es/boxShadows.js +26 -0
- package/es/breakpoints.js +17 -0
- package/es/colors.js +242 -0
- package/es/conditions.js +12 -0
- package/es/globalCss.js +76 -0
- package/es/index.js +46 -0
- package/es/radii.js +29 -0
- package/es/semanticTokens.js +413 -0
- package/es/spacing.js +137 -0
- package/es/typography.js +247 -0
- package/es/zIndex.js +47 -0
- package/lib/animations.d.ts +225 -0
- package/lib/animations.js +233 -0
- package/lib/boxShadows.d.ts +24 -0
- package/lib/boxShadows.js +32 -0
- package/lib/breakpoints.d.ts +16 -0
- package/lib/breakpoints.js +23 -0
- package/lib/colors.d.ts +240 -0
- package/lib/colors.js +248 -0
- package/lib/conditions.d.ts +11 -0
- package/lib/conditions.js +18 -0
- package/lib/globalCss.d.ts +8 -0
- package/lib/globalCss.js +82 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.js +52 -0
- package/lib/radii.d.ts +27 -0
- package/lib/radii.js +35 -0
- package/lib/semanticTokens.d.ts +411 -0
- package/lib/semanticTokens.js +419 -0
- package/lib/spacing.d.ts +135 -0
- package/lib/spacing.js +143 -0
- package/lib/typography.d.ts +91 -0
- package/lib/typography.js +253 -0
- package/lib/zIndex.d.ts +45 -0
- package/lib/zIndex.js +53 -0
- package/package.json +39 -0
package/dist/styles.css
ADDED
|
@@ -0,0 +1,687 @@
|
|
|
1
|
+
@layer reset, base, tokens, recipes, utilities;
|
|
2
|
+
|
|
3
|
+
@layer base{
|
|
4
|
+
:root {
|
|
5
|
+
--made-with-panda: '🐼';
|
|
6
|
+
--global-font-body: var(--fonts-sans);
|
|
7
|
+
--global-font-mono: var(--fonts-code);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
html {
|
|
11
|
+
min-height: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
body {
|
|
15
|
+
background: var(--colors-background-default);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
a,summary,[tabindex]:not([tabindex='-1']) {
|
|
19
|
+
outline: 2px solid transparent;
|
|
20
|
+
outline-offset: 2px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
a:is(:focus-visible, [data-focus-visible]),summary:is(:focus-visible, [data-focus-visible]),[tabindex]:not([tabindex='-1']):is(:focus-visible, [data-focus-visible]) {
|
|
24
|
+
outline: 3px;
|
|
25
|
+
border-radius: var(--radii-xsmall);
|
|
26
|
+
outline-offset: 3px;
|
|
27
|
+
outline-color: var(--colors-stroke-default);
|
|
28
|
+
outline-style: solid;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
code {
|
|
32
|
+
background: var(--colors-background-subtle);
|
|
33
|
+
white-space: pre-wrap;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
h1:not([class]) {
|
|
37
|
+
margin: 24px 0 12px 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
h2:not([class]) {
|
|
41
|
+
margin: 48px 0 12px 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
h3:not([class]),h4:not([class]),h5:not([class]) {
|
|
45
|
+
margin: 36px 0 6px 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
p:not([class]) {
|
|
49
|
+
margin-bottom: 24px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
blockquote:not([class]) {
|
|
53
|
+
margin: 30px 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
h1 {
|
|
57
|
+
font-family: var(--fonts-sans);
|
|
58
|
+
font-weight: var(--font-weights-bold);
|
|
59
|
+
font-size: var(--font-sizes-3xlarge);
|
|
60
|
+
line-height: var(--line-heights-3xlarge);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
h1:where([lang='zh'], h1[lang='zh-Hans'], h1[lang='zh-Hant']):not([data-pinyin]) {
|
|
64
|
+
font-size: calc(var(--font-sizes-3xlarge) * 1.11);
|
|
65
|
+
line-height: calc(var(--line-heights-3xlarge) * 1.11);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
h2 {
|
|
69
|
+
font-family: var(--fonts-sans);
|
|
70
|
+
font-weight: var(--font-weights-bold);
|
|
71
|
+
font-size: var(--font-sizes-xxlarge);
|
|
72
|
+
line-height: var(--line-heights-xxlarge);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
h2:where([lang='zh'], h2[lang='zh-Hans'], h2[lang='zh-Hant']):not([data-pinyin]) {
|
|
76
|
+
font-size: calc(var(--font-sizes-xxlarge) * 1.11);
|
|
77
|
+
line-height: calc(var(--line-heights-xxlarge) * 1.11);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
h3 {
|
|
81
|
+
font-family: var(--fonts-sans);
|
|
82
|
+
font-weight: var(--font-weights-bold);
|
|
83
|
+
font-size: var(--font-sizes-xlarge);
|
|
84
|
+
line-height: var(--line-heights-xlarge);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
h3:where([lang='zh'], h3[lang='zh-Hans'], h3[lang='zh-Hant']):not([data-pinyin]) {
|
|
88
|
+
font-size: calc(var(--font-sizes-xlarge) * 1.11);
|
|
89
|
+
line-height: calc(var(--line-heights-xlarge) * 1.11);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
h4,h5,h6 {
|
|
93
|
+
font-family: var(--fonts-sans);
|
|
94
|
+
font-weight: var(--font-weights-bold);
|
|
95
|
+
font-size: var(--font-sizes-large);
|
|
96
|
+
line-height: var(--line-heights-large);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
h4:where([lang='zh'], h4[lang='zh-Hans'], h4[lang='zh-Hant']):not([data-pinyin]),h5:where([lang='zh'], h5[lang='zh-Hans'], h5[lang='zh-Hant']):not([data-pinyin]),h6:where([lang='zh'], h6[lang='zh-Hans'], h6[lang='zh-Hant']):not([data-pinyin]) {
|
|
100
|
+
font-size: calc(var(--font-sizes-large) * 1.11);
|
|
101
|
+
line-height: calc(var(--line-heights-large) * 1.11);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
p {
|
|
105
|
+
font-family: var(--fonts-sans);
|
|
106
|
+
font-weight: var(--font-weights-normal);
|
|
107
|
+
font-size: var(--font-sizes-small);
|
|
108
|
+
line-height: var(--line-heights-small);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
p:where([lang='zh'], p[lang='zh-Hans'], p[lang='zh-Hant']):not([data-pinyin]) {
|
|
112
|
+
font-size: calc(var(--font-sizes-small) * 1.11);
|
|
113
|
+
line-height: calc(var(--line-heights-small) * 1.11);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
a {
|
|
117
|
+
color: var(--colors-text-link);
|
|
118
|
+
text-decoration: underline;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
a:is(:hover, [data-hover]) {
|
|
122
|
+
text-decoration: none;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
*,::before,::after,::backdrop {
|
|
126
|
+
--blur: /*-*/ /*-*/;
|
|
127
|
+
--brightness: /*-*/ /*-*/;
|
|
128
|
+
--contrast: /*-*/ /*-*/;
|
|
129
|
+
--grayscale: /*-*/ /*-*/;
|
|
130
|
+
--hue-rotate: /*-*/ /*-*/;
|
|
131
|
+
--invert: /*-*/ /*-*/;
|
|
132
|
+
--saturate: /*-*/ /*-*/;
|
|
133
|
+
--sepia: /*-*/ /*-*/;
|
|
134
|
+
--drop-shadow: /*-*/ /*-*/;
|
|
135
|
+
--backdrop-blur: /*-*/ /*-*/;
|
|
136
|
+
--backdrop-brightness: /*-*/ /*-*/;
|
|
137
|
+
--backdrop-contrast: /*-*/ /*-*/;
|
|
138
|
+
--backdrop-grayscale: /*-*/ /*-*/;
|
|
139
|
+
--backdrop-hue-rotate: /*-*/ /*-*/;
|
|
140
|
+
--backdrop-invert: /*-*/ /*-*/;
|
|
141
|
+
--backdrop-opacity: /*-*/ /*-*/;
|
|
142
|
+
--backdrop-saturate: /*-*/ /*-*/;
|
|
143
|
+
--backdrop-sepia: /*-*/ /*-*/;
|
|
144
|
+
--gradient-from-position: /*-*/ /*-*/;
|
|
145
|
+
--gradient-to-position: /*-*/ /*-*/;
|
|
146
|
+
--gradient-via-position: /*-*/ /*-*/;
|
|
147
|
+
--scroll-snap-strictness: proximity;
|
|
148
|
+
--border-spacing-x: 0;
|
|
149
|
+
--border-spacing-y: 0;
|
|
150
|
+
--translate-x: 0;
|
|
151
|
+
--translate-y: 0;
|
|
152
|
+
--rotate: 0;
|
|
153
|
+
--rotate-x: 0;
|
|
154
|
+
--rotate-y: 0;
|
|
155
|
+
--skew-x: 0;
|
|
156
|
+
--skew-y: 0;
|
|
157
|
+
--scale-x: 1;
|
|
158
|
+
--scale-y: 1;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
@layer tokens{
|
|
163
|
+
:where(:root, :host) {
|
|
164
|
+
--colors-grey-50: #FAFAFA;
|
|
165
|
+
--colors-grey-100: #F2F2F3;
|
|
166
|
+
--colors-grey-200: #E4E4E7;
|
|
167
|
+
--colors-grey-300: #C9C9CF;
|
|
168
|
+
--colors-grey-400: #AFAFB6;
|
|
169
|
+
--colors-grey-500: #94949E;
|
|
170
|
+
--colors-grey-600: #797986;
|
|
171
|
+
--colors-grey-700: #61616B;
|
|
172
|
+
--colors-grey-800: #494950;
|
|
173
|
+
--colors-grey-900: #303036;
|
|
174
|
+
--colors-grey-950: #18181B;
|
|
175
|
+
--colors-blue-50: #F1F9FD;
|
|
176
|
+
--colors-blue-100: #D1ECFA;
|
|
177
|
+
--colors-blue-200: #ACDFF6;
|
|
178
|
+
--colors-blue-300: #87D4F2;
|
|
179
|
+
--colors-blue-400: #6CCCEF;
|
|
180
|
+
--colors-blue-500: #40BDEB;
|
|
181
|
+
--colors-blue-600: #1E9CD2;
|
|
182
|
+
--colors-blue-700: #197AB2;
|
|
183
|
+
--colors-blue-800: #155784;
|
|
184
|
+
--colors-blue-900: #113F5F;
|
|
185
|
+
--colors-blue-950: #0B253D;
|
|
186
|
+
--colors-purple-50: #F9F6FE;
|
|
187
|
+
--colors-purple-100: #F2EBFC;
|
|
188
|
+
--colors-purple-200: #E7DAFA;
|
|
189
|
+
--colors-purple-300: #DDC7FA;
|
|
190
|
+
--colors-purple-400: #D2B4F8;
|
|
191
|
+
--colors-purple-500: #C8A4F7;
|
|
192
|
+
--colors-purple-600: #B586F3;
|
|
193
|
+
--colors-purple-700: #8B65DC;
|
|
194
|
+
--colors-purple-800: #823CC8;
|
|
195
|
+
--colors-purple-900: #5E1F9E;
|
|
196
|
+
--colors-purple-950: #40116F;
|
|
197
|
+
--colors-yellow-50: #FFFCF0;
|
|
198
|
+
--colors-yellow-100: #FFF9DB;
|
|
199
|
+
--colors-yellow-200: #FFF7CC;
|
|
200
|
+
--colors-yellow-300: #FFF1A8;
|
|
201
|
+
--colors-yellow-400: #FFED8F;
|
|
202
|
+
--colors-yellow-500: #FFE767;
|
|
203
|
+
--colors-yellow-600: #FFDD33;
|
|
204
|
+
--colors-yellow-700: #FFCC00;
|
|
205
|
+
--colors-yellow-800: #FFB700;
|
|
206
|
+
--colors-yellow-900: #FAA700;
|
|
207
|
+
--colors-yellow-950: #F08C00;
|
|
208
|
+
--colors-yellow-1000: #CC8302;
|
|
209
|
+
--colors-yellow-1100: #A25C06;
|
|
210
|
+
--colors-yellow-1200: #86480D;
|
|
211
|
+
--colors-yellow-1300: #7A3701;
|
|
212
|
+
--colors-yellow-1400: #481A00;
|
|
213
|
+
--colors-green-50: #EDFDF2;
|
|
214
|
+
--colors-green-100: #DAFBE5;
|
|
215
|
+
--colors-green-200: #C3F8D5;
|
|
216
|
+
--colors-green-300: #A7F6C1;
|
|
217
|
+
--colors-green-400: #81F3A7;
|
|
218
|
+
--colors-green-500: #63F293;
|
|
219
|
+
--colors-green-600: #42D774;
|
|
220
|
+
--colors-green-700: #2CAF58;
|
|
221
|
+
--colors-green-800: #238042;
|
|
222
|
+
--colors-green-900: #174F2A;
|
|
223
|
+
--colors-green-950: #11361E;
|
|
224
|
+
--colors-pink-50: #FEF2F3;
|
|
225
|
+
--colors-pink-100: #FDECEF;
|
|
226
|
+
--colors-pink-200: #FCDEE3;
|
|
227
|
+
--colors-pink-300: #F9C3CE;
|
|
228
|
+
--colors-pink-400: #F79CAE;
|
|
229
|
+
--colors-pink-500: #F67992;
|
|
230
|
+
--colors-pink-600: #EF4D6D;
|
|
231
|
+
--colors-pink-700: #D53457;
|
|
232
|
+
--colors-pink-800: #A82447;
|
|
233
|
+
--colors-pink-900: #761935;
|
|
234
|
+
--colors-pink-950: #4A1124;
|
|
235
|
+
--colors-white: #FFFFFF;
|
|
236
|
+
--colors-primary: #2D1B62;
|
|
237
|
+
--easings-default: cubic-bezier(0.17, 0.04, 0.03, 0.94);
|
|
238
|
+
--easings-emphasized-in: cubic-bezier(0.05, 0.7, 0.1, 1.0);
|
|
239
|
+
--easings-emphasized-out: cubic-bezier(0.3, 0.0, 0.8, 0.15);
|
|
240
|
+
--easings-pulse: cubic-bezier(0.4, 0.0, 0.6, 1.0);
|
|
241
|
+
--durations-super-fast: 100ms;
|
|
242
|
+
--durations-fast: 200ms;
|
|
243
|
+
--durations-normal: 400ms;
|
|
244
|
+
--durations-slow: 600ms;
|
|
245
|
+
--durations-infinite: infinite;
|
|
246
|
+
--radii-sharp: 0px;
|
|
247
|
+
--radii-xsmall: var(--spacing-4xsmall);
|
|
248
|
+
--radii-small: var(--spacing-xxsmall);
|
|
249
|
+
--radii-medium: var(--spacing-xsmall);
|
|
250
|
+
--radii-large: var(--spacing-medium);
|
|
251
|
+
--radii-full: 100%;
|
|
252
|
+
--spacing-1: 2px;
|
|
253
|
+
--spacing-2: 4px;
|
|
254
|
+
--spacing-3: 6px;
|
|
255
|
+
--spacing-4: 8px;
|
|
256
|
+
--spacing-5: 10px;
|
|
257
|
+
--spacing-6: 12px;
|
|
258
|
+
--spacing-7: 14px;
|
|
259
|
+
--spacing-8: 16px;
|
|
260
|
+
--spacing-9: 18px;
|
|
261
|
+
--spacing-10: 20px;
|
|
262
|
+
--spacing-11: 22px;
|
|
263
|
+
--spacing-12: 24px;
|
|
264
|
+
--spacing-13: 26px;
|
|
265
|
+
--spacing-14: 28px;
|
|
266
|
+
--spacing-15: 30px;
|
|
267
|
+
--spacing-16: 32px;
|
|
268
|
+
--spacing-17: 34px;
|
|
269
|
+
--spacing-18: 36px;
|
|
270
|
+
--spacing-19: 38px;
|
|
271
|
+
--spacing-20: 40px;
|
|
272
|
+
--spacing-22: 44px;
|
|
273
|
+
--spacing-24: 48px;
|
|
274
|
+
--spacing-26: 52px;
|
|
275
|
+
--spacing-28: 56px;
|
|
276
|
+
--spacing-32: 64px;
|
|
277
|
+
--spacing-36: 72px;
|
|
278
|
+
--spacing-40: 80px;
|
|
279
|
+
--spacing-44: 88px;
|
|
280
|
+
--spacing-48: 96px;
|
|
281
|
+
--spacing-50: 100px;
|
|
282
|
+
--spacing-60: 120px;
|
|
283
|
+
--spacing-72: 144px;
|
|
284
|
+
--spacing-75: 150px;
|
|
285
|
+
--spacing-100: 200px;
|
|
286
|
+
--spacing-150: 300px;
|
|
287
|
+
--spacing-200: 400px;
|
|
288
|
+
--spacing-250: 500px;
|
|
289
|
+
--spacing-300: 600px;
|
|
290
|
+
--spacing-350: 700px;
|
|
291
|
+
--spacing-400: 800px;
|
|
292
|
+
--spacing-500: 1000px;
|
|
293
|
+
--spacing-550: 1100px;
|
|
294
|
+
--sizes-1: 2px;
|
|
295
|
+
--sizes-2: 4px;
|
|
296
|
+
--sizes-3: 6px;
|
|
297
|
+
--sizes-4: 8px;
|
|
298
|
+
--sizes-5: 10px;
|
|
299
|
+
--sizes-6: 12px;
|
|
300
|
+
--sizes-7: 14px;
|
|
301
|
+
--sizes-8: 16px;
|
|
302
|
+
--sizes-9: 18px;
|
|
303
|
+
--sizes-10: 20px;
|
|
304
|
+
--sizes-11: 22px;
|
|
305
|
+
--sizes-12: 24px;
|
|
306
|
+
--sizes-13: 26px;
|
|
307
|
+
--sizes-14: 28px;
|
|
308
|
+
--sizes-15: 30px;
|
|
309
|
+
--sizes-16: 32px;
|
|
310
|
+
--sizes-17: 34px;
|
|
311
|
+
--sizes-18: 36px;
|
|
312
|
+
--sizes-19: 38px;
|
|
313
|
+
--sizes-20: 40px;
|
|
314
|
+
--sizes-22: 44px;
|
|
315
|
+
--sizes-24: 48px;
|
|
316
|
+
--sizes-26: 52px;
|
|
317
|
+
--sizes-28: 56px;
|
|
318
|
+
--sizes-32: 64px;
|
|
319
|
+
--sizes-36: 72px;
|
|
320
|
+
--sizes-40: 80px;
|
|
321
|
+
--sizes-44: 88px;
|
|
322
|
+
--sizes-48: 96px;
|
|
323
|
+
--sizes-50: 100px;
|
|
324
|
+
--sizes-60: 120px;
|
|
325
|
+
--sizes-72: 144px;
|
|
326
|
+
--sizes-75: 150px;
|
|
327
|
+
--sizes-100: 200px;
|
|
328
|
+
--sizes-150: 300px;
|
|
329
|
+
--sizes-200: 400px;
|
|
330
|
+
--sizes-250: 500px;
|
|
331
|
+
--sizes-300: 600px;
|
|
332
|
+
--sizes-350: 700px;
|
|
333
|
+
--sizes-400: 800px;
|
|
334
|
+
--sizes-500: 1000px;
|
|
335
|
+
--sizes-550: 1100px;
|
|
336
|
+
--sizes-breakpoint-mobile: 20em;
|
|
337
|
+
--sizes-breakpoint-mobile-wide: 29.75em;
|
|
338
|
+
--sizes-breakpoint-tablet: 37.5625em;
|
|
339
|
+
--sizes-breakpoint-tablet-wide: 48em;
|
|
340
|
+
--sizes-breakpoint-desktop: 61.3125em;
|
|
341
|
+
--sizes-breakpoint-wide: 81.3125em;
|
|
342
|
+
--sizes-breakpoint-ultra-wide: 100.0625em;
|
|
343
|
+
--line-heights-xxsmall: 0.75rem;
|
|
344
|
+
--line-heights-xsmall: 1.375rem;
|
|
345
|
+
--line-heights-small: 1.5rem;
|
|
346
|
+
--line-heights-medium: 1.75rem;
|
|
347
|
+
--line-heights-large: 1.875rem;
|
|
348
|
+
--line-heights-xlarge: 2.25rem;
|
|
349
|
+
--line-heights-xxlarge: 2.375rem;
|
|
350
|
+
--line-heights-3xlarge: 3rem;
|
|
351
|
+
--line-heights-4xlarge: 3.75rem;
|
|
352
|
+
--font-weights-light: 300;
|
|
353
|
+
--font-weights-normal: 400;
|
|
354
|
+
--font-weights-semibold: 600;
|
|
355
|
+
--font-weights-bold: 700;
|
|
356
|
+
--font-sizes-xxsmall: 0.75rem;
|
|
357
|
+
--font-sizes-xsmall: 0.875rem;
|
|
358
|
+
--font-sizes-small: 1rem;
|
|
359
|
+
--font-sizes-medium: 1.125rem;
|
|
360
|
+
--font-sizes-large: 1.375rem;
|
|
361
|
+
--font-sizes-xlarge: 1.625rem;
|
|
362
|
+
--font-sizes-xxlarge: 1.875rem;
|
|
363
|
+
--font-sizes-3xlarge: 2.375rem;
|
|
364
|
+
--font-sizes-4xlarge: 3rem;
|
|
365
|
+
--fonts-sans: Satoshi, Helvetica, Arial, STKaiti, '华文楷体', KaiTi, SimKai, '楷体', KaiU, DFKai-SB, '標楷體', SongTi, '宋体', sans-serif;
|
|
366
|
+
--fonts-serif: 'Source Serif Pro', Times, STKaiti, '华文楷体', KaiTi, SimKai, '楷体', KaiU, DFKai-SB, '標楷體', SongTi, '宋体', serif;
|
|
367
|
+
--fonts-code: 'Source Code ProVariable', Monaco;
|
|
368
|
+
--animations-spin: spin 700ms infinite linear;
|
|
369
|
+
--animations-collapse-in: collapse-in 250ms var(--easings-emphasized-in);
|
|
370
|
+
--animations-collapse-out: collapse-out 200ms var(--easings-emphasized-out);
|
|
371
|
+
--animations-fade-shift-in: fade-shift-in 200ms var(--easings-emphasized-in);
|
|
372
|
+
--animations-fade-shift-out: fade-shift-in 200ms var(--easings-emphasized-in);
|
|
373
|
+
--animations-backdrop-in: fade-in 250ms var(--easings-emphasized-in);
|
|
374
|
+
--animations-backdrop-out: fade-out 200ms var(--easings-emphasized-out);
|
|
375
|
+
--animations-dialog-in: fade-in 400ms var(--easings-emphasized-in);
|
|
376
|
+
--animations-dialog-out: fade-out 200ms var(--easings-emphasized-out);
|
|
377
|
+
--animations-drawer-in-left: slide-in-left 400ms var(--easings-emphasized-in);
|
|
378
|
+
--animations-drawer-out-left: slide-out-left 200ms var(--easings-emphasized-out);
|
|
379
|
+
--animations-drawer-in-right: slide-in-right 400ms var(--easings-emphasized-in);
|
|
380
|
+
--animations-drawer-out-right: slide-out-right 200ms var(--easings-emphasized-out);
|
|
381
|
+
--animations-drawer-in-bottom: slide-in-bottom 400ms var(--easings-emphasized-in);
|
|
382
|
+
--animations-drawer-out-bottom: slide-out-bottom 200ms var(--easings-emphasized-out);
|
|
383
|
+
--animations-drawer-in-top: slide-in-top 400ms var(--easings-emphasized-in);
|
|
384
|
+
--animations-drawer-out-top: slide-out-top 200ms var(--easings-emphasized-out);
|
|
385
|
+
--animations-skeleton-pulse: skeleton-pulse 2s var(--easings-pulse) infinite;
|
|
386
|
+
--shadows-xxsmall: 0px 1px 3px 0px rgba(0, 0, 0, 0.15), 0px 0px 0.5px 0px rgba(0, 0, 0, 0.18);
|
|
387
|
+
--shadows-xsmall: 0px 3px 8px 0px rgba(0, 0, 0, 0.10), 0px 1px 3px 0px rgba(0, 0, 0, 0.10), 0px 0px 0.5px 0px rgba(0, 0, 0, 0.18);
|
|
388
|
+
--shadows-medium: 0px 5px 12px 0px rgba(0, 0, 0, 0.13), 0px 1px 3px 0px rgba(0, 0, 0, 0.10), 0px 0px 0.5px 0px rgba(0, 0, 0, 0.15);
|
|
389
|
+
--shadows-large: 0px 10px 16px 0px rgba(0, 0, 0, 0.12), 0px 2px 5px 0px rgba(0, 0, 0, 0.15), 0px 0px 0.5px 0px rgba(0, 0, 0, 0.12);
|
|
390
|
+
--shadows-xlarge: 0px 10px 24px 0px rgba(0, 0, 0, 0.18), 0px 2px 5px 0px rgba(0, 0, 0, 0.15), 0px 0px 0.5px 0px rgba(0, 0, 0, 0.08);
|
|
391
|
+
--z-index-hide: -1;
|
|
392
|
+
--z-index-base: 0;
|
|
393
|
+
--z-index-docked: 10;
|
|
394
|
+
--z-index-dropdown: 1000;
|
|
395
|
+
--z-index-sticky: 1100;
|
|
396
|
+
--z-index-banner: 1200;
|
|
397
|
+
--z-index-overlay: 1300;
|
|
398
|
+
--z-index-modal: 1400;
|
|
399
|
+
--z-index-popover: 1500;
|
|
400
|
+
--z-index-skip-link: 1600;
|
|
401
|
+
--z-index-toast: 1700;
|
|
402
|
+
--z-index-tooltip: 1800;
|
|
403
|
+
--breakpoints-mobile: 20em;
|
|
404
|
+
--breakpoints-mobile-wide: 29.75em;
|
|
405
|
+
--breakpoints-tablet: 37.5625em;
|
|
406
|
+
--breakpoints-tablet-wide: 48em;
|
|
407
|
+
--breakpoints-desktop: 61.3125em;
|
|
408
|
+
--breakpoints-wide: 81.3125em;
|
|
409
|
+
--breakpoints-ultra-wide: 100.0625em;
|
|
410
|
+
--spacing-4xsmall: var(--spacing-2);
|
|
411
|
+
--spacing-3xsmall: var(--spacing-3);
|
|
412
|
+
--spacing-xxsmall: var(--spacing-4);
|
|
413
|
+
--spacing-xsmall: var(--spacing-6);
|
|
414
|
+
--spacing-small: var(--spacing-8);
|
|
415
|
+
--spacing-medium: var(--spacing-12);
|
|
416
|
+
--spacing-large: var(--spacing-15);
|
|
417
|
+
--spacing-xlarge: var(--spacing-18);
|
|
418
|
+
--spacing-xxlarge: var(--spacing-24);
|
|
419
|
+
--spacing-3xlarge: var(--spacing-36);
|
|
420
|
+
--spacing-4xlarge: var(--spacing-48);
|
|
421
|
+
--spacing-surface-4xsmall: var(--spacing-50);
|
|
422
|
+
--spacing-surface-3xsmall: var(--spacing-75);
|
|
423
|
+
--spacing-surface-xxsmall: var(--spacing-100);
|
|
424
|
+
--spacing-surface-xsmall: var(--spacing-150);
|
|
425
|
+
--spacing-surface-small: var(--spacing-200);
|
|
426
|
+
--spacing-surface-medium: var(--spacing-250);
|
|
427
|
+
--spacing-surface-large: var(--spacing-300);
|
|
428
|
+
--spacing-surface-xlarge: var(--spacing-350);
|
|
429
|
+
--spacing-surface-xxlarge: var(--spacing-400);
|
|
430
|
+
--spacing-surface-3xlarge: var(--spacing-500);
|
|
431
|
+
--spacing-surface-4xlarge: var(--spacing-550);
|
|
432
|
+
--sizes-4xsmall: var(--spacing-2);
|
|
433
|
+
--sizes-3xsmall: var(--spacing-3);
|
|
434
|
+
--sizes-xxsmall: var(--spacing-4);
|
|
435
|
+
--sizes-xsmall: var(--spacing-6);
|
|
436
|
+
--sizes-small: var(--spacing-8);
|
|
437
|
+
--sizes-medium: var(--spacing-12);
|
|
438
|
+
--sizes-large: var(--spacing-15);
|
|
439
|
+
--sizes-xlarge: var(--spacing-18);
|
|
440
|
+
--sizes-xxlarge: var(--spacing-24);
|
|
441
|
+
--sizes-3xlarge: var(--spacing-36);
|
|
442
|
+
--sizes-4xlarge: var(--spacing-48);
|
|
443
|
+
--sizes-surface-4xsmall: var(--spacing-50);
|
|
444
|
+
--sizes-surface-3xsmall: var(--spacing-75);
|
|
445
|
+
--sizes-surface-xxsmall: var(--spacing-100);
|
|
446
|
+
--sizes-surface-xsmall: var(--spacing-150);
|
|
447
|
+
--sizes-surface-small: var(--spacing-200);
|
|
448
|
+
--sizes-surface-medium: var(--spacing-250);
|
|
449
|
+
--sizes-surface-large: var(--spacing-300);
|
|
450
|
+
--sizes-surface-xlarge: var(--spacing-350);
|
|
451
|
+
--sizes-surface-xxlarge: var(--spacing-400);
|
|
452
|
+
--sizes-surface-3xlarge: var(--spacing-500);
|
|
453
|
+
--sizes-surface-4xlarge: var(--spacing-550);
|
|
454
|
+
--colors-background-default: var(--colors-white);
|
|
455
|
+
--colors-background-subtle: var(--colors-grey-100);
|
|
456
|
+
--colors-background-strong: var(--colors-purple-50);
|
|
457
|
+
--colors-text-default: var(--colors-grey-950);
|
|
458
|
+
--colors-text-subtle: var(--colors-grey-700);
|
|
459
|
+
--colors-text-strong: var(--colors-primary);
|
|
460
|
+
--colors-text-action: var(--colors-purple-800);
|
|
461
|
+
--colors-text-on-action: var(--colors-white);
|
|
462
|
+
--colors-text-link: var(--colors-purple-900);
|
|
463
|
+
--colors-text-error: var(--colors-pink-800);
|
|
464
|
+
--colors-text-disabled: var(--colors-grey-400);
|
|
465
|
+
--colors-icon-default: var(--colors-grey-950);
|
|
466
|
+
--colors-icon-strong: var(--colors-primary);
|
|
467
|
+
--colors-icon-on-action: var(--colors-white);
|
|
468
|
+
--colors-surface-brand-1: var(--colors-purple-500);
|
|
469
|
+
--colors-surface-brand-1-subtle: var(--colors-purple-100);
|
|
470
|
+
--colors-surface-brand-1-strong: var(--colors-purple-950);
|
|
471
|
+
--colors-surface-brand-2: var(--colors-blue-500);
|
|
472
|
+
--colors-surface-brand-2-subtle: var(--colors-blue-100);
|
|
473
|
+
--colors-surface-brand-2-strong: var(--colors-blue-900);
|
|
474
|
+
--colors-surface-brand-3: var(--colors-green-500);
|
|
475
|
+
--colors-surface-brand-3-subtle: var(--colors-green-100);
|
|
476
|
+
--colors-surface-brand-3-strong: var(--colors-green-900);
|
|
477
|
+
--colors-surface-brand-4: var(--colors-yellow-500);
|
|
478
|
+
--colors-surface-brand-4-subtle: var(--colors-yellow-100);
|
|
479
|
+
--colors-surface-brand-4-strong: var(--colors-yellow-1100);
|
|
480
|
+
--colors-surface-brand-5: var(--colors-pink-500);
|
|
481
|
+
--colors-surface-brand-5-subtle: var(--colors-pink-100);
|
|
482
|
+
--colors-surface-brand-5-strong: var(--colors-pink-900);
|
|
483
|
+
--colors-surface-default: var(--colors-white);
|
|
484
|
+
--colors-surface-hover: var(--colors-grey-100);
|
|
485
|
+
--colors-surface-active: var(--colors-grey-200);
|
|
486
|
+
--colors-surface-selected: var(--colors-purple-200);
|
|
487
|
+
--colors-surface-disabled: var(--colors-grey-200);
|
|
488
|
+
--colors-surface-disabled-subtle: var(--colors-grey-50);
|
|
489
|
+
--colors-surface-disabled-strong: var(--colors-grey-700);
|
|
490
|
+
--colors-surface-info-subtle: var(--colors-grey-100);
|
|
491
|
+
--colors-surface-info-subtle-hover: var(--colors-grey-200);
|
|
492
|
+
--colors-surface-info-subtle-active: var(--colors-grey-300);
|
|
493
|
+
--colors-surface-action: var(--colors-primary);
|
|
494
|
+
--colors-surface-action-hover: var(--colors-purple-900);
|
|
495
|
+
--colors-surface-action-active: var(--colors-purple-800);
|
|
496
|
+
--colors-surface-action-subtle: var(--colors-purple-50);
|
|
497
|
+
--colors-surface-action-subtle-hover: var(--colors-purple-100);
|
|
498
|
+
--colors-surface-action-subtle-hover-strong: var(--colors-purple-400);
|
|
499
|
+
--colors-surface-action-subtle-active: var(--colors-purple-300);
|
|
500
|
+
--colors-surface-success: var(--colors-green-800);
|
|
501
|
+
--colors-surface-success-hover: var(--colors-green-900);
|
|
502
|
+
--colors-surface-success-active: var(--colors-green-950);
|
|
503
|
+
--colors-surface-success-subtle: var(--colors-green-100);
|
|
504
|
+
--colors-surface-success-subtle-hover: var(--colors-green-300);
|
|
505
|
+
--colors-surface-success-subtle-active: var(--colors-green-500);
|
|
506
|
+
--colors-surface-warning: var(--colors-yellow-600);
|
|
507
|
+
--colors-surface-warning-hover: var(--colors-yellow-800);
|
|
508
|
+
--colors-surface-warning-active: var(--colors-yellow-1200);
|
|
509
|
+
--colors-surface-warning-subtle: var(--colors-yellow-100);
|
|
510
|
+
--colors-surface-warning-subtle-hover: var(--colors-yellow-300);
|
|
511
|
+
--colors-surface-warning-subtle-active: var(--colors-yellow-400);
|
|
512
|
+
--colors-surface-error: var(--colors-pink-800);
|
|
513
|
+
--colors-surface-error-hover: var(--colors-pink-900);
|
|
514
|
+
--colors-surface-error-active: var(--colors-pink-950);
|
|
515
|
+
--colors-surface-error-subtle: var(--colors-pink-100);
|
|
516
|
+
--colors-surface-error-subtle-hover: var(--colors-pink-300);
|
|
517
|
+
--colors-surface-error-subtle-active: var(--colors-pink-500);
|
|
518
|
+
--colors-stroke-default: var(--colors-primary);
|
|
519
|
+
--colors-stroke-hover: var(--colors-purple-800);
|
|
520
|
+
--colors-stroke-subtle: var(--colors-grey-500);
|
|
521
|
+
--colors-stroke-success: var(--colors-green-900);
|
|
522
|
+
--colors-stroke-info: var(--colors-grey-500);
|
|
523
|
+
--colors-stroke-warning: var(--colors-yellow-1200);
|
|
524
|
+
--colors-stroke-error: var(--colors-pink-800);
|
|
525
|
+
--colors-stroke-disabled: var(--colors-grey-300);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
@keyframes spin {
|
|
529
|
+
from {
|
|
530
|
+
transform: rotate(0deg);
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
to {
|
|
534
|
+
transform: rotate(360deg);
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
@keyframes fade-shift-in {
|
|
539
|
+
0% {
|
|
540
|
+
opacity: 0;
|
|
541
|
+
transform: translateY(-4px);
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
100% {
|
|
545
|
+
opacity: 1;
|
|
546
|
+
transform: translateY(0);
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
@keyframes fade-shift-out {
|
|
551
|
+
0% {
|
|
552
|
+
opacity: 1;
|
|
553
|
+
transform: translateY(0);
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
100% {
|
|
557
|
+
opacity: 0;
|
|
558
|
+
transform: translateY(-4px);
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
@keyframes collapse-in {
|
|
563
|
+
0% {
|
|
564
|
+
height: 0;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
100% {
|
|
568
|
+
height: var(--height);
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
@keyframes collapse-out {
|
|
573
|
+
0% {
|
|
574
|
+
height: var(--height);
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
100% {
|
|
578
|
+
height: 0;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
@keyframes fade-in {
|
|
583
|
+
from {
|
|
584
|
+
opacity: 0;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
to {
|
|
588
|
+
opacity: 1;
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
@keyframes fade-out {
|
|
593
|
+
from {
|
|
594
|
+
opacity: 1;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
to {
|
|
598
|
+
opacity: 0;
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
@keyframes slide-in-left {
|
|
603
|
+
0% {
|
|
604
|
+
transform: translateX(-100%);
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
100% {
|
|
608
|
+
transform: translateX(0%);
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
@keyframes slide-out-left {
|
|
613
|
+
0% {
|
|
614
|
+
transform: translateX(0%);
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
100% {
|
|
618
|
+
transform: translateX(-100%);
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
@keyframes slide-in-right {
|
|
623
|
+
0% {
|
|
624
|
+
transform: translateX(100%);
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
100% {
|
|
628
|
+
transform: translateX(0%);
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
@keyframes slide-out-right {
|
|
633
|
+
0% {
|
|
634
|
+
transform: translateX(0%);
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
100% {
|
|
638
|
+
transform: translateX(100%);
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
@keyframes slide-in-top {
|
|
643
|
+
0% {
|
|
644
|
+
transform: translateY(-100%);
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
100% {
|
|
648
|
+
transform: translateY(0%);
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
@keyframes slide-out-top {
|
|
653
|
+
0% {
|
|
654
|
+
transform: translateY(0%);
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
100% {
|
|
658
|
+
transform: translateY(-100%);
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
@keyframes slide-in-bottom {
|
|
663
|
+
0% {
|
|
664
|
+
transform: translateY(100%);
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
100% {
|
|
668
|
+
transform: translateY(0%);
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
@keyframes slide-out-bottom {
|
|
673
|
+
0% {
|
|
674
|
+
transform: translateY(0%);
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
100% {
|
|
678
|
+
transform: translateY(100%);
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
@keyframes skeleton-pulse {
|
|
683
|
+
50% {
|
|
684
|
+
opacity: 0.5;
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
}
|