@recanica/tokens 0.0.0-stage → 0.2.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,779 @@
1
+ {
2
+ "primitive": {
3
+ "rc": {
4
+ "gray": {
5
+ "0": {
6
+ "$type": "color",
7
+ "$value": "#ffffff",
8
+ "$extensions": {
9
+ "com.recanica": {
10
+ "oklch": "oklch(1 0 0)"
11
+ }
12
+ }
13
+ },
14
+ "50": {
15
+ "$type": "color",
16
+ "$value": "#fafafa",
17
+ "$extensions": {
18
+ "com.recanica": {
19
+ "oklch": "oklch(0.985 0 0)"
20
+ }
21
+ }
22
+ },
23
+ "100": {
24
+ "$type": "color",
25
+ "$value": "#f4f4f4",
26
+ "$extensions": {
27
+ "com.recanica": {
28
+ "oklch": "oklch(0.967 0 0)"
29
+ }
30
+ }
31
+ },
32
+ "200": {
33
+ "$type": "color",
34
+ "$value": "#e5e5e5",
35
+ "$extensions": {
36
+ "com.recanica": {
37
+ "oklch": "oklch(0.922 0 0)"
38
+ }
39
+ }
40
+ },
41
+ "300": {
42
+ "$type": "color",
43
+ "$value": "#d4d4d4",
44
+ "$extensions": {
45
+ "com.recanica": {
46
+ "oklch": "oklch(0.87 0 0)"
47
+ }
48
+ }
49
+ },
50
+ "400": {
51
+ "$type": "color",
52
+ "$value": "#a1a1a1",
53
+ "$extensions": {
54
+ "com.recanica": {
55
+ "oklch": "oklch(0.708 0 0)"
56
+ }
57
+ }
58
+ },
59
+ "450": {
60
+ "$type": "color",
61
+ "$value": "#8c8c8c",
62
+ "$extensions": {
63
+ "com.recanica": {
64
+ "oklch": "oklch(0.64 0 0)"
65
+ }
66
+ }
67
+ },
68
+ "500": {
69
+ "$type": "color",
70
+ "$value": "#737373",
71
+ "$extensions": {
72
+ "com.recanica": {
73
+ "oklch": "oklch(0.556 0 0)"
74
+ }
75
+ }
76
+ },
77
+ "600": {
78
+ "$type": "color",
79
+ "$value": "#525252",
80
+ "$extensions": {
81
+ "com.recanica": {
82
+ "oklch": "oklch(0.439 0 0)"
83
+ }
84
+ }
85
+ },
86
+ "700": {
87
+ "$type": "color",
88
+ "$value": "#404040",
89
+ "$extensions": {
90
+ "com.recanica": {
91
+ "oklch": "oklch(0.371 0 0)"
92
+ }
93
+ }
94
+ },
95
+ "800": {
96
+ "$type": "color",
97
+ "$value": "#262626",
98
+ "$extensions": {
99
+ "com.recanica": {
100
+ "oklch": "oklch(0.269 0 0)"
101
+ }
102
+ }
103
+ },
104
+ "850": {
105
+ "$type": "color",
106
+ "$value": "#1e1e1e",
107
+ "$extensions": {
108
+ "com.recanica": {
109
+ "oklch": "oklch(0.235 0 0)"
110
+ }
111
+ }
112
+ },
113
+ "900": {
114
+ "$type": "color",
115
+ "$value": "#161616",
116
+ "$extensions": {
117
+ "com.recanica": {
118
+ "oklch": "oklch(0.2 0 0)"
119
+ }
120
+ }
121
+ },
122
+ "950": {
123
+ "$type": "color",
124
+ "$value": "#0d0d0d",
125
+ "$extensions": {
126
+ "com.recanica": {
127
+ "oklch": "oklch(0.16 0 0)"
128
+ }
129
+ }
130
+ },
131
+ "1000": {
132
+ "$type": "color",
133
+ "$value": "#020202",
134
+ "$extensions": {
135
+ "com.recanica": {
136
+ "oklch": "oklch(0.09 0 0)"
137
+ }
138
+ }
139
+ }
140
+ },
141
+ "silver": {
142
+ "50": {
143
+ "$type": "color",
144
+ "$value": "#f6f7f8",
145
+ "$extensions": {
146
+ "com.recanica": {
147
+ "oklch": "oklch(0.975 0.002 260)"
148
+ }
149
+ }
150
+ },
151
+ "100": {
152
+ "$type": "color",
153
+ "$value": "#e7e8ea",
154
+ "$extensions": {
155
+ "com.recanica": {
156
+ "oklch": "oklch(0.93 0.003 260)"
157
+ }
158
+ }
159
+ },
160
+ "200": {
161
+ "$type": "color",
162
+ "$value": "#cfd1d4",
163
+ "$extensions": {
164
+ "com.recanica": {
165
+ "oklch": "oklch(0.86 0.004 260)"
166
+ }
167
+ }
168
+ },
169
+ "300": {
170
+ "$type": "color",
171
+ "$value": "#afb1b4",
172
+ "$extensions": {
173
+ "com.recanica": {
174
+ "oklch": "oklch(0.76 0.005 260)"
175
+ }
176
+ }
177
+ },
178
+ "400": {
179
+ "$type": "color",
180
+ "$value": "#8a8c90",
181
+ "$extensions": {
182
+ "com.recanica": {
183
+ "oklch": "oklch(0.64 0.006 260)"
184
+ }
185
+ }
186
+ },
187
+ "500": {
188
+ "$type": "color",
189
+ "$value": "#67696c",
190
+ "$extensions": {
191
+ "com.recanica": {
192
+ "oklch": "oklch(0.52 0.006 260)"
193
+ }
194
+ }
195
+ }
196
+ },
197
+ "red": {
198
+ "400": {
199
+ "$type": "color",
200
+ "$value": "#ea6a6a",
201
+ "$extensions": {
202
+ "com.recanica": {
203
+ "oklch": "oklch(0.68 0.16 22)"
204
+ }
205
+ }
206
+ },
207
+ "500": {
208
+ "$type": "color",
209
+ "$value": "#db4241",
210
+ "$extensions": {
211
+ "com.recanica": {
212
+ "oklch": "oklch(0.6 0.19 25)"
213
+ }
214
+ }
215
+ }
216
+ },
217
+ "green": {
218
+ "500": {
219
+ "$type": "color",
220
+ "$value": "#46a16b",
221
+ "$extensions": {
222
+ "com.recanica": {
223
+ "oklch": "oklch(0.64 0.12 155)"
224
+ }
225
+ }
226
+ }
227
+ },
228
+ "amber": {
229
+ "500": {
230
+ "$type": "color",
231
+ "$value": "#dda552",
232
+ "$extensions": {
233
+ "com.recanica": {
234
+ "oklch": "oklch(0.76 0.12 75)"
235
+ }
236
+ }
237
+ }
238
+ }
239
+ }
240
+ },
241
+ "light": {
242
+ "color": {
243
+ "background": {
244
+ "$type": "color",
245
+ "$value": "{rc.gray.0}"
246
+ },
247
+ "foreground": {
248
+ "$type": "color",
249
+ "$value": "{rc.gray.950}"
250
+ },
251
+ "surface": {
252
+ "$type": "color",
253
+ "$value": "{rc.gray.50}"
254
+ },
255
+ "panel": {
256
+ "$type": "color",
257
+ "$value": "{rc.gray.0}"
258
+ },
259
+ "card": {
260
+ "$type": "color",
261
+ "$value": "{rc.gray.0}"
262
+ },
263
+ "card-foreground": {
264
+ "$type": "color",
265
+ "$value": "{rc.gray.950}"
266
+ },
267
+ "popover": {
268
+ "$type": "color",
269
+ "$value": "{rc.gray.0}"
270
+ },
271
+ "popover-foreground": {
272
+ "$type": "color",
273
+ "$value": "{rc.gray.950}"
274
+ },
275
+ "primary": {
276
+ "$type": "color",
277
+ "$value": "{rc.gray.950}"
278
+ },
279
+ "primary-foreground": {
280
+ "$type": "color",
281
+ "$value": "{rc.gray.50}"
282
+ },
283
+ "secondary": {
284
+ "$type": "color",
285
+ "$value": "{rc.gray.100}"
286
+ },
287
+ "secondary-foreground": {
288
+ "$type": "color",
289
+ "$value": "{rc.gray.900}"
290
+ },
291
+ "muted": {
292
+ "$type": "color",
293
+ "$value": "{rc.gray.100}"
294
+ },
295
+ "muted-foreground": {
296
+ "$type": "color",
297
+ "$value": "{rc.gray.500}"
298
+ },
299
+ "accent": {
300
+ "$type": "color",
301
+ "$value": "{rc.gray.100}"
302
+ },
303
+ "accent-foreground": {
304
+ "$type": "color",
305
+ "$value": "{rc.gray.900}"
306
+ },
307
+ "brand": {
308
+ "$type": "color",
309
+ "$value": "{rc.gray.900}"
310
+ },
311
+ "brand-foreground": {
312
+ "$type": "color",
313
+ "$value": "{rc.gray.0}"
314
+ },
315
+ "destructive": {
316
+ "$type": "color",
317
+ "$value": "{rc.red.500}"
318
+ },
319
+ "destructive-foreground": {
320
+ "$type": "color",
321
+ "$value": "{rc.gray.0}"
322
+ },
323
+ "success": {
324
+ "$type": "color",
325
+ "$value": "{rc.green.500}"
326
+ },
327
+ "warning": {
328
+ "$type": "color",
329
+ "$value": "{rc.amber.500}"
330
+ },
331
+ "border": {
332
+ "$type": "color",
333
+ "$value": "{rc.gray.200}"
334
+ },
335
+ "input": {
336
+ "$type": "color",
337
+ "$value": "{rc.gray.200}"
338
+ },
339
+ "ring": {
340
+ "$type": "color",
341
+ "$value": "{rc.gray.500}"
342
+ },
343
+ "sidebar": {
344
+ "$type": "color",
345
+ "$value": "{rc.gray.100}"
346
+ },
347
+ "sidebar-foreground": {
348
+ "$type": "color",
349
+ "$value": "{rc.gray.500}"
350
+ },
351
+ "sidebar-accent": {
352
+ "$type": "color",
353
+ "$value": "{rc.gray.200}"
354
+ },
355
+ "sidebar-border": {
356
+ "$type": "color",
357
+ "$value": "{rc.gray.200}"
358
+ },
359
+ "sidebar-primary": {
360
+ "$type": "color",
361
+ "$value": "{rc.gray.950}"
362
+ },
363
+ "sidebar-primary-foreground": {
364
+ "$type": "color",
365
+ "$value": "{rc.gray.0}"
366
+ },
367
+ "sidebar-accent-foreground": {
368
+ "$type": "color",
369
+ "$value": "{rc.gray.950}"
370
+ },
371
+ "sidebar-ring": {
372
+ "$type": "color",
373
+ "$value": "{rc.gray.500}"
374
+ },
375
+ "chart-1": {
376
+ "$type": "color",
377
+ "$value": "{rc.gray.950}"
378
+ },
379
+ "chart-2": {
380
+ "$type": "color",
381
+ "$value": "{rc.gray.700}"
382
+ },
383
+ "chart-3": {
384
+ "$type": "color",
385
+ "$value": "{rc.gray.500}"
386
+ },
387
+ "chart-4": {
388
+ "$type": "color",
389
+ "$value": "{rc.gray.400}"
390
+ },
391
+ "chart-5": {
392
+ "$type": "color",
393
+ "$value": "{rc.gray.300}"
394
+ }
395
+ }
396
+ },
397
+ "dark": {
398
+ "color": {
399
+ "background": {
400
+ "$type": "color",
401
+ "$value": "{rc.gray.1000}"
402
+ },
403
+ "foreground": {
404
+ "$type": "color",
405
+ "$value": "{rc.gray.50}"
406
+ },
407
+ "surface": {
408
+ "$type": "color",
409
+ "$value": "{rc.gray.950}"
410
+ },
411
+ "panel": {
412
+ "$type": "color",
413
+ "$value": "{rc.gray.950}"
414
+ },
415
+ "card": {
416
+ "$type": "color",
417
+ "$value": "{rc.gray.950}"
418
+ },
419
+ "card-foreground": {
420
+ "$type": "color",
421
+ "$value": "{rc.gray.50}"
422
+ },
423
+ "popover": {
424
+ "$type": "color",
425
+ "$value": "{rc.gray.900}"
426
+ },
427
+ "popover-foreground": {
428
+ "$type": "color",
429
+ "$value": "{rc.gray.50}"
430
+ },
431
+ "primary": {
432
+ "$type": "color",
433
+ "$value": "{rc.gray.50}"
434
+ },
435
+ "primary-foreground": {
436
+ "$type": "color",
437
+ "$value": "{rc.gray.950}"
438
+ },
439
+ "secondary": {
440
+ "$type": "color",
441
+ "$value": "{rc.gray.900}"
442
+ },
443
+ "secondary-foreground": {
444
+ "$type": "color",
445
+ "$value": "{rc.gray.100}"
446
+ },
447
+ "muted": {
448
+ "$type": "color",
449
+ "$value": "{rc.gray.900}"
450
+ },
451
+ "muted-foreground": {
452
+ "$type": "color",
453
+ "$value": "{rc.gray.450}"
454
+ },
455
+ "accent": {
456
+ "$type": "color",
457
+ "$value": "{rc.gray.900}"
458
+ },
459
+ "accent-foreground": {
460
+ "$type": "color",
461
+ "$value": "{rc.gray.50}"
462
+ },
463
+ "brand": {
464
+ "$type": "color",
465
+ "$value": "{rc.silver.200}"
466
+ },
467
+ "brand-foreground": {
468
+ "$type": "color",
469
+ "$value": "{rc.gray.950}"
470
+ },
471
+ "destructive": {
472
+ "$type": "color",
473
+ "$value": "{rc.red.400}"
474
+ },
475
+ "destructive-foreground": {
476
+ "$type": "color",
477
+ "$value": "{rc.gray.0}"
478
+ },
479
+ "success": {
480
+ "$type": "color",
481
+ "$value": "{rc.green.500}"
482
+ },
483
+ "warning": {
484
+ "$type": "color",
485
+ "$value": "{rc.amber.500}"
486
+ },
487
+ "border": {
488
+ "$type": "color",
489
+ "$value": "{rc.gray.850}"
490
+ },
491
+ "input": {
492
+ "$type": "color",
493
+ "$value": "{rc.gray.800}"
494
+ },
495
+ "ring": {
496
+ "$type": "color",
497
+ "$value": "{rc.silver.300}"
498
+ },
499
+ "sidebar": {
500
+ "$type": "color",
501
+ "$value": "{rc.gray.1000}"
502
+ },
503
+ "sidebar-foreground": {
504
+ "$type": "color",
505
+ "$value": "{rc.gray.450}"
506
+ },
507
+ "sidebar-accent": {
508
+ "$type": "color",
509
+ "$value": "{rc.gray.900}"
510
+ },
511
+ "sidebar-border": {
512
+ "$type": "color",
513
+ "$value": "{rc.gray.850}"
514
+ },
515
+ "sidebar-primary": {
516
+ "$type": "color",
517
+ "$value": "{rc.gray.50}"
518
+ },
519
+ "sidebar-primary-foreground": {
520
+ "$type": "color",
521
+ "$value": "{rc.gray.950}"
522
+ },
523
+ "sidebar-accent-foreground": {
524
+ "$type": "color",
525
+ "$value": "{rc.gray.50}"
526
+ },
527
+ "sidebar-ring": {
528
+ "$type": "color",
529
+ "$value": "{rc.silver.300}"
530
+ },
531
+ "chart-1": {
532
+ "$type": "color",
533
+ "$value": "{rc.gray.50}"
534
+ },
535
+ "chart-2": {
536
+ "$type": "color",
537
+ "$value": "{rc.silver.200}"
538
+ },
539
+ "chart-3": {
540
+ "$type": "color",
541
+ "$value": "{rc.silver.400}"
542
+ },
543
+ "chart-4": {
544
+ "$type": "color",
545
+ "$value": "{rc.gray.600}"
546
+ },
547
+ "chart-5": {
548
+ "$type": "color",
549
+ "$value": "{rc.gray.700}"
550
+ }
551
+ }
552
+ },
553
+ "dimension": {
554
+ "radius": {
555
+ "base": {
556
+ "$type": "dimension",
557
+ "$value": "12px",
558
+ "$extensions": {
559
+ "com.recanica": {
560
+ "css": "0.75rem",
561
+ "cssVar": "--radius"
562
+ }
563
+ }
564
+ },
565
+ "sm": {
566
+ "$type": "dimension",
567
+ "$value": "8px",
568
+ "$extensions": {
569
+ "com.recanica": {
570
+ "css": "calc(var(--radius) - 4px)"
571
+ }
572
+ }
573
+ },
574
+ "md": {
575
+ "$type": "dimension",
576
+ "$value": "10px",
577
+ "$extensions": {
578
+ "com.recanica": {
579
+ "css": "calc(var(--radius) - 2px)"
580
+ }
581
+ }
582
+ },
583
+ "lg": {
584
+ "$type": "dimension",
585
+ "$value": "12px",
586
+ "$extensions": {
587
+ "com.recanica": {
588
+ "css": "var(--radius)"
589
+ }
590
+ }
591
+ },
592
+ "xl": {
593
+ "$type": "dimension",
594
+ "$value": "16px",
595
+ "$extensions": {
596
+ "com.recanica": {
597
+ "css": "calc(var(--radius) + 4px)"
598
+ }
599
+ }
600
+ },
601
+ "2xl": {
602
+ "$type": "dimension",
603
+ "$value": "20px",
604
+ "$extensions": {
605
+ "com.recanica": {
606
+ "css": "calc(var(--radius) + 8px)"
607
+ }
608
+ }
609
+ },
610
+ "full": {
611
+ "$type": "dimension",
612
+ "$value": "9999px"
613
+ }
614
+ },
615
+ "spacing": {
616
+ "unit": {
617
+ "$type": "dimension",
618
+ "$value": "4px",
619
+ "$description": "Base grid. Tailwind p-1 = 4px."
620
+ },
621
+ "gutter": {
622
+ "$type": "dimension",
623
+ "$value": "16px",
624
+ "$extensions": {
625
+ "com.recanica": {
626
+ "css": "clamp(1rem, 3vw, 2.5rem)"
627
+ }
628
+ },
629
+ "$description": "Page side padding"
630
+ },
631
+ "section": {
632
+ "$type": "dimension",
633
+ "$value": "64px",
634
+ "$extensions": {
635
+ "com.recanica": {
636
+ "css": "clamp(4rem, 10vw, 8rem)"
637
+ }
638
+ },
639
+ "$description": "Landing section rhythm"
640
+ },
641
+ "section-sm": {
642
+ "$type": "dimension",
643
+ "$value": "48px",
644
+ "$extensions": {
645
+ "com.recanica": {
646
+ "css": "clamp(3rem, 6vw, 5rem)"
647
+ }
648
+ }
649
+ },
650
+ "panel": {
651
+ "$type": "dimension",
652
+ "$value": "28px",
653
+ "$extensions": {
654
+ "com.recanica": {
655
+ "css": "1.75rem"
656
+ }
657
+ },
658
+ "$description": "Card / stat padding"
659
+ },
660
+ "stack": {
661
+ "$type": "dimension",
662
+ "$value": "40px",
663
+ "$extensions": {
664
+ "com.recanica": {
665
+ "css": "2.5rem"
666
+ }
667
+ },
668
+ "$description": "Gap between dashboard blocks"
669
+ },
670
+ "sidebar": {
671
+ "$type": "dimension",
672
+ "$value": "240px",
673
+ "$extensions": {
674
+ "com.recanica": {
675
+ "css": "15rem"
676
+ }
677
+ }
678
+ },
679
+ "flow": {
680
+ "$type": "dimension",
681
+ "$value": "20px",
682
+ "$extensions": {
683
+ "com.recanica": {
684
+ "css": "1.25rem"
685
+ }
686
+ },
687
+ "$description": "Gap between consecutive blocks in a column (paragraph → table → paragraph). Owned by the .flow container, never by the blocks."
688
+ },
689
+ "$description": "Visual rhythm, by role. Pages and components use these roles, never raw numbers: inset (inside a surface) · group (within a group: heading→content, label→field) · flow (between blocks) · stack (between sections) · section (page bands on marketing pages).",
690
+ "group": {
691
+ "$type": "dimension",
692
+ "$value": "12px",
693
+ "$extensions": {
694
+ "com.recanica": {
695
+ "css": "0.75rem"
696
+ }
697
+ },
698
+ "$description": "Within a group: a heading and its content, a label and its field."
699
+ },
700
+ "inset-sm": {
701
+ "$type": "dimension",
702
+ "$value": "16px",
703
+ "$extensions": {
704
+ "com.recanica": {
705
+ "css": "1rem"
706
+ }
707
+ },
708
+ "$description": "Padding inside compact surfaces (list rows, small cards)."
709
+ },
710
+ "inset": {
711
+ "$type": "dimension",
712
+ "$value": "20px",
713
+ "$extensions": {
714
+ "com.recanica": {
715
+ "css": "1.25rem"
716
+ }
717
+ },
718
+ "$description": "Padding inside surfaces (cards, tables' edge inset)."
719
+ }
720
+ },
721
+ "container": {
722
+ "content": {
723
+ "$type": "dimension",
724
+ "$value": "1152px",
725
+ "$extensions": {
726
+ "com.recanica": {
727
+ "css": "72rem"
728
+ }
729
+ }
730
+ },
731
+ "narrow": {
732
+ "$type": "dimension",
733
+ "$value": "768px",
734
+ "$extensions": {
735
+ "com.recanica": {
736
+ "css": "48rem"
737
+ }
738
+ }
739
+ },
740
+ "copy": {
741
+ "$type": "dimension",
742
+ "$value": "640px",
743
+ "$extensions": {
744
+ "com.recanica": {
745
+ "css": "40rem"
746
+ }
747
+ }
748
+ }
749
+ }
750
+ },
751
+ "$themes": [
752
+ {
753
+ "id": "light",
754
+ "name": "Light",
755
+ "selectedTokenSets": {
756
+ "primitive": "source",
757
+ "dimension": "source",
758
+ "light": "enabled"
759
+ }
760
+ },
761
+ {
762
+ "id": "dark",
763
+ "name": "Dark",
764
+ "selectedTokenSets": {
765
+ "primitive": "source",
766
+ "dimension": "source",
767
+ "dark": "enabled"
768
+ }
769
+ }
770
+ ],
771
+ "$metadata": {
772
+ "tokenSetOrder": [
773
+ "primitive",
774
+ "dimension",
775
+ "light",
776
+ "dark"
777
+ ]
778
+ }
779
+ }