@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.
@@ -0,0 +1,447 @@
1
+ {
2
+ "color": {
3
+ "white": "#FFFFFF",
4
+ "black": "#000000",
5
+ "gray-50": "#F9F9FA",
6
+ "gray-100": "#F4F4F5",
7
+ "gray-200": "#E4E4E6",
8
+ "gray-300": "#D4D4D5",
9
+ "gray-400": "#9A9A9B",
10
+ "gray-500": "#6B6B6C",
11
+ "gray-600": "#4A4A4B",
12
+ "gray-700": "#3A3A3E",
13
+ "gray-800": "#2D2D31",
14
+ "gray-900": "#222225",
15
+ "primary-50": "#DBF8FB",
16
+ "primary-100": "#B2F0F5",
17
+ "primary-200": "#89E8F0",
18
+ "primary-300": "#60E0EB",
19
+ "primary-400": "#37D8E6",
20
+ "primary-500": "#1AC6D5",
21
+ "primary-600": "#15A0AC",
22
+ "primary-700": "#107A84",
23
+ "primary-800": "#0B545B",
24
+ "primary-900": "#062E32",
25
+ "secondary-50": "#F5F5FB",
26
+ "secondary-100": "#EBEBF5",
27
+ "secondary-200": "#D9D9E9",
28
+ "secondary-300": "#BCBCD2",
29
+ "secondary-400": "#8F8FA9",
30
+ "secondary-500": "#69697F",
31
+ "secondary-600": "#4E4E60",
32
+ "secondary-700": "#3B3B4A",
33
+ "secondary-800": "#2F2F3B",
34
+ "secondary-900": "#23232D",
35
+ "blue-50": "#EFF6FF",
36
+ "blue-100": "#DBEAFE",
37
+ "blue-200": "#BFDBFE",
38
+ "blue-300": "#93C5FD",
39
+ "blue-400": "#60A5FA",
40
+ "blue-500": "#3B82F6",
41
+ "blue-600": "#2563EB",
42
+ "blue-700": "#1D4ED8",
43
+ "blue-800": "#1E40AF",
44
+ "blue-900": "#1E3A8A",
45
+ "green-50": "#ECFDF5",
46
+ "green-100": "#D1FAE5",
47
+ "green-200": "#A7F3D0",
48
+ "green-300": "#6EE7B7",
49
+ "green-400": "#34D399",
50
+ "green-500": "#10B981",
51
+ "green-600": "#059669",
52
+ "green-700": "#047857",
53
+ "green-800": "#065F46",
54
+ "green-900": "#064E3B",
55
+ "yellow-50": "#FFFBEB",
56
+ "yellow-100": "#FEF3C7",
57
+ "yellow-200": "#FDE68A",
58
+ "yellow-300": "#FCD34D",
59
+ "yellow-400": "#FBBF24",
60
+ "yellow-500": "#F59E0B",
61
+ "yellow-600": "#D97706",
62
+ "yellow-700": "#B45309",
63
+ "yellow-800": "#92400E",
64
+ "yellow-900": "#78350F",
65
+ "red-50": "#FEF2F2",
66
+ "red-100": "#FEE2E2",
67
+ "red-200": "#FECACA",
68
+ "red-300": "#FCA5A5",
69
+ "red-400": "#F87171",
70
+ "red-500": "#EF4444",
71
+ "red-600": "#DC2626",
72
+ "red-700": "#B91C1C",
73
+ "red-800": "#991B1B",
74
+ "red-900": "#7F1D1D",
75
+ "chart-blue-light": "#4570E8",
76
+ "chart-blue-dark": "#6B8FF5",
77
+ "chart-pink-light": "#D94F9A",
78
+ "chart-pink-dark": "#E870B8",
79
+ "chart-lavender-light": "#A888F0",
80
+ "chart-lavender-dark": "#C4A8F8",
81
+ "chart-sky-light": "#68C8F5",
82
+ "chart-sky-dark": "#8DD8F8",
83
+ "chart-rose-light": "#F0A0CC",
84
+ "chart-rose-dark": "#F8C0DE"
85
+ },
86
+ "spacing": {
87
+ "0": "0",
88
+ "1": "0.25rem",
89
+ "2": "0.5rem",
90
+ "3": "0.75rem",
91
+ "4": "1rem",
92
+ "5": "1.25rem",
93
+ "6": "1.5rem",
94
+ "7": "1.75rem",
95
+ "8": "2rem",
96
+ "10": "2.5rem",
97
+ "12": "3rem",
98
+ "14": "3.5rem",
99
+ "16": "4rem",
100
+ "20": "5rem",
101
+ "24": "6rem",
102
+ "0.5": "0.125rem",
103
+ "1.5": "0.375rem",
104
+ "2.5": "0.625rem"
105
+ },
106
+ "fontSize": {
107
+ "2xs": "0.6875rem",
108
+ "xs": "0.75rem",
109
+ "sm": "0.8125rem",
110
+ "md": "0.875rem",
111
+ "base": "1rem",
112
+ "lg": "1.125rem",
113
+ "xl": "1.25rem",
114
+ "2xl": "1.5rem",
115
+ "3xl": "1.875rem",
116
+ "4xl": "2.25rem",
117
+ "5xl": "3rem"
118
+ },
119
+ "lineHeight": {
120
+ "2xs": "1rem",
121
+ "xs": "1.125rem",
122
+ "sm": "1.25rem",
123
+ "md": "1.375rem",
124
+ "base": "1.625rem",
125
+ "lg": "1.75rem",
126
+ "xl": "1.875rem",
127
+ "2xl": "2.125rem",
128
+ "3xl": "2.5rem",
129
+ "4xl": "2.875rem",
130
+ "5xl": "3.625rem"
131
+ },
132
+ "borderRadius": {
133
+ "none": "0px",
134
+ "sm": "2px",
135
+ "base": "4px",
136
+ "md": "6px",
137
+ "lg": "8px",
138
+ "xl": "12px",
139
+ "2xl": "16px",
140
+ "3xl": "24px",
141
+ "full": "9999px"
142
+ },
143
+ "shadow": {
144
+ "xs": "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
145
+ "sm": "0 1px 3px 0 rgba(0, 0, 0, 0.1)",
146
+ "md": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
147
+ "lg": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
148
+ "xl": "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)",
149
+ "primary-glow": "0 0 0 4px color-mix(in srgb, var(--color-primary) 15%, transparent)"
150
+ },
151
+ "iconSize": {
152
+ "2xs": "0.75rem",
153
+ "xs": "0.875rem",
154
+ "sm": "1rem",
155
+ "md": "1.25rem",
156
+ "lg": "1.5rem",
157
+ "xl": "2rem"
158
+ },
159
+ "zIndex": {
160
+ "0": "0",
161
+ "10": "10",
162
+ "20": "20",
163
+ "30": "30",
164
+ "40": "40",
165
+ "50": "50",
166
+ "sticky": "100",
167
+ "dropdown": "1000",
168
+ "overlay": "1100",
169
+ "modal": "2000",
170
+ "popover": "2100",
171
+ "tooltip": "2200",
172
+ "toast": "3000"
173
+ },
174
+ "duration": {
175
+ "instant": "0ms",
176
+ "fast": "100ms",
177
+ "micro": "150ms",
178
+ "normal": "200ms",
179
+ "slow": "300ms",
180
+ "slower": "400ms",
181
+ "slowest": "500ms",
182
+ "spin": "1000ms"
183
+ },
184
+ "opacity": {
185
+ "0": "0",
186
+ "5": "0.05",
187
+ "10": "0.1",
188
+ "15": "0.15",
189
+ "20": "0.2",
190
+ "25": "0.25",
191
+ "30": "0.3",
192
+ "35": "0.35",
193
+ "40": "0.4",
194
+ "45": "0.45",
195
+ "50": "0.5",
196
+ "55": "0.55",
197
+ "60": "0.6",
198
+ "65": "0.65",
199
+ "70": "0.7",
200
+ "75": "0.75",
201
+ "80": "0.8",
202
+ "85": "0.85",
203
+ "90": "0.9",
204
+ "95": "0.95",
205
+ "100": "1"
206
+ },
207
+ "fontWeight": {
208
+ "normal": "400",
209
+ "semibold": "600",
210
+ "bold": "700"
211
+ },
212
+ "borderWidth": {
213
+ "0": "0px",
214
+ "1": "1px",
215
+ "2": "2px",
216
+ "4": "4px",
217
+ "8": "8px"
218
+ },
219
+ "scale": {
220
+ "50": "0.5",
221
+ "75": "0.75",
222
+ "95": "0.95",
223
+ "pressed": "0.98"
224
+ },
225
+ "easing": {
226
+ "linear": "linear",
227
+ "ease": "ease",
228
+ "easeIn": "ease-in",
229
+ "easeOut": "ease-out",
230
+ "easeInOut": "ease-in-out"
231
+ },
232
+ "breakpoint": {
233
+ "sm": "640px",
234
+ "md": "768px",
235
+ "lg": "1024px",
236
+ "xl": "1280px",
237
+ "2xl": "1536px"
238
+ },
239
+ "fontFamily": {
240
+ "sans": "Inter, -apple-system, BlinkMacSystemFont, sans-serif",
241
+ "mono": "'Fira Code', 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace"
242
+ },
243
+ "componentSize": {
244
+ "switch-track-sm-width": "24px",
245
+ "switch-track-sm-height": "14px",
246
+ "switch-track-default-width": "32px",
247
+ "switch-track-default-height": "18px",
248
+ "switch-track-lg-width": "40px",
249
+ "switch-track-lg-height": "22px",
250
+ "switch-thumb-sm": "12px",
251
+ "switch-thumb-default": "16px",
252
+ "switch-thumb-lg": "20px",
253
+ "slider-thumb-sm": "14px",
254
+ "slider-thumb-default": "18px",
255
+ "slider-thumb-lg": "22px"
256
+ },
257
+ "animation": {
258
+ "checkbox-enter-duration": "150ms",
259
+ "checkbox-enter-easing": "ease-out",
260
+ "checkbox-enter-opacity": "0",
261
+ "checkbox-enter-scale": "0.75",
262
+ "radio-enter-duration": "150ms",
263
+ "radio-enter-easing": "ease-out",
264
+ "radio-enter-opacity": "0",
265
+ "radio-enter-scale": "0.5",
266
+ "fade-in-duration": "200ms",
267
+ "fade-in-easing": "ease-out",
268
+ "fade-in-opacity": "0",
269
+ "fade-out-duration": "200ms",
270
+ "fade-out-easing": "ease-out",
271
+ "fade-out-opacity": "0",
272
+ "modal-overlay-enter-duration": "200ms",
273
+ "modal-overlay-enter-easing": "ease-out",
274
+ "modal-overlay-enter-opacity": "0",
275
+ "modal-overlay-exit-duration": "100ms",
276
+ "modal-overlay-exit-easing": "ease-out",
277
+ "modal-overlay-exit-opacity": "0",
278
+ "modal-content-enter-duration": "200ms",
279
+ "modal-content-enter-easing": "ease-out",
280
+ "modal-content-enter-opacity": "0",
281
+ "modal-content-enter-scale": "0.95",
282
+ "modal-content-enter-translateY": "8",
283
+ "modal-content-exit-duration": "100ms",
284
+ "modal-content-exit-easing": "ease-out",
285
+ "modal-content-exit-opacity": "0",
286
+ "modal-content-exit-scale": "0.95",
287
+ "modal-content-exit-translateY": "8",
288
+ "nav-viewport-enter-duration": "150ms",
289
+ "nav-viewport-enter-easing": "ease-out",
290
+ "nav-viewport-enter-opacity": "0",
291
+ "nav-viewport-enter-scale": "0.98",
292
+ "nav-viewport-enter-translateY": "2",
293
+ "nav-viewport-exit-duration": "100ms",
294
+ "nav-viewport-exit-easing": "ease-out",
295
+ "nav-viewport-exit-opacity": "0",
296
+ "nav-viewport-exit-scale": "0.98",
297
+ "nav-viewport-exit-translateY": "2",
298
+ "accordion-down-duration": "200ms",
299
+ "accordion-down-easing": "ease-out",
300
+ "accordion-down-heightVar": "--radix-accordion-content-height",
301
+ "accordion-up-duration": "200ms",
302
+ "accordion-up-easing": "ease-out",
303
+ "accordion-up-heightVar": "--radix-accordion-content-height",
304
+ "collapsible-down-duration": "200ms",
305
+ "collapsible-down-easing": "ease-out",
306
+ "collapsible-down-heightVar": "--radix-collapsible-content-height",
307
+ "collapsible-up-duration": "200ms",
308
+ "collapsible-up-easing": "ease-out",
309
+ "collapsible-up-heightVar": "--radix-collapsible-content-height",
310
+ "drawer-right-enter-duration": "300ms",
311
+ "drawer-right-enter-easing": "ease-out",
312
+ "drawer-right-enter-translateX": "100%",
313
+ "drawer-right-exit-duration": "200ms",
314
+ "drawer-right-exit-easing": "ease-out",
315
+ "drawer-right-exit-translateX": "100%",
316
+ "drawer-left-enter-duration": "300ms",
317
+ "drawer-left-enter-easing": "ease-out",
318
+ "drawer-left-enter-translateX": "100%",
319
+ "drawer-left-exit-duration": "200ms",
320
+ "drawer-left-exit-easing": "ease-out",
321
+ "drawer-left-exit-translateX": "100%",
322
+ "drawer-top-enter-duration": "300ms",
323
+ "drawer-top-enter-easing": "ease-out",
324
+ "drawer-top-enter-translateY": "100%",
325
+ "drawer-top-exit-duration": "200ms",
326
+ "drawer-top-exit-easing": "ease-out",
327
+ "drawer-top-exit-translateY": "100%",
328
+ "drawer-bottom-enter-duration": "300ms",
329
+ "drawer-bottom-enter-easing": "ease-out",
330
+ "drawer-bottom-enter-translateY": "100%",
331
+ "drawer-bottom-exit-duration": "200ms",
332
+ "drawer-bottom-exit-easing": "ease-out",
333
+ "drawer-bottom-exit-translateY": "100%",
334
+ "tooltip-top-enter-duration": "150ms",
335
+ "tooltip-top-enter-easing": "ease-out",
336
+ "tooltip-top-enter-opacity": "0",
337
+ "tooltip-top-enter-translateY": "4",
338
+ "tooltip-top-exit-duration": "100ms",
339
+ "tooltip-top-exit-easing": "ease-out",
340
+ "tooltip-top-exit-opacity": "0",
341
+ "tooltip-top-exit-translateY": "4",
342
+ "tooltip-bottom-enter-duration": "150ms",
343
+ "tooltip-bottom-enter-easing": "ease-out",
344
+ "tooltip-bottom-enter-opacity": "0",
345
+ "tooltip-bottom-enter-translateY": "4",
346
+ "tooltip-bottom-exit-duration": "100ms",
347
+ "tooltip-bottom-exit-easing": "ease-out",
348
+ "tooltip-bottom-exit-opacity": "0",
349
+ "tooltip-bottom-exit-translateY": "4",
350
+ "tooltip-right-enter-duration": "150ms",
351
+ "tooltip-right-enter-easing": "ease-out",
352
+ "tooltip-right-enter-opacity": "0",
353
+ "tooltip-right-enter-translateX": "4",
354
+ "tooltip-right-exit-duration": "100ms",
355
+ "tooltip-right-exit-easing": "ease-out",
356
+ "tooltip-right-exit-opacity": "0",
357
+ "tooltip-right-exit-translateX": "4",
358
+ "tooltip-left-enter-duration": "150ms",
359
+ "tooltip-left-enter-easing": "ease-out",
360
+ "tooltip-left-enter-opacity": "0",
361
+ "tooltip-left-enter-translateX": "4",
362
+ "tooltip-left-exit-duration": "100ms",
363
+ "tooltip-left-exit-easing": "ease-out",
364
+ "tooltip-left-exit-opacity": "0",
365
+ "tooltip-left-exit-translateX": "4",
366
+ "popover-top-enter-duration": "200ms",
367
+ "popover-top-enter-easing": "ease-out",
368
+ "popover-top-enter-opacity": "0",
369
+ "popover-top-enter-translateY": "4",
370
+ "popover-top-exit-duration": "100ms",
371
+ "popover-top-exit-easing": "ease-out",
372
+ "popover-top-exit-opacity": "0",
373
+ "popover-top-exit-translateY": "4",
374
+ "popover-bottom-enter-duration": "200ms",
375
+ "popover-bottom-enter-easing": "ease-out",
376
+ "popover-bottom-enter-opacity": "0",
377
+ "popover-bottom-enter-translateY": "4",
378
+ "popover-bottom-exit-duration": "100ms",
379
+ "popover-bottom-exit-easing": "ease-out",
380
+ "popover-bottom-exit-opacity": "0",
381
+ "popover-bottom-exit-translateY": "4",
382
+ "popover-right-enter-duration": "200ms",
383
+ "popover-right-enter-easing": "ease-out",
384
+ "popover-right-enter-opacity": "0",
385
+ "popover-right-enter-translateX": "4",
386
+ "popover-right-exit-duration": "100ms",
387
+ "popover-right-exit-easing": "ease-out",
388
+ "popover-right-exit-opacity": "0",
389
+ "popover-right-exit-translateX": "4",
390
+ "popover-left-enter-duration": "200ms",
391
+ "popover-left-enter-easing": "ease-out",
392
+ "popover-left-enter-opacity": "0",
393
+ "popover-left-enter-translateX": "4",
394
+ "popover-left-exit-duration": "100ms",
395
+ "popover-left-exit-easing": "ease-out",
396
+ "popover-left-exit-opacity": "0",
397
+ "popover-left-exit-translateX": "4",
398
+ "toast-slide-in-right-duration": "300ms",
399
+ "toast-slide-in-right-easing": "ease-out",
400
+ "toast-slide-in-right-opacity": "0",
401
+ "toast-slide-in-right-translateX": "100%",
402
+ "toast-slide-out-right-duration": "200ms",
403
+ "toast-slide-out-right-easing": "ease-out",
404
+ "toast-slide-out-right-opacity": "0",
405
+ "toast-slide-out-right-translateX": "100%",
406
+ "toast-slide-in-left-duration": "300ms",
407
+ "toast-slide-in-left-easing": "ease-out",
408
+ "toast-slide-in-left-opacity": "0",
409
+ "toast-slide-in-left-translateX": "100%",
410
+ "toast-slide-out-left-duration": "200ms",
411
+ "toast-slide-out-left-easing": "ease-out",
412
+ "toast-slide-out-left-opacity": "0",
413
+ "toast-slide-out-left-translateX": "100%",
414
+ "toast-slide-in-top-duration": "300ms",
415
+ "toast-slide-in-top-easing": "ease-out",
416
+ "toast-slide-in-top-opacity": "0",
417
+ "toast-slide-in-top-translateY": "100%",
418
+ "toast-slide-out-top-duration": "200ms",
419
+ "toast-slide-out-top-easing": "ease-out",
420
+ "toast-slide-out-top-opacity": "0",
421
+ "toast-slide-out-top-translateY": "100%",
422
+ "toast-slide-in-bottom-duration": "300ms",
423
+ "toast-slide-in-bottom-easing": "ease-out",
424
+ "toast-slide-in-bottom-opacity": "0",
425
+ "toast-slide-in-bottom-translateY": "100%",
426
+ "toast-slide-out-bottom-duration": "200ms",
427
+ "toast-slide-out-bottom-easing": "ease-out",
428
+ "toast-slide-out-bottom-opacity": "0",
429
+ "toast-slide-out-bottom-translateY": "100%",
430
+ "spin-duration": "1000ms",
431
+ "spin-easing": "linear",
432
+ "progress-stripe-duration": "1000ms",
433
+ "progress-stripe-easing": "linear",
434
+ "spinner-orbit-duration": "1000ms",
435
+ "spinner-orbit-easing": "linear",
436
+ "spinner-dot-duration": "1000ms",
437
+ "spinner-dot-easing": "ease-in-out",
438
+ "spinner-bar-duration": "1000ms",
439
+ "spinner-bar-easing": "ease-in-out",
440
+ "spinner-morph-duration": "1000ms",
441
+ "spinner-morph-easing": "ease-in-out",
442
+ "skeleton-pulse-duration": "1000ms",
443
+ "skeleton-pulse-easing": "ease-in-out",
444
+ "skeleton-wave-duration": "1000ms",
445
+ "skeleton-wave-easing": "linear"
446
+ }
447
+ }
package/package.json ADDED
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "@7onic-ui/tokens",
3
+ "version": "0.1.0",
4
+ "description": "Design tokens for 7onic Design System — CSS variables, Tailwind presets, JS, TypeScript",
5
+ "author": "7onic",
6
+ "license": "MIT",
7
+ "homepage": "https://7onic.design",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/itonys/7onic.git",
11
+ "directory": "tokens"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/itonys/7onic/issues"
15
+ },
16
+ "main": "./js/index.js",
17
+ "module": "./js/index.mjs",
18
+ "types": "./types/index.d.ts",
19
+ "exports": {
20
+ ".": {
21
+ "types": "./types/index.d.ts",
22
+ "import": "./js/index.mjs",
23
+ "require": "./js/index.js"
24
+ },
25
+ "./css": "./css/variables.css",
26
+ "./css/all.css": "./css/all.css",
27
+ "./css/variables.css": "./css/variables.css",
28
+ "./css/themes/light.css": "./css/themes/light.css",
29
+ "./css/themes/dark.css": "./css/themes/dark.css",
30
+ "./tailwind/v3-preset": "./tailwind/v3-preset.js",
31
+ "./tailwind/v3-preset.js": "./tailwind/v3-preset.js",
32
+ "./tailwind/v4-theme": "./tailwind/v4-theme.css",
33
+ "./tailwind/v4-theme.css": "./tailwind/v4-theme.css",
34
+ "./tailwind/v4.css": "./tailwind/v4.css",
35
+ "./json/tokens.json": "./json/tokens.json",
36
+ "./figma-tokens.json": "./figma-tokens.json"
37
+ },
38
+ "files": [
39
+ "css",
40
+ "tailwind",
41
+ "js",
42
+ "json",
43
+ "types",
44
+ "cli",
45
+ "figma-tokens.json"
46
+ ],
47
+ "bin": {
48
+ "sync-tokens": "./cli/sync.js"
49
+ },
50
+ "keywords": [
51
+ "design-tokens",
52
+ "css-variables",
53
+ "tailwindcss",
54
+ "design-system",
55
+ "7onic"
56
+ ],
57
+ "engines": {
58
+ "node": ">=18"
59
+ },
60
+ "sideEffects": [
61
+ "*.css"
62
+ ]
63
+ }