@7onic-ui/tokens 0.1.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/cli/sync.js +2533 -0
- package/css/all.css +6 -0
- package/css/themes/dark.css +300 -0
- package/css/themes/light.css +142 -0
- package/css/variables.css +924 -0
- package/figma-tokens.json +2404 -0
- package/js/index.js +763 -0
- package/js/index.mjs +762 -0
- package/json/tokens.json +447 -0
- package/package.json +63 -0
- package/tailwind/v3-preset.js +701 -0
- package/tailwind/v4-theme.css +879 -0
- package/tailwind/v4.css +7 -0
- package/types/index.d.ts +200 -0
package/js/index.js
ADDED
|
@@ -0,0 +1,763 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 7onic Design Tokens — JavaScript export
|
|
3
|
+
* ⚠️ Auto-generated — DO NOT EDIT
|
|
4
|
+
*/
|
|
5
|
+
'use strict';
|
|
6
|
+
|
|
7
|
+
const tokens = {
|
|
8
|
+
"colors": {
|
|
9
|
+
"white": "#FFFFFF",
|
|
10
|
+
"black": "#000000",
|
|
11
|
+
"gray": {
|
|
12
|
+
"50": "#F9F9FA",
|
|
13
|
+
"100": "#F4F4F5",
|
|
14
|
+
"200": "#E4E4E6",
|
|
15
|
+
"300": "#D4D4D5",
|
|
16
|
+
"400": "#9A9A9B",
|
|
17
|
+
"500": "#6B6B6C",
|
|
18
|
+
"600": "#4A4A4B",
|
|
19
|
+
"700": "#3A3A3E",
|
|
20
|
+
"800": "#2D2D31",
|
|
21
|
+
"900": "#222225"
|
|
22
|
+
},
|
|
23
|
+
"primary": {
|
|
24
|
+
"50": "#DBF8FB",
|
|
25
|
+
"100": "#B2F0F5",
|
|
26
|
+
"200": "#89E8F0",
|
|
27
|
+
"300": "#60E0EB",
|
|
28
|
+
"400": "#37D8E6",
|
|
29
|
+
"500": "#1AC6D5",
|
|
30
|
+
"600": "#15A0AC",
|
|
31
|
+
"700": "#107A84",
|
|
32
|
+
"800": "#0B545B",
|
|
33
|
+
"900": "#062E32"
|
|
34
|
+
},
|
|
35
|
+
"secondary": {
|
|
36
|
+
"50": "#F5F5FB",
|
|
37
|
+
"100": "#EBEBF5",
|
|
38
|
+
"200": "#D9D9E9",
|
|
39
|
+
"300": "#BCBCD2",
|
|
40
|
+
"400": "#8F8FA9",
|
|
41
|
+
"500": "#69697F",
|
|
42
|
+
"600": "#4E4E60",
|
|
43
|
+
"700": "#3B3B4A",
|
|
44
|
+
"800": "#2F2F3B",
|
|
45
|
+
"900": "#23232D"
|
|
46
|
+
},
|
|
47
|
+
"blue": {
|
|
48
|
+
"50": "#EFF6FF",
|
|
49
|
+
"100": "#DBEAFE",
|
|
50
|
+
"200": "#BFDBFE",
|
|
51
|
+
"300": "#93C5FD",
|
|
52
|
+
"400": "#60A5FA",
|
|
53
|
+
"500": "#3B82F6",
|
|
54
|
+
"600": "#2563EB",
|
|
55
|
+
"700": "#1D4ED8",
|
|
56
|
+
"800": "#1E40AF",
|
|
57
|
+
"900": "#1E3A8A"
|
|
58
|
+
},
|
|
59
|
+
"green": {
|
|
60
|
+
"50": "#ECFDF5",
|
|
61
|
+
"100": "#D1FAE5",
|
|
62
|
+
"200": "#A7F3D0",
|
|
63
|
+
"300": "#6EE7B7",
|
|
64
|
+
"400": "#34D399",
|
|
65
|
+
"500": "#10B981",
|
|
66
|
+
"600": "#059669",
|
|
67
|
+
"700": "#047857",
|
|
68
|
+
"800": "#065F46",
|
|
69
|
+
"900": "#064E3B"
|
|
70
|
+
},
|
|
71
|
+
"yellow": {
|
|
72
|
+
"50": "#FFFBEB",
|
|
73
|
+
"100": "#FEF3C7",
|
|
74
|
+
"200": "#FDE68A",
|
|
75
|
+
"300": "#FCD34D",
|
|
76
|
+
"400": "#FBBF24",
|
|
77
|
+
"500": "#F59E0B",
|
|
78
|
+
"600": "#D97706",
|
|
79
|
+
"700": "#B45309",
|
|
80
|
+
"800": "#92400E",
|
|
81
|
+
"900": "#78350F"
|
|
82
|
+
},
|
|
83
|
+
"red": {
|
|
84
|
+
"50": "#FEF2F2",
|
|
85
|
+
"100": "#FEE2E2",
|
|
86
|
+
"200": "#FECACA",
|
|
87
|
+
"300": "#FCA5A5",
|
|
88
|
+
"400": "#F87171",
|
|
89
|
+
"500": "#EF4444",
|
|
90
|
+
"600": "#DC2626",
|
|
91
|
+
"700": "#B91C1C",
|
|
92
|
+
"800": "#991B1B",
|
|
93
|
+
"900": "#7F1D1D"
|
|
94
|
+
},
|
|
95
|
+
"chart": {
|
|
96
|
+
"blue-light": "#4570E8",
|
|
97
|
+
"blue-dark": "#6B8FF5",
|
|
98
|
+
"pink-light": "#D94F9A",
|
|
99
|
+
"pink-dark": "#E870B8",
|
|
100
|
+
"lavender-light": "#A888F0",
|
|
101
|
+
"lavender-dark": "#C4A8F8",
|
|
102
|
+
"sky-light": "#68C8F5",
|
|
103
|
+
"sky-dark": "#8DD8F8",
|
|
104
|
+
"rose-light": "#F0A0CC",
|
|
105
|
+
"rose-dark": "#F8C0DE"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"spacing": {
|
|
109
|
+
"0": "0",
|
|
110
|
+
"1": "0.25rem",
|
|
111
|
+
"2": "0.5rem",
|
|
112
|
+
"3": "0.75rem",
|
|
113
|
+
"4": "1rem",
|
|
114
|
+
"5": "1.25rem",
|
|
115
|
+
"6": "1.5rem",
|
|
116
|
+
"7": "1.75rem",
|
|
117
|
+
"8": "2rem",
|
|
118
|
+
"10": "2.5rem",
|
|
119
|
+
"12": "3rem",
|
|
120
|
+
"14": "3.5rem",
|
|
121
|
+
"16": "4rem",
|
|
122
|
+
"20": "5rem",
|
|
123
|
+
"24": "6rem",
|
|
124
|
+
"0.5": "0.125rem",
|
|
125
|
+
"1.5": "0.375rem",
|
|
126
|
+
"2.5": "0.625rem"
|
|
127
|
+
},
|
|
128
|
+
"fontSize": {
|
|
129
|
+
"2xs": {
|
|
130
|
+
"size": "0.6875rem",
|
|
131
|
+
"lineHeight": "1rem"
|
|
132
|
+
},
|
|
133
|
+
"xs": {
|
|
134
|
+
"size": "0.75rem",
|
|
135
|
+
"lineHeight": "1.125rem"
|
|
136
|
+
},
|
|
137
|
+
"sm": {
|
|
138
|
+
"size": "0.8125rem",
|
|
139
|
+
"lineHeight": "1.25rem"
|
|
140
|
+
},
|
|
141
|
+
"md": {
|
|
142
|
+
"size": "0.875rem",
|
|
143
|
+
"lineHeight": "1.375rem"
|
|
144
|
+
},
|
|
145
|
+
"base": {
|
|
146
|
+
"size": "1rem",
|
|
147
|
+
"lineHeight": "1.625rem"
|
|
148
|
+
},
|
|
149
|
+
"lg": {
|
|
150
|
+
"size": "1.125rem",
|
|
151
|
+
"lineHeight": "1.75rem"
|
|
152
|
+
},
|
|
153
|
+
"xl": {
|
|
154
|
+
"size": "1.25rem",
|
|
155
|
+
"lineHeight": "1.875rem"
|
|
156
|
+
},
|
|
157
|
+
"2xl": {
|
|
158
|
+
"size": "1.5rem",
|
|
159
|
+
"lineHeight": "2.125rem"
|
|
160
|
+
},
|
|
161
|
+
"3xl": {
|
|
162
|
+
"size": "1.875rem",
|
|
163
|
+
"lineHeight": "2.5rem"
|
|
164
|
+
},
|
|
165
|
+
"4xl": {
|
|
166
|
+
"size": "2.25rem",
|
|
167
|
+
"lineHeight": "2.875rem"
|
|
168
|
+
},
|
|
169
|
+
"5xl": {
|
|
170
|
+
"size": "3rem",
|
|
171
|
+
"lineHeight": "3.625rem"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"borderRadius": {
|
|
175
|
+
"none": "0px",
|
|
176
|
+
"sm": "2px",
|
|
177
|
+
"base": "4px",
|
|
178
|
+
"md": "6px",
|
|
179
|
+
"lg": "8px",
|
|
180
|
+
"xl": "12px",
|
|
181
|
+
"2xl": "16px",
|
|
182
|
+
"3xl": "24px",
|
|
183
|
+
"full": "9999px"
|
|
184
|
+
},
|
|
185
|
+
"shadow": {
|
|
186
|
+
"xs": "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
|
|
187
|
+
"sm": "0 1px 3px 0 rgba(0, 0, 0, 0.1)",
|
|
188
|
+
"md": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
|
|
189
|
+
"lg": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
|
|
190
|
+
"xl": "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)",
|
|
191
|
+
"primary-glow": "0 0 0 4px color-mix(in srgb, var(--color-primary) 15%, transparent)"
|
|
192
|
+
},
|
|
193
|
+
"zIndex": {
|
|
194
|
+
"0": "0",
|
|
195
|
+
"10": "10",
|
|
196
|
+
"20": "20",
|
|
197
|
+
"30": "30",
|
|
198
|
+
"40": "40",
|
|
199
|
+
"50": "50",
|
|
200
|
+
"sticky": "100",
|
|
201
|
+
"dropdown": "1000",
|
|
202
|
+
"overlay": "1100",
|
|
203
|
+
"modal": "2000",
|
|
204
|
+
"popover": "2100",
|
|
205
|
+
"tooltip": "2200",
|
|
206
|
+
"toast": "3000"
|
|
207
|
+
},
|
|
208
|
+
"duration": {
|
|
209
|
+
"instant": "0ms",
|
|
210
|
+
"fast": "100ms",
|
|
211
|
+
"micro": "150ms",
|
|
212
|
+
"normal": "200ms",
|
|
213
|
+
"slow": "300ms",
|
|
214
|
+
"slower": "400ms",
|
|
215
|
+
"slowest": "500ms",
|
|
216
|
+
"spin": "1000ms"
|
|
217
|
+
},
|
|
218
|
+
"iconSize": {
|
|
219
|
+
"2xs": "0.75rem",
|
|
220
|
+
"xs": "0.875rem",
|
|
221
|
+
"sm": "1rem",
|
|
222
|
+
"md": "1.25rem",
|
|
223
|
+
"lg": "1.5rem",
|
|
224
|
+
"xl": "2rem"
|
|
225
|
+
},
|
|
226
|
+
"opacity": {
|
|
227
|
+
"0": "0",
|
|
228
|
+
"5": "0.05",
|
|
229
|
+
"10": "0.1",
|
|
230
|
+
"15": "0.15",
|
|
231
|
+
"20": "0.2",
|
|
232
|
+
"25": "0.25",
|
|
233
|
+
"30": "0.3",
|
|
234
|
+
"35": "0.35",
|
|
235
|
+
"40": "0.4",
|
|
236
|
+
"45": "0.45",
|
|
237
|
+
"50": "0.5",
|
|
238
|
+
"55": "0.55",
|
|
239
|
+
"60": "0.6",
|
|
240
|
+
"65": "0.65",
|
|
241
|
+
"70": "0.7",
|
|
242
|
+
"75": "0.75",
|
|
243
|
+
"80": "0.8",
|
|
244
|
+
"85": "0.85",
|
|
245
|
+
"90": "0.9",
|
|
246
|
+
"95": "0.95",
|
|
247
|
+
"100": "1"
|
|
248
|
+
},
|
|
249
|
+
"fontWeight": {
|
|
250
|
+
"normal": "400",
|
|
251
|
+
"semibold": "600",
|
|
252
|
+
"bold": "700"
|
|
253
|
+
},
|
|
254
|
+
"borderWidth": {
|
|
255
|
+
"0": "0px",
|
|
256
|
+
"1": "1px",
|
|
257
|
+
"2": "2px",
|
|
258
|
+
"4": "4px",
|
|
259
|
+
"8": "8px"
|
|
260
|
+
},
|
|
261
|
+
"scale": {
|
|
262
|
+
"50": "0.5",
|
|
263
|
+
"75": "0.75",
|
|
264
|
+
"95": "0.95",
|
|
265
|
+
"pressed": "0.98"
|
|
266
|
+
},
|
|
267
|
+
"easing": {
|
|
268
|
+
"linear": "linear",
|
|
269
|
+
"ease": "ease",
|
|
270
|
+
"easeIn": "ease-in",
|
|
271
|
+
"easeOut": "ease-out",
|
|
272
|
+
"easeInOut": "ease-in-out"
|
|
273
|
+
},
|
|
274
|
+
"breakpoint": {
|
|
275
|
+
"sm": "640px",
|
|
276
|
+
"md": "768px",
|
|
277
|
+
"lg": "1024px",
|
|
278
|
+
"xl": "1280px",
|
|
279
|
+
"2xl": "1536px"
|
|
280
|
+
},
|
|
281
|
+
"fontFamily": {
|
|
282
|
+
"sans": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
283
|
+
"mono": "'Fira Code', 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace"
|
|
284
|
+
},
|
|
285
|
+
"componentSize": {
|
|
286
|
+
"switch": {
|
|
287
|
+
"track": {
|
|
288
|
+
"sm": {
|
|
289
|
+
"width": "24px",
|
|
290
|
+
"height": "14px"
|
|
291
|
+
},
|
|
292
|
+
"default": {
|
|
293
|
+
"width": "32px",
|
|
294
|
+
"height": "18px"
|
|
295
|
+
},
|
|
296
|
+
"lg": {
|
|
297
|
+
"width": "40px",
|
|
298
|
+
"height": "22px"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"thumb": {
|
|
302
|
+
"sm": "12px",
|
|
303
|
+
"default": "16px",
|
|
304
|
+
"lg": "20px"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"slider": {
|
|
308
|
+
"thumb": {
|
|
309
|
+
"sm": "14px",
|
|
310
|
+
"default": "18px",
|
|
311
|
+
"lg": "22px"
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"animation": {
|
|
316
|
+
"checkbox-enter": {
|
|
317
|
+
"duration": "150ms",
|
|
318
|
+
"easing": "ease-out",
|
|
319
|
+
"opacity": "0",
|
|
320
|
+
"scale": "0.75"
|
|
321
|
+
},
|
|
322
|
+
"radio-enter": {
|
|
323
|
+
"duration": "150ms",
|
|
324
|
+
"easing": "ease-out",
|
|
325
|
+
"opacity": "0",
|
|
326
|
+
"scale": "0.5"
|
|
327
|
+
},
|
|
328
|
+
"fade-in": {
|
|
329
|
+
"duration": "200ms",
|
|
330
|
+
"easing": "ease-out",
|
|
331
|
+
"opacity": "0"
|
|
332
|
+
},
|
|
333
|
+
"fade-out": {
|
|
334
|
+
"duration": "200ms",
|
|
335
|
+
"easing": "ease-out",
|
|
336
|
+
"opacity": "0"
|
|
337
|
+
},
|
|
338
|
+
"modal-overlay-enter": {
|
|
339
|
+
"duration": "200ms",
|
|
340
|
+
"easing": "ease-out",
|
|
341
|
+
"opacity": "0"
|
|
342
|
+
},
|
|
343
|
+
"modal-overlay-exit": {
|
|
344
|
+
"duration": "100ms",
|
|
345
|
+
"easing": "ease-out",
|
|
346
|
+
"opacity": "0"
|
|
347
|
+
},
|
|
348
|
+
"modal-content-enter": {
|
|
349
|
+
"duration": "200ms",
|
|
350
|
+
"easing": "ease-out",
|
|
351
|
+
"opacity": "0",
|
|
352
|
+
"scale": "0.95",
|
|
353
|
+
"translateY": "8"
|
|
354
|
+
},
|
|
355
|
+
"modal-content-exit": {
|
|
356
|
+
"duration": "100ms",
|
|
357
|
+
"easing": "ease-out",
|
|
358
|
+
"opacity": "0",
|
|
359
|
+
"scale": "0.95",
|
|
360
|
+
"translateY": "8"
|
|
361
|
+
},
|
|
362
|
+
"nav-viewport-enter": {
|
|
363
|
+
"duration": "150ms",
|
|
364
|
+
"easing": "ease-out",
|
|
365
|
+
"opacity": "0",
|
|
366
|
+
"scale": "0.98",
|
|
367
|
+
"translateY": "2"
|
|
368
|
+
},
|
|
369
|
+
"nav-viewport-exit": {
|
|
370
|
+
"duration": "100ms",
|
|
371
|
+
"easing": "ease-out",
|
|
372
|
+
"opacity": "0",
|
|
373
|
+
"scale": "0.98",
|
|
374
|
+
"translateY": "2"
|
|
375
|
+
},
|
|
376
|
+
"accordion-down": {
|
|
377
|
+
"duration": "200ms",
|
|
378
|
+
"easing": "ease-out",
|
|
379
|
+
"heightVar": "--radix-accordion-content-height"
|
|
380
|
+
},
|
|
381
|
+
"accordion-up": {
|
|
382
|
+
"duration": "200ms",
|
|
383
|
+
"easing": "ease-out",
|
|
384
|
+
"heightVar": "--radix-accordion-content-height"
|
|
385
|
+
},
|
|
386
|
+
"collapsible-down": {
|
|
387
|
+
"duration": "200ms",
|
|
388
|
+
"easing": "ease-out",
|
|
389
|
+
"heightVar": "--radix-collapsible-content-height"
|
|
390
|
+
},
|
|
391
|
+
"collapsible-up": {
|
|
392
|
+
"duration": "200ms",
|
|
393
|
+
"easing": "ease-out",
|
|
394
|
+
"heightVar": "--radix-collapsible-content-height"
|
|
395
|
+
},
|
|
396
|
+
"drawer-right-enter": {
|
|
397
|
+
"duration": "300ms",
|
|
398
|
+
"easing": "ease-out",
|
|
399
|
+
"translateX": "100%"
|
|
400
|
+
},
|
|
401
|
+
"drawer-right-exit": {
|
|
402
|
+
"duration": "200ms",
|
|
403
|
+
"easing": "ease-out",
|
|
404
|
+
"translateX": "100%"
|
|
405
|
+
},
|
|
406
|
+
"drawer-left-enter": {
|
|
407
|
+
"duration": "300ms",
|
|
408
|
+
"easing": "ease-out",
|
|
409
|
+
"translateX": "100%"
|
|
410
|
+
},
|
|
411
|
+
"drawer-left-exit": {
|
|
412
|
+
"duration": "200ms",
|
|
413
|
+
"easing": "ease-out",
|
|
414
|
+
"translateX": "100%"
|
|
415
|
+
},
|
|
416
|
+
"drawer-top-enter": {
|
|
417
|
+
"duration": "300ms",
|
|
418
|
+
"easing": "ease-out",
|
|
419
|
+
"translateY": "100%"
|
|
420
|
+
},
|
|
421
|
+
"drawer-top-exit": {
|
|
422
|
+
"duration": "200ms",
|
|
423
|
+
"easing": "ease-out",
|
|
424
|
+
"translateY": "100%"
|
|
425
|
+
},
|
|
426
|
+
"drawer-bottom-enter": {
|
|
427
|
+
"duration": "300ms",
|
|
428
|
+
"easing": "ease-out",
|
|
429
|
+
"translateY": "100%"
|
|
430
|
+
},
|
|
431
|
+
"drawer-bottom-exit": {
|
|
432
|
+
"duration": "200ms",
|
|
433
|
+
"easing": "ease-out",
|
|
434
|
+
"translateY": "100%"
|
|
435
|
+
},
|
|
436
|
+
"tooltip-top-enter": {
|
|
437
|
+
"duration": "150ms",
|
|
438
|
+
"easing": "ease-out",
|
|
439
|
+
"opacity": "0",
|
|
440
|
+
"translateY": "4"
|
|
441
|
+
},
|
|
442
|
+
"tooltip-top-exit": {
|
|
443
|
+
"duration": "100ms",
|
|
444
|
+
"easing": "ease-out",
|
|
445
|
+
"opacity": "0",
|
|
446
|
+
"translateY": "4"
|
|
447
|
+
},
|
|
448
|
+
"tooltip-bottom-enter": {
|
|
449
|
+
"duration": "150ms",
|
|
450
|
+
"easing": "ease-out",
|
|
451
|
+
"opacity": "0",
|
|
452
|
+
"translateY": "4"
|
|
453
|
+
},
|
|
454
|
+
"tooltip-bottom-exit": {
|
|
455
|
+
"duration": "100ms",
|
|
456
|
+
"easing": "ease-out",
|
|
457
|
+
"opacity": "0",
|
|
458
|
+
"translateY": "4"
|
|
459
|
+
},
|
|
460
|
+
"tooltip-right-enter": {
|
|
461
|
+
"duration": "150ms",
|
|
462
|
+
"easing": "ease-out",
|
|
463
|
+
"opacity": "0",
|
|
464
|
+
"translateX": "4"
|
|
465
|
+
},
|
|
466
|
+
"tooltip-right-exit": {
|
|
467
|
+
"duration": "100ms",
|
|
468
|
+
"easing": "ease-out",
|
|
469
|
+
"opacity": "0",
|
|
470
|
+
"translateX": "4"
|
|
471
|
+
},
|
|
472
|
+
"tooltip-left-enter": {
|
|
473
|
+
"duration": "150ms",
|
|
474
|
+
"easing": "ease-out",
|
|
475
|
+
"opacity": "0",
|
|
476
|
+
"translateX": "4"
|
|
477
|
+
},
|
|
478
|
+
"tooltip-left-exit": {
|
|
479
|
+
"duration": "100ms",
|
|
480
|
+
"easing": "ease-out",
|
|
481
|
+
"opacity": "0",
|
|
482
|
+
"translateX": "4"
|
|
483
|
+
},
|
|
484
|
+
"popover-top-enter": {
|
|
485
|
+
"duration": "200ms",
|
|
486
|
+
"easing": "ease-out",
|
|
487
|
+
"opacity": "0",
|
|
488
|
+
"translateY": "4"
|
|
489
|
+
},
|
|
490
|
+
"popover-top-exit": {
|
|
491
|
+
"duration": "100ms",
|
|
492
|
+
"easing": "ease-out",
|
|
493
|
+
"opacity": "0",
|
|
494
|
+
"translateY": "4"
|
|
495
|
+
},
|
|
496
|
+
"popover-bottom-enter": {
|
|
497
|
+
"duration": "200ms",
|
|
498
|
+
"easing": "ease-out",
|
|
499
|
+
"opacity": "0",
|
|
500
|
+
"translateY": "4"
|
|
501
|
+
},
|
|
502
|
+
"popover-bottom-exit": {
|
|
503
|
+
"duration": "100ms",
|
|
504
|
+
"easing": "ease-out",
|
|
505
|
+
"opacity": "0",
|
|
506
|
+
"translateY": "4"
|
|
507
|
+
},
|
|
508
|
+
"popover-right-enter": {
|
|
509
|
+
"duration": "200ms",
|
|
510
|
+
"easing": "ease-out",
|
|
511
|
+
"opacity": "0",
|
|
512
|
+
"translateX": "4"
|
|
513
|
+
},
|
|
514
|
+
"popover-right-exit": {
|
|
515
|
+
"duration": "100ms",
|
|
516
|
+
"easing": "ease-out",
|
|
517
|
+
"opacity": "0",
|
|
518
|
+
"translateX": "4"
|
|
519
|
+
},
|
|
520
|
+
"popover-left-enter": {
|
|
521
|
+
"duration": "200ms",
|
|
522
|
+
"easing": "ease-out",
|
|
523
|
+
"opacity": "0",
|
|
524
|
+
"translateX": "4"
|
|
525
|
+
},
|
|
526
|
+
"popover-left-exit": {
|
|
527
|
+
"duration": "100ms",
|
|
528
|
+
"easing": "ease-out",
|
|
529
|
+
"opacity": "0",
|
|
530
|
+
"translateX": "4"
|
|
531
|
+
},
|
|
532
|
+
"toast-slide-in-right": {
|
|
533
|
+
"duration": "300ms",
|
|
534
|
+
"easing": "ease-out",
|
|
535
|
+
"opacity": "0",
|
|
536
|
+
"translateX": "100%"
|
|
537
|
+
},
|
|
538
|
+
"toast-slide-out-right": {
|
|
539
|
+
"duration": "200ms",
|
|
540
|
+
"easing": "ease-out",
|
|
541
|
+
"opacity": "0",
|
|
542
|
+
"translateX": "100%"
|
|
543
|
+
},
|
|
544
|
+
"toast-slide-in-left": {
|
|
545
|
+
"duration": "300ms",
|
|
546
|
+
"easing": "ease-out",
|
|
547
|
+
"opacity": "0",
|
|
548
|
+
"translateX": "100%"
|
|
549
|
+
},
|
|
550
|
+
"toast-slide-out-left": {
|
|
551
|
+
"duration": "200ms",
|
|
552
|
+
"easing": "ease-out",
|
|
553
|
+
"opacity": "0",
|
|
554
|
+
"translateX": "100%"
|
|
555
|
+
},
|
|
556
|
+
"toast-slide-in-top": {
|
|
557
|
+
"duration": "300ms",
|
|
558
|
+
"easing": "ease-out",
|
|
559
|
+
"opacity": "0",
|
|
560
|
+
"translateY": "100%"
|
|
561
|
+
},
|
|
562
|
+
"toast-slide-out-top": {
|
|
563
|
+
"duration": "200ms",
|
|
564
|
+
"easing": "ease-out",
|
|
565
|
+
"opacity": "0",
|
|
566
|
+
"translateY": "100%"
|
|
567
|
+
},
|
|
568
|
+
"toast-slide-in-bottom": {
|
|
569
|
+
"duration": "300ms",
|
|
570
|
+
"easing": "ease-out",
|
|
571
|
+
"opacity": "0",
|
|
572
|
+
"translateY": "100%"
|
|
573
|
+
},
|
|
574
|
+
"toast-slide-out-bottom": {
|
|
575
|
+
"duration": "200ms",
|
|
576
|
+
"easing": "ease-out",
|
|
577
|
+
"opacity": "0",
|
|
578
|
+
"translateY": "100%"
|
|
579
|
+
},
|
|
580
|
+
"spin": {
|
|
581
|
+
"duration": "1000ms",
|
|
582
|
+
"easing": "linear"
|
|
583
|
+
},
|
|
584
|
+
"progress-stripe": {
|
|
585
|
+
"duration": "1000ms",
|
|
586
|
+
"easing": "linear"
|
|
587
|
+
},
|
|
588
|
+
"spinner-orbit": {
|
|
589
|
+
"duration": "1000ms",
|
|
590
|
+
"easing": "linear"
|
|
591
|
+
},
|
|
592
|
+
"spinner-dot": {
|
|
593
|
+
"duration": "1000ms",
|
|
594
|
+
"easing": "ease-in-out"
|
|
595
|
+
},
|
|
596
|
+
"spinner-bar": {
|
|
597
|
+
"duration": "1000ms",
|
|
598
|
+
"easing": "ease-in-out"
|
|
599
|
+
},
|
|
600
|
+
"spinner-morph": {
|
|
601
|
+
"duration": "1000ms",
|
|
602
|
+
"easing": "ease-in-out"
|
|
603
|
+
},
|
|
604
|
+
"skeleton-pulse": {
|
|
605
|
+
"duration": "1000ms",
|
|
606
|
+
"easing": "ease-in-out"
|
|
607
|
+
},
|
|
608
|
+
"skeleton-wave": {
|
|
609
|
+
"duration": "1000ms",
|
|
610
|
+
"easing": "linear"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"typography": {
|
|
614
|
+
"heading": {
|
|
615
|
+
"1": {
|
|
616
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
617
|
+
"fontSize": "1.875rem",
|
|
618
|
+
"fontWeight": "700",
|
|
619
|
+
"lineHeight": "2.5rem"
|
|
620
|
+
},
|
|
621
|
+
"2": {
|
|
622
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
623
|
+
"fontSize": "1.5rem",
|
|
624
|
+
"fontWeight": "700",
|
|
625
|
+
"lineHeight": "2.125rem"
|
|
626
|
+
},
|
|
627
|
+
"3": {
|
|
628
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
629
|
+
"fontSize": "1.25rem",
|
|
630
|
+
"fontWeight": "600",
|
|
631
|
+
"lineHeight": "1.875rem"
|
|
632
|
+
},
|
|
633
|
+
"4": {
|
|
634
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
635
|
+
"fontSize": "1.125rem",
|
|
636
|
+
"fontWeight": "600",
|
|
637
|
+
"lineHeight": "1.75rem"
|
|
638
|
+
},
|
|
639
|
+
"5": {
|
|
640
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
641
|
+
"fontSize": "1rem",
|
|
642
|
+
"fontWeight": "600",
|
|
643
|
+
"lineHeight": "1.625rem"
|
|
644
|
+
},
|
|
645
|
+
"6": {
|
|
646
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
647
|
+
"fontSize": "0.875rem",
|
|
648
|
+
"fontWeight": "600",
|
|
649
|
+
"lineHeight": "1.375rem"
|
|
650
|
+
}
|
|
651
|
+
},
|
|
652
|
+
"body": {
|
|
653
|
+
"lg": {
|
|
654
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
655
|
+
"fontSize": "1.125rem",
|
|
656
|
+
"fontWeight": "400",
|
|
657
|
+
"lineHeight": "1.75rem"
|
|
658
|
+
},
|
|
659
|
+
"default": {
|
|
660
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
661
|
+
"fontSize": "1rem",
|
|
662
|
+
"fontWeight": "400",
|
|
663
|
+
"lineHeight": "1.625rem"
|
|
664
|
+
},
|
|
665
|
+
"md": {
|
|
666
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
667
|
+
"fontSize": "0.875rem",
|
|
668
|
+
"fontWeight": "400",
|
|
669
|
+
"lineHeight": "1.375rem"
|
|
670
|
+
},
|
|
671
|
+
"sm": {
|
|
672
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
673
|
+
"fontSize": "0.8125rem",
|
|
674
|
+
"fontWeight": "400",
|
|
675
|
+
"lineHeight": "1.25rem"
|
|
676
|
+
},
|
|
677
|
+
"xs": {
|
|
678
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
679
|
+
"fontSize": "0.75rem",
|
|
680
|
+
"fontWeight": "400",
|
|
681
|
+
"lineHeight": "1.125rem"
|
|
682
|
+
},
|
|
683
|
+
"2xs": {
|
|
684
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
685
|
+
"fontSize": "0.6875rem",
|
|
686
|
+
"fontWeight": "400",
|
|
687
|
+
"lineHeight": "1rem"
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
"label": {
|
|
691
|
+
"lg": {
|
|
692
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
693
|
+
"fontSize": "1rem",
|
|
694
|
+
"fontWeight": "600",
|
|
695
|
+
"lineHeight": "1.625rem"
|
|
696
|
+
},
|
|
697
|
+
"md": {
|
|
698
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
699
|
+
"fontSize": "0.875rem",
|
|
700
|
+
"fontWeight": "600",
|
|
701
|
+
"lineHeight": "1.375rem"
|
|
702
|
+
},
|
|
703
|
+
"default": {
|
|
704
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
705
|
+
"fontSize": "0.8125rem",
|
|
706
|
+
"fontWeight": "600",
|
|
707
|
+
"lineHeight": "1.25rem"
|
|
708
|
+
},
|
|
709
|
+
"sm": {
|
|
710
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
711
|
+
"fontSize": "0.75rem",
|
|
712
|
+
"fontWeight": "600",
|
|
713
|
+
"lineHeight": "1.125rem"
|
|
714
|
+
},
|
|
715
|
+
"xs": {
|
|
716
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
717
|
+
"fontSize": "0.6875rem",
|
|
718
|
+
"fontWeight": "600",
|
|
719
|
+
"lineHeight": "1rem"
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
"caption": {
|
|
723
|
+
"fontFamily": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
|
|
724
|
+
"fontSize": "0.75rem",
|
|
725
|
+
"fontWeight": "400",
|
|
726
|
+
"lineHeight": "1.125rem"
|
|
727
|
+
},
|
|
728
|
+
"code": {
|
|
729
|
+
"block": {
|
|
730
|
+
"fontFamily": "'Fira Code', 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace",
|
|
731
|
+
"fontSize": "0.8125rem",
|
|
732
|
+
"fontWeight": "400",
|
|
733
|
+
"lineHeight": "1.375rem"
|
|
734
|
+
},
|
|
735
|
+
"inline": {
|
|
736
|
+
"fontFamily": "'Fira Code', 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace",
|
|
737
|
+
"fontSize": "0.8125rem",
|
|
738
|
+
"fontWeight": "400",
|
|
739
|
+
"lineHeight": "1.25rem"
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
};
|
|
744
|
+
|
|
745
|
+
module.exports.colors = tokens.colors;
|
|
746
|
+
module.exports.spacing = tokens.spacing;
|
|
747
|
+
module.exports.fontSize = tokens.fontSize;
|
|
748
|
+
module.exports.borderRadius = tokens.borderRadius;
|
|
749
|
+
module.exports.shadow = tokens.shadow;
|
|
750
|
+
module.exports.zIndex = tokens.zIndex;
|
|
751
|
+
module.exports.duration = tokens.duration;
|
|
752
|
+
module.exports.iconSize = tokens.iconSize;
|
|
753
|
+
module.exports.opacity = tokens.opacity;
|
|
754
|
+
module.exports.fontWeight = tokens.fontWeight;
|
|
755
|
+
module.exports.borderWidth = tokens.borderWidth;
|
|
756
|
+
module.exports.scale = tokens.scale;
|
|
757
|
+
module.exports.easing = tokens.easing;
|
|
758
|
+
module.exports.breakpoint = tokens.breakpoint;
|
|
759
|
+
module.exports.fontFamily = tokens.fontFamily;
|
|
760
|
+
module.exports.componentSize = tokens.componentSize;
|
|
761
|
+
module.exports.animation = tokens.animation;
|
|
762
|
+
module.exports.typography = tokens.typography;
|
|
763
|
+
module.exports.default = tokens;
|