@synapsly/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,662 @@
1
+ {
2
+ "primitive": {
3
+ "color": {
4
+ "white": "#ffffff",
5
+ "black": "#000000",
6
+ "transparent": "transparent",
7
+ "neutral": {
8
+ "25": "#fcfbfb",
9
+ "50": "#f8f7f6",
10
+ "100": "#efedea",
11
+ "200": "#dedad5",
12
+ "300": "#ccc5be",
13
+ "400": "#beb6ad",
14
+ "500": "#b4aba3",
15
+ "600": "#9d9389",
16
+ "700": "#7e756e",
17
+ "800": "#645d57",
18
+ "900": "#514c47",
19
+ "950": "#2a2624",
20
+ "975": "#161413"
21
+ },
22
+ "brand": {
23
+ "25": "#fdfbf8",
24
+ "50": "#fbf7f1",
25
+ "100": "#f5ecdf",
26
+ "200": "#ead8bf",
27
+ "300": "#dec29d",
28
+ "400": "#d5b186",
29
+ "500": "#cca67b",
30
+ "600": "#b88c5d",
31
+ "700": "#966f49",
32
+ "800": "#76583b",
33
+ "900": "#604832",
34
+ "950": "#332419",
35
+ "975": "#1c130d"
36
+ },
37
+ "blue": {
38
+ "50": "#eff6ff",
39
+ "100": "#dbeafe",
40
+ "200": "#bfdbfe",
41
+ "300": "#93c5fd",
42
+ "400": "#60a5fa",
43
+ "500": "#3b82f6",
44
+ "600": "#2563eb",
45
+ "700": "#1d4ed8",
46
+ "800": "#1e40af",
47
+ "900": "#1e3a8a",
48
+ "950": "#172554"
49
+ },
50
+ "green": {
51
+ "50": "#f0fdf4",
52
+ "100": "#dcfce7",
53
+ "200": "#bbf7d0",
54
+ "300": "#86efac",
55
+ "400": "#4ade80",
56
+ "500": "#22c55e",
57
+ "600": "#16a34a",
58
+ "700": "#15803d",
59
+ "800": "#166534",
60
+ "900": "#14532d",
61
+ "950": "#052e16"
62
+ },
63
+ "yellow": {
64
+ "50": "#fefce8",
65
+ "100": "#fef9c3",
66
+ "200": "#fef08a",
67
+ "300": "#fde047",
68
+ "400": "#facc15",
69
+ "500": "#eab308",
70
+ "600": "#ca8a04",
71
+ "700": "#a16207",
72
+ "800": "#854d0e",
73
+ "900": "#713f12",
74
+ "950": "#422006"
75
+ },
76
+ "orange": {
77
+ "50": "#fff7ed",
78
+ "100": "#ffedd5",
79
+ "200": "#fed7aa",
80
+ "300": "#fdba74",
81
+ "400": "#fb923c",
82
+ "500": "#f97316",
83
+ "600": "#ea580c",
84
+ "700": "#c2410c",
85
+ "800": "#9a3412",
86
+ "900": "#7c2d12",
87
+ "950": "#431407"
88
+ },
89
+ "red": {
90
+ "50": "#fef2f2",
91
+ "100": "#fee2e2",
92
+ "200": "#fecaca",
93
+ "300": "#fca5a5",
94
+ "400": "#f87171",
95
+ "500": "#ef4444",
96
+ "600": "#dc2626",
97
+ "700": "#b91c1c",
98
+ "800": "#991b1b",
99
+ "900": "#7f1d1d",
100
+ "950": "#450a0a"
101
+ },
102
+ "purple": {
103
+ "50": "#faf5ff",
104
+ "100": "#f3e8ff",
105
+ "200": "#e9d5ff",
106
+ "300": "#d8b4fe",
107
+ "400": "#c084fc",
108
+ "500": "#a855f7",
109
+ "600": "#9333ea",
110
+ "700": "#7e22ce",
111
+ "800": "#6b21a8",
112
+ "900": "#581c87",
113
+ "950": "#3b0764"
114
+ },
115
+ "cyan": {
116
+ "50": "#ecfeff",
117
+ "100": "#cffafe",
118
+ "200": "#a5f3fc",
119
+ "300": "#67e8f9",
120
+ "400": "#22d3ee",
121
+ "500": "#06b6d4",
122
+ "600": "#0891b2",
123
+ "700": "#0e7490",
124
+ "800": "#155e75",
125
+ "900": "#164e63",
126
+ "950": "#083344"
127
+ },
128
+ "pink": {
129
+ "50": "#fdf2f8",
130
+ "100": "#fce7f3",
131
+ "200": "#fbcfe8",
132
+ "300": "#f9a8d4",
133
+ "400": "#f472b6",
134
+ "500": "#ec4899",
135
+ "600": "#db2777",
136
+ "700": "#be185d",
137
+ "800": "#9d174d",
138
+ "900": "#831843",
139
+ "950": "#500724"
140
+ }
141
+ },
142
+ "fontFamily": {
143
+ "sans": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
144
+ "serif": "ui-serif, Georgia, Cambria, \"Times New Roman\", Times, serif",
145
+ "mono": "\"SFMono-Regular\", Consolas, \"Liberation Mono\", Menlo, monospace"
146
+ },
147
+ "fontSize": {
148
+ "75": "0.75rem",
149
+ "87": "0.875rem",
150
+ "100": "1rem",
151
+ "112": "1.125rem",
152
+ "125": "1.25rem",
153
+ "150": "1.5rem",
154
+ "187": "1.875rem",
155
+ "225": "2.25rem",
156
+ "300": "3rem"
157
+ },
158
+ "fontWeight": {
159
+ "400": "400",
160
+ "500": "500",
161
+ "600": "600",
162
+ "700": "700"
163
+ },
164
+ "lineHeight": {
165
+ "100": "1",
166
+ "120": "1.2",
167
+ "150": "1.5",
168
+ "175": "1.75"
169
+ },
170
+ "letterSpacing": {
171
+ "0": "0",
172
+ "1": "0.01em",
173
+ "2": "0.02em",
174
+ "4": "0.04em",
175
+ "-2": "-0.02em",
176
+ "-1": "-0.01em"
177
+ },
178
+ "space": {
179
+ "0": "0",
180
+ "1": "0.25rem",
181
+ "2": "0.5rem",
182
+ "3": "0.75rem",
183
+ "4": "1rem",
184
+ "5": "1.25rem",
185
+ "6": "1.5rem",
186
+ "8": "2rem",
187
+ "10": "2.5rem",
188
+ "12": "3rem",
189
+ "16": "4rem",
190
+ "20": "5rem",
191
+ "24": "6rem",
192
+ "32": "8rem",
193
+ "64": "16rem"
194
+ },
195
+ "radius": {
196
+ "0": "0",
197
+ "2": "0.125rem",
198
+ "4": "0.25rem",
199
+ "8": "0.5rem",
200
+ "12": "0.75rem",
201
+ "9999": "9999px"
202
+ },
203
+ "shadow": {
204
+ "0": "none",
205
+ "1": "0 1px 2px rgb(17 24 39 / 8%)",
206
+ "2": "0 2px 8px rgb(17 24 39 / 10%)",
207
+ "3": "0 8px 24px rgb(17 24 39 / 12%)",
208
+ "4": "0 16px 40px rgb(17 24 39 / 16%)",
209
+ "5": "0 24px 64px rgb(17 24 39 / 20%)",
210
+ "inner": "inset 0 1px 2px rgb(17 24 39 / 8%)",
211
+ "focus": "0 0 0 3px rgb(184 140 93 / 28%)"
212
+ },
213
+ "zIndex": {
214
+ "0": "0",
215
+ "10": "10",
216
+ "100": "100",
217
+ "1000": "1000",
218
+ "1100": "1100",
219
+ "1200": "1200"
220
+ },
221
+ "duration": {
222
+ "0": "0ms",
223
+ "120": "120ms",
224
+ "200": "200ms",
225
+ "320": "320ms"
226
+ },
227
+ "easing": {
228
+ "standard": "cubic-bezier(0.2, 0, 0, 1)",
229
+ "emphasized": "cubic-bezier(0.2, 0, 0, 1)",
230
+ "entrance": "cubic-bezier(0, 0, 0.2, 1)",
231
+ "exit": "cubic-bezier(0.4, 0, 1, 1)"
232
+ },
233
+ "breakpoint": {
234
+ "360": "360px",
235
+ "640": "640px",
236
+ "768": "768px",
237
+ "1024": "1024px",
238
+ "1280": "1280px"
239
+ },
240
+ "opacity": {
241
+ "0": "0",
242
+ "40": "0.4",
243
+ "60": "0.6",
244
+ "64": "0.64",
245
+ "100": "1"
246
+ },
247
+ "borderWidth": {
248
+ "0": "0",
249
+ "1": "1px",
250
+ "2": "2px",
251
+ "4": "4px"
252
+ },
253
+ "borderStyle": {
254
+ "solid": "solid",
255
+ "dashed": "dashed"
256
+ },
257
+ "iconSize": {
258
+ "12": "0.75rem",
259
+ "16": "1rem",
260
+ "20": "1.25rem",
261
+ "24": "1.5rem",
262
+ "32": "2rem"
263
+ }
264
+ },
265
+ "semantic": {
266
+ "color": {
267
+ "bg": {
268
+ "canvas": "#ffffff",
269
+ "surface": "#f8f7f6",
270
+ "elevated": "#ffffff",
271
+ "inverse": "#2a2624",
272
+ "disabled": "#efedea",
273
+ "overlay": "rgb(3 7 18 / 60%)"
274
+ },
275
+ "fg": {
276
+ "primary": "#2a2624",
277
+ "secondary": "#9d9389",
278
+ "tertiary": "#b4aba3",
279
+ "inverse": "#ffffff",
280
+ "disabled": "#beb6ad",
281
+ "brand": "#966f49",
282
+ "success": "#15803d",
283
+ "warning": "#a16207",
284
+ "danger": "#b91c1c",
285
+ "info": "#0e7490"
286
+ },
287
+ "border": {
288
+ "subtle": "#efedea",
289
+ "default": "#dedad5",
290
+ "strong": "#beb6ad",
291
+ "focus": "#b88c5d",
292
+ "disabled": "#dedad5",
293
+ "success": "#86efac",
294
+ "warning": "#fde047",
295
+ "danger": "#fca5a5"
296
+ },
297
+ "action": {
298
+ "primary": {
299
+ "bg": "#cca67b",
300
+ "bgHover": "#b88c5d",
301
+ "bgActive": "#966f49",
302
+ "border": "#cca67b",
303
+ "icon": "#ffffff",
304
+ "fg": "#ffffff"
305
+ },
306
+ "secondary": {
307
+ "bg": "#fbf7f1",
308
+ "bgHover": "#f5ecdf",
309
+ "bgActive": "#ead8bf",
310
+ "border": "#ead8bf",
311
+ "icon": "#76583b",
312
+ "fg": "#76583b"
313
+ },
314
+ "danger": {
315
+ "bg": "#dc2626",
316
+ "bgHover": "#b91c1c",
317
+ "bgActive": "#991b1b",
318
+ "border": "#dc2626",
319
+ "icon": "#ffffff",
320
+ "fg": "#ffffff"
321
+ },
322
+ "disabled": {
323
+ "bg": "#dedad5",
324
+ "border": "#dedad5",
325
+ "icon": "#beb6ad",
326
+ "fg": "#beb6ad"
327
+ }
328
+ },
329
+ "state": {
330
+ "hover": {
331
+ "bg": "#efedea"
332
+ },
333
+ "pressed": {
334
+ "bg": "#dedad5"
335
+ },
336
+ "selected": {
337
+ "bg": "#fbf7f1",
338
+ "border": "#cca67b",
339
+ "fg": "#76583b"
340
+ },
341
+ "focus": {
342
+ "ring": "#b88c5d"
343
+ },
344
+ "loading": {
345
+ "bg": "#efedea",
346
+ "fg": "#b4aba3"
347
+ },
348
+ "visited": {
349
+ "fg": "#7e22ce"
350
+ },
351
+ "readonly": {
352
+ "bg": "#f8f7f6",
353
+ "border": "#dedad5",
354
+ "fg": "#7e756e"
355
+ }
356
+ },
357
+ "form": {
358
+ "bg": "#ffffff",
359
+ "bgHover": "#f8f7f6",
360
+ "border": "#ccc5be",
361
+ "borderHover": "#beb6ad",
362
+ "borderFocus": "#b88c5d",
363
+ "borderInvalid": "#dc2626",
364
+ "fg": "#2a2624",
365
+ "placeholder": "#b4aba3",
366
+ "caret": "#966f49",
367
+ "disabled": {
368
+ "bg": "#efedea",
369
+ "border": "#dedad5",
370
+ "fg": "#beb6ad"
371
+ },
372
+ "readonly": {
373
+ "bg": "#f8f7f6",
374
+ "border": "#dedad5",
375
+ "fg": "#7e756e"
376
+ }
377
+ },
378
+ "feedback": {
379
+ "success": {
380
+ "bg": "#f0fdf4",
381
+ "fg": "#15803d"
382
+ },
383
+ "warning": {
384
+ "bg": "#fefce8",
385
+ "fg": "#a16207"
386
+ },
387
+ "danger": {
388
+ "bg": "#fef2f2",
389
+ "fg": "#b91c1c"
390
+ },
391
+ "info": {
392
+ "bg": "#ecfeff",
393
+ "fg": "#0e7490"
394
+ }
395
+ }
396
+ },
397
+ "typography": {
398
+ "fontFamily": {
399
+ "body": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
400
+ "heading": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
401
+ "code": "\"SFMono-Regular\", Consolas, \"Liberation Mono\", Menlo, monospace"
402
+ },
403
+ "fontSize": {
404
+ "xs": "0.75rem",
405
+ "sm": "0.875rem",
406
+ "md": "1rem",
407
+ "lg": "1.125rem",
408
+ "xl": "1.25rem",
409
+ "2xl": "1.5rem",
410
+ "3xl": "1.875rem",
411
+ "4xl": "2.25rem"
412
+ },
413
+ "fontWeight": {
414
+ "regular": "400",
415
+ "medium": "500",
416
+ "semibold": "600",
417
+ "bold": "700"
418
+ },
419
+ "lineHeight": {
420
+ "tight": "1.2",
421
+ "normal": "1.5",
422
+ "relaxed": "1.75"
423
+ },
424
+ "letterSpacing": {
425
+ "tighter": "-0.02em",
426
+ "tight": "-0.01em",
427
+ "normal": "0",
428
+ "wide": "0.01em",
429
+ "wider": "0.02em",
430
+ "widest": "0.04em"
431
+ },
432
+ "text": {
433
+ "display": {
434
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
435
+ "fontSize": "2.25rem",
436
+ "fontWeight": "700",
437
+ "lineHeight": "1.2",
438
+ "letterSpacing": "-0.01em"
439
+ },
440
+ "heading": {
441
+ "lg": {
442
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
443
+ "fontSize": "1.875rem",
444
+ "fontWeight": "700",
445
+ "lineHeight": "1.2",
446
+ "letterSpacing": "-0.01em"
447
+ },
448
+ "md": {
449
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
450
+ "fontSize": "1.5rem",
451
+ "fontWeight": "600",
452
+ "lineHeight": "1.2",
453
+ "letterSpacing": "0"
454
+ },
455
+ "sm": {
456
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
457
+ "fontSize": "1.25rem",
458
+ "fontWeight": "600",
459
+ "lineHeight": "1.2",
460
+ "letterSpacing": "0"
461
+ }
462
+ },
463
+ "body": {
464
+ "lg": {
465
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
466
+ "fontSize": "1.125rem",
467
+ "fontWeight": "400",
468
+ "lineHeight": "1.5",
469
+ "letterSpacing": "0"
470
+ },
471
+ "md": {
472
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
473
+ "fontSize": "1rem",
474
+ "fontWeight": "400",
475
+ "lineHeight": "1.5",
476
+ "letterSpacing": "0"
477
+ },
478
+ "sm": {
479
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
480
+ "fontSize": "0.875rem",
481
+ "fontWeight": "400",
482
+ "lineHeight": "1.5",
483
+ "letterSpacing": "0"
484
+ }
485
+ },
486
+ "label": {
487
+ "md": {
488
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
489
+ "fontSize": "0.875rem",
490
+ "fontWeight": "500",
491
+ "lineHeight": "1.2",
492
+ "letterSpacing": "0"
493
+ },
494
+ "sm": {
495
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
496
+ "fontSize": "0.75rem",
497
+ "fontWeight": "500",
498
+ "lineHeight": "1.2",
499
+ "letterSpacing": "0.01em"
500
+ }
501
+ },
502
+ "caption": {
503
+ "fontFamily": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
504
+ "fontSize": "0.75rem",
505
+ "fontWeight": "400",
506
+ "lineHeight": "1.5",
507
+ "letterSpacing": "0"
508
+ },
509
+ "code": {
510
+ "fontFamily": "\"SFMono-Regular\", Consolas, \"Liberation Mono\", Menlo, monospace",
511
+ "fontSize": "0.875rem",
512
+ "fontWeight": "400",
513
+ "lineHeight": "1.5",
514
+ "letterSpacing": "0"
515
+ }
516
+ }
517
+ },
518
+ "spacing": {
519
+ "none": "0",
520
+ "2xs": "0.25rem",
521
+ "xs": "0.5rem",
522
+ "sm": "0.75rem",
523
+ "md": "1rem",
524
+ "lg": "1.5rem",
525
+ "xl": "2rem",
526
+ "2xl": "3rem",
527
+ "3xl": "4rem",
528
+ "4xl": "8rem"
529
+ },
530
+ "radius": {
531
+ "none": "0",
532
+ "xs": "0.125rem",
533
+ "sm": "0.25rem",
534
+ "md": "0.5rem",
535
+ "lg": "0.75rem",
536
+ "full": "9999px"
537
+ },
538
+ "shadow": {
539
+ "none": "none",
540
+ "sm": "0 1px 2px rgb(17 24 39 / 8%)",
541
+ "md": "0 8px 24px rgb(17 24 39 / 12%)",
542
+ "lg": "0 16px 40px rgb(17 24 39 / 16%)",
543
+ "focus": "0 0 0 3px rgb(184 140 93 / 28%)"
544
+ },
545
+ "zIndex": {
546
+ "base": "0",
547
+ "raised": "10",
548
+ "sticky": "100",
549
+ "overlay": "1000",
550
+ "modal": "1100",
551
+ "toast": "1200"
552
+ },
553
+ "motion": {
554
+ "duration": {
555
+ "instant": "0ms",
556
+ "fast": "120ms",
557
+ "normal": "200ms",
558
+ "slow": "320ms"
559
+ },
560
+ "easing": {
561
+ "standard": "cubic-bezier(0.2, 0, 0, 1)",
562
+ "emphasized": "cubic-bezier(0.2, 0, 0, 1)",
563
+ "entrance": "cubic-bezier(0, 0, 0.2, 1)",
564
+ "exit": "cubic-bezier(0.4, 0, 1, 1)"
565
+ }
566
+ },
567
+ "breakpoint": {
568
+ "xs": "360px",
569
+ "sm": "640px",
570
+ "md": "768px",
571
+ "lg": "1024px",
572
+ "xl": "1280px"
573
+ },
574
+ "opacity": {
575
+ "disabled": "0.4",
576
+ "muted": "0.64",
577
+ "overlay": "0.6"
578
+ },
579
+ "border": {
580
+ "width": {
581
+ "none": "0",
582
+ "thin": "1px",
583
+ "medium": "2px",
584
+ "thick": "4px"
585
+ },
586
+ "style": {
587
+ "solid": "solid",
588
+ "dashed": "dashed"
589
+ }
590
+ },
591
+ "iconSize": {
592
+ "xs": "0.75rem",
593
+ "sm": "1rem",
594
+ "md": "1.25rem",
595
+ "lg": "1.5rem",
596
+ "xl": "2rem"
597
+ },
598
+ "size": {
599
+ "control": {
600
+ "sm": "2rem",
601
+ "md": "2.5rem",
602
+ "lg": "3rem"
603
+ },
604
+ "iconButton": {
605
+ "sm": "2rem",
606
+ "md": "2.5rem",
607
+ "lg": "3rem"
608
+ }
609
+ },
610
+ "padding": {
611
+ "control": {
612
+ "x": {
613
+ "sm": "0.75rem",
614
+ "md": "1rem",
615
+ "lg": "1.25rem"
616
+ },
617
+ "y": {
618
+ "sm": "0.25rem",
619
+ "md": "0.5rem",
620
+ "lg": "0.75rem"
621
+ }
622
+ },
623
+ "page": {
624
+ "xMobile": "1rem",
625
+ "xDesktop": "2rem"
626
+ }
627
+ },
628
+ "gap": {
629
+ "inline": {
630
+ "sm": "0.25rem",
631
+ "md": "0.5rem",
632
+ "lg": "0.75rem"
633
+ },
634
+ "stack": {
635
+ "sm": "0.5rem",
636
+ "md": "1rem",
637
+ "lg": "1.5rem"
638
+ },
639
+ "section": {
640
+ "sm": "2rem",
641
+ "md": "3rem",
642
+ "lg": "4rem"
643
+ }
644
+ },
645
+ "layout": {
646
+ "container": {
647
+ "sm": "640px",
648
+ "md": "768px",
649
+ "lg": "1024px",
650
+ "xl": "1280px"
651
+ },
652
+ "gutter": {
653
+ "mobile": "1rem",
654
+ "desktop": "2rem"
655
+ },
656
+ "sidebar": {
657
+ "width": "16rem",
658
+ "collapsedWidth": "4rem"
659
+ }
660
+ }
661
+ }
662
+ }