@thatch-health/slab-tokens 0.0.3 → 0.0.5
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/dist/app-tokens-raw/spacing.tokens.json +48 -6
- package/dist/index.css +68 -6
- package/dist/index.d.mts +1781 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2087 -3
- package/dist/index.mjs.map +1 -1
- package/dist/tailwind-plugin.cjs +244 -53
- package/dist/tailwind-v4-plugin.css +2710 -0
- package/dist/tailwind-v4-plugin.css.d.ts +1 -0
- package/package.json +21 -9
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
"control": {
|
|
4
4
|
"$type": "dimension",
|
|
5
5
|
"$value": {
|
|
6
|
-
"value":
|
|
6
|
+
"value": 8,
|
|
7
7
|
"unit": "px"
|
|
8
8
|
},
|
|
9
|
+
"$description": "Corner radius for standalone interactive controls like buttons and inputs. Do not use on containers that wrap controls — use the scale-matched radius token instead. Tailwind: rounded-control | CSS: --slab-radius-control",
|
|
9
10
|
"$extensions": {
|
|
10
11
|
"com.figma.variableId": "VariableID:129:243",
|
|
11
12
|
"com.figma.scopes": [
|
|
@@ -20,9 +21,10 @@
|
|
|
20
21
|
"sm": {
|
|
21
22
|
"$type": "dimension",
|
|
22
23
|
"$value": {
|
|
23
|
-
"value":
|
|
24
|
+
"value": 12,
|
|
24
25
|
"unit": "px"
|
|
25
26
|
},
|
|
27
|
+
"$description": "Corner radius for containers. Always pair with inset/square/sm on the same element so the outer and inner curves stay visually consistent. Tailwind: rounded-sm | CSS: --slab-radius-sm",
|
|
26
28
|
"$extensions": {
|
|
27
29
|
"com.figma.variableId": "VariableID:129:244",
|
|
28
30
|
"com.figma.scopes": [
|
|
@@ -37,9 +39,10 @@
|
|
|
37
39
|
"md": {
|
|
38
40
|
"$type": "dimension",
|
|
39
41
|
"$value": {
|
|
40
|
-
"value":
|
|
42
|
+
"value": 16,
|
|
41
43
|
"unit": "px"
|
|
42
44
|
},
|
|
45
|
+
"$description": "Corner radius for containers. Always pair with inset/square/md on the same element so the outer and inner curves stay visually consistent. Tailwind: rounded-md | CSS: --slab-radius-md",
|
|
43
46
|
"$extensions": {
|
|
44
47
|
"com.figma.variableId": "VariableID:129:245",
|
|
45
48
|
"com.figma.scopes": [
|
|
@@ -54,9 +57,10 @@
|
|
|
54
57
|
"lg": {
|
|
55
58
|
"$type": "dimension",
|
|
56
59
|
"$value": {
|
|
57
|
-
"value":
|
|
60
|
+
"value": 24,
|
|
58
61
|
"unit": "px"
|
|
59
62
|
},
|
|
63
|
+
"$description": "Corner radius for containers. Always pair with inset/square/lg on the same element so the outer and inner curves stay visually consistent. Tailwind: rounded-lg | CSS: --slab-radius-lg",
|
|
60
64
|
"$extensions": {
|
|
61
65
|
"com.figma.variableId": "VariableID:129:246",
|
|
62
66
|
"com.figma.scopes": [
|
|
@@ -71,9 +75,10 @@
|
|
|
71
75
|
"xl": {
|
|
72
76
|
"$type": "dimension",
|
|
73
77
|
"$value": {
|
|
74
|
-
"value":
|
|
78
|
+
"value": 32,
|
|
75
79
|
"unit": "px"
|
|
76
80
|
},
|
|
81
|
+
"$description": "Corner radius for containers. Always pair with inset/square/xl on the same element so the outer and inner curves stay visually consistent. Tailwind: rounded-xl | CSS: --slab-radius-xl",
|
|
77
82
|
"$extensions": {
|
|
78
83
|
"com.figma.variableId": "VariableID:130:247",
|
|
79
84
|
"com.figma.scopes": [
|
|
@@ -91,6 +96,7 @@
|
|
|
91
96
|
"value": 99999,
|
|
92
97
|
"unit": "px"
|
|
93
98
|
},
|
|
99
|
+
"$description": "Fully pill-shaped corner radius. Use for badges, avatars, toggle switches, and any element that should appear fully rounded regardless of height. Tailwind: rounded-full | CSS: --slab-radius-full",
|
|
94
100
|
"$extensions": {
|
|
95
101
|
"com.figma.variableId": "VariableID:199:818",
|
|
96
102
|
"com.figma.scopes": [
|
|
@@ -111,7 +117,7 @@
|
|
|
111
117
|
"value": 4,
|
|
112
118
|
"unit": "px"
|
|
113
119
|
},
|
|
114
|
-
"$description": "
|
|
120
|
+
"$description": "Equal padding on all four sides. Use for cards, dialogs, panels, and other content containers. Pair with the matching radius token at the same scale for correct nested rounding. Tailwind: p-inset-square-sm | CSS: --slab-inset-square-sm",
|
|
115
121
|
"$extensions": {
|
|
116
122
|
"com.figma.variableId": "VariableID:72:196",
|
|
117
123
|
"com.figma.scopes": [
|
|
@@ -135,6 +141,7 @@
|
|
|
135
141
|
"value": 8,
|
|
136
142
|
"unit": "px"
|
|
137
143
|
},
|
|
144
|
+
"$description": "Equal padding on all four sides. Use for cards, dialogs, panels, and other content containers. Pair with the matching radius token at the same scale for correct nested rounding. Tailwind: p-inset-square-md | CSS: --slab-inset-square-md",
|
|
138
145
|
"$extensions": {
|
|
139
146
|
"com.figma.variableId": "VariableID:97:1065",
|
|
140
147
|
"com.figma.scopes": [
|
|
@@ -158,6 +165,7 @@
|
|
|
158
165
|
"value": 16,
|
|
159
166
|
"unit": "px"
|
|
160
167
|
},
|
|
168
|
+
"$description": "Equal padding on all four sides. Use for cards, dialogs, panels, and other content containers. Pair with the matching radius token at the same scale for correct nested rounding. Tailwind: p-inset-square-lg | CSS: --slab-inset-square-lg",
|
|
161
169
|
"$extensions": {
|
|
162
170
|
"com.figma.variableId": "VariableID:97:1066",
|
|
163
171
|
"com.figma.scopes": [
|
|
@@ -181,6 +189,7 @@
|
|
|
181
189
|
"value": 24,
|
|
182
190
|
"unit": "px"
|
|
183
191
|
},
|
|
192
|
+
"$description": "Equal padding on all four sides. Use for cards, dialogs, panels, and other content containers. Pair with the matching radius token at the same scale for correct nested rounding. Tailwind: p-inset-square-xl | CSS: --slab-inset-square-xl",
|
|
184
193
|
"$extensions": {
|
|
185
194
|
"com.figma.variableId": "VariableID:97:1067",
|
|
186
195
|
"com.figma.scopes": [
|
|
@@ -206,6 +215,7 @@
|
|
|
206
215
|
"value": 4,
|
|
207
216
|
"unit": "px"
|
|
208
217
|
},
|
|
218
|
+
"$description": "Horizontal (x-axis) padding for pill-shaped elements like buttons, badges, and tags. Combine with a size token for height and a radius token for shape. When a lead or trail icon is present, use the matching offset token on that side instead. Tailwind: p-inset-squish-xs | CSS: --slab-inset-squish-xs",
|
|
209
219
|
"$extensions": {
|
|
210
220
|
"com.figma.variableId": "VariableID:97:1068",
|
|
211
221
|
"com.figma.scopes": [
|
|
@@ -229,6 +239,7 @@
|
|
|
229
239
|
"value": 8,
|
|
230
240
|
"unit": "px"
|
|
231
241
|
},
|
|
242
|
+
"$description": "Horizontal (x-axis) padding for pill-shaped elements like buttons, badges, and tags. Combine with a size token for height and a radius token for shape. When a lead or trail icon is present, use the matching offset token on that side instead. Tailwind: p-inset-squish-sm | CSS: --slab-inset-squish-sm",
|
|
232
243
|
"$extensions": {
|
|
233
244
|
"com.figma.variableId": "VariableID:97:1069",
|
|
234
245
|
"com.figma.scopes": [
|
|
@@ -252,6 +263,7 @@
|
|
|
252
263
|
"value": 16,
|
|
253
264
|
"unit": "px"
|
|
254
265
|
},
|
|
266
|
+
"$description": "Horizontal (x-axis) padding for pill-shaped elements like buttons, badges, and tags. Combine with a size token for height and a radius token for shape. When a lead or trail icon is present, use the matching offset token on that side instead. Tailwind: p-inset-squish-md | CSS: --slab-inset-squish-md",
|
|
255
267
|
"$extensions": {
|
|
256
268
|
"com.figma.variableId": "VariableID:97:1070",
|
|
257
269
|
"com.figma.scopes": [
|
|
@@ -275,6 +287,7 @@
|
|
|
275
287
|
"value": 16,
|
|
276
288
|
"unit": "px"
|
|
277
289
|
},
|
|
290
|
+
"$description": "Horizontal (x-axis) padding for pill-shaped elements like buttons, badges, and tags. Combine with a size token for height and a radius token for shape. When a lead or trail icon is present, use the matching offset token on that side instead. Tailwind: p-inset-squish-lg | CSS: --slab-inset-squish-lg",
|
|
278
291
|
"$extensions": {
|
|
279
292
|
"com.figma.variableId": "VariableID:123:235",
|
|
280
293
|
"com.figma.scopes": [
|
|
@@ -299,6 +312,7 @@
|
|
|
299
312
|
"value": 0,
|
|
300
313
|
"unit": "px"
|
|
301
314
|
},
|
|
315
|
+
"$description": "Reduced horizontal padding for the side of an element that has a lead or trail icon. Icon sizes have built-in padding, so the standard squish padding is not needed on that side. Use in place of inset/squish/xs on the icon side only.",
|
|
302
316
|
"$extensions": {
|
|
303
317
|
"com.figma.variableId": "VariableID:123:236",
|
|
304
318
|
"com.figma.scopes": [
|
|
@@ -322,6 +336,7 @@
|
|
|
322
336
|
"value": 0,
|
|
323
337
|
"unit": "px"
|
|
324
338
|
},
|
|
339
|
+
"$description": "Reduced horizontal padding for the side of an element that has a lead or trail icon. Icon sizes have built-in padding, so the standard squish padding is not needed on that side. Use in place of inset/squish/sm on the icon side only.",
|
|
325
340
|
"$extensions": {
|
|
326
341
|
"com.figma.variableId": "VariableID:123:237",
|
|
327
342
|
"com.figma.scopes": [
|
|
@@ -345,6 +360,7 @@
|
|
|
345
360
|
"value": 0,
|
|
346
361
|
"unit": "px"
|
|
347
362
|
},
|
|
363
|
+
"$description": "Reduced horizontal padding for the side of an element that has a lead or trail icon. Icon sizes have built-in padding, so the standard squish padding is not needed on that side. Use in place of inset/squish/md on the icon side only.",
|
|
348
364
|
"$extensions": {
|
|
349
365
|
"com.figma.variableId": "VariableID:123:238",
|
|
350
366
|
"com.figma.scopes": [
|
|
@@ -368,6 +384,7 @@
|
|
|
368
384
|
"value": 0,
|
|
369
385
|
"unit": "px"
|
|
370
386
|
},
|
|
387
|
+
"$description": "Reduced horizontal padding for the side of an element that has a lead or trail icon. Icon sizes have built-in padding, so the standard squish padding is not needed on that side. Use in place of inset/squish/lg on the icon side only.",
|
|
371
388
|
"$extensions": {
|
|
372
389
|
"com.figma.variableId": "VariableID:129:239",
|
|
373
390
|
"com.figma.scopes": [
|
|
@@ -395,6 +412,7 @@
|
|
|
395
412
|
"value": 1,
|
|
396
413
|
"unit": "rem"
|
|
397
414
|
},
|
|
415
|
+
"$description": "Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-xs | CSS: --slab-size-xs",
|
|
398
416
|
"$extensions": {
|
|
399
417
|
"com.figma.variableId": "VariableID:88:91",
|
|
400
418
|
"com.figma.scopes": [
|
|
@@ -418,6 +436,7 @@
|
|
|
418
436
|
"value": 1.5,
|
|
419
437
|
"unit": "rem"
|
|
420
438
|
},
|
|
439
|
+
"$description": "Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-sm | CSS: --slab-size-sm",
|
|
421
440
|
"$extensions": {
|
|
422
441
|
"com.figma.variableId": "VariableID:88:92",
|
|
423
442
|
"com.figma.scopes": [
|
|
@@ -441,6 +460,7 @@
|
|
|
441
460
|
"value": 2,
|
|
442
461
|
"unit": "rem"
|
|
443
462
|
},
|
|
463
|
+
"$description": "Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-md | CSS: --slab-size-md",
|
|
444
464
|
"$extensions": {
|
|
445
465
|
"com.figma.variableId": "VariableID:88:93",
|
|
446
466
|
"com.figma.scopes": [
|
|
@@ -464,6 +484,7 @@
|
|
|
464
484
|
"value": 2.5,
|
|
465
485
|
"unit": "rem"
|
|
466
486
|
},
|
|
487
|
+
"$description": "Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-lg | CSS: --slab-size-lg",
|
|
467
488
|
"$extensions": {
|
|
468
489
|
"com.figma.variableId": "VariableID:88:94",
|
|
469
490
|
"com.figma.scopes": [
|
|
@@ -489,6 +510,7 @@
|
|
|
489
510
|
"value": 1.5,
|
|
490
511
|
"unit": "rem"
|
|
491
512
|
},
|
|
513
|
+
"$description": "Outer container size for an icon, including its built-in padding. This built-in padding means adjacent elements do not need additional left or right inset on the icon side — use the matching inset/squish/offset token instead.",
|
|
492
514
|
"$extensions": {
|
|
493
515
|
"com.figma.variableId": "VariableID:205:853",
|
|
494
516
|
"com.figma.scopes": [
|
|
@@ -512,6 +534,7 @@
|
|
|
512
534
|
"value": 2,
|
|
513
535
|
"unit": "rem"
|
|
514
536
|
},
|
|
537
|
+
"$description": "Outer container size for an icon, including its built-in padding. This built-in padding means adjacent elements do not need additional left or right inset on the icon side — use the matching inset/squish/offset token instead.",
|
|
515
538
|
"$extensions": {
|
|
516
539
|
"com.figma.variableId": "VariableID:205:857",
|
|
517
540
|
"com.figma.scopes": [
|
|
@@ -535,6 +558,7 @@
|
|
|
535
558
|
"value": 2.5,
|
|
536
559
|
"unit": "rem"
|
|
537
560
|
},
|
|
561
|
+
"$description": "Outer container size for an icon, including its built-in padding. This built-in padding means adjacent elements do not need additional left or right inset on the icon side — use the matching inset/squish/offset token instead.",
|
|
538
562
|
"$extensions": {
|
|
539
563
|
"com.figma.variableId": "VariableID:205:861",
|
|
540
564
|
"com.figma.scopes": [
|
|
@@ -560,6 +584,7 @@
|
|
|
560
584
|
"value": 0.75,
|
|
561
585
|
"unit": "rem"
|
|
562
586
|
},
|
|
587
|
+
"$description": "Glyph dimensions of the icon SVG itself, without surrounding padding. Pair with size/icon/outer/sm for the containing touch-target.",
|
|
563
588
|
"$extensions": {
|
|
564
589
|
"com.figma.variableId": "VariableID:132:381",
|
|
565
590
|
"com.figma.scopes": [
|
|
@@ -577,6 +602,7 @@
|
|
|
577
602
|
"value": 1,
|
|
578
603
|
"unit": "rem"
|
|
579
604
|
},
|
|
605
|
+
"$description": "Glyph dimensions of the icon SVG itself, without surrounding padding. Pair with size/icon/outer/md for the containing touch-target.",
|
|
580
606
|
"$extensions": {
|
|
581
607
|
"com.figma.variableId": "VariableID:132:378",
|
|
582
608
|
"com.figma.scopes": [
|
|
@@ -594,6 +620,7 @@
|
|
|
594
620
|
"value": 1.25,
|
|
595
621
|
"unit": "rem"
|
|
596
622
|
},
|
|
623
|
+
"$description": "Glyph dimensions of the icon SVG itself, without surrounding padding. Pair with size/icon/outer/lg for the containing touch-target.",
|
|
597
624
|
"$extensions": {
|
|
598
625
|
"com.figma.variableId": "VariableID:132:380",
|
|
599
626
|
"com.figma.scopes": [
|
|
@@ -616,6 +643,7 @@
|
|
|
616
643
|
"value": 4,
|
|
617
644
|
"unit": "px"
|
|
618
645
|
},
|
|
646
|
+
"$description": "Horizontal gap between sibling elements in a row. Use for flex or auto-layout containers with horizontal direction. Tailwind: gap-inline-xs | CSS: --slab-gap-inline-xs",
|
|
619
647
|
"$extensions": {
|
|
620
648
|
"com.figma.variableId": "VariableID:283:80",
|
|
621
649
|
"com.figma.scopes": [
|
|
@@ -639,6 +667,7 @@
|
|
|
639
667
|
"value": 8,
|
|
640
668
|
"unit": "px"
|
|
641
669
|
},
|
|
670
|
+
"$description": "Horizontal gap between sibling elements in a row. Use for flex or auto-layout containers with horizontal direction. Tailwind: gap-inline-sm | CSS: --slab-gap-inline-sm",
|
|
642
671
|
"$extensions": {
|
|
643
672
|
"com.figma.variableId": "VariableID:283:81",
|
|
644
673
|
"com.figma.scopes": [
|
|
@@ -662,6 +691,7 @@
|
|
|
662
691
|
"value": 12,
|
|
663
692
|
"unit": "px"
|
|
664
693
|
},
|
|
694
|
+
"$description": "Horizontal gap between sibling elements in a row. Use for flex or auto-layout containers with horizontal direction. Tailwind: gap-inline-md | CSS: --slab-gap-inline-md",
|
|
665
695
|
"$extensions": {
|
|
666
696
|
"com.figma.variableId": "VariableID:283:82",
|
|
667
697
|
"com.figma.scopes": [
|
|
@@ -685,6 +715,7 @@
|
|
|
685
715
|
"value": 16,
|
|
686
716
|
"unit": "px"
|
|
687
717
|
},
|
|
718
|
+
"$description": "Horizontal gap between sibling elements in a row. Use for flex or auto-layout containers with horizontal direction. Tailwind: gap-inline-lg | CSS: --slab-gap-inline-lg",
|
|
688
719
|
"$extensions": {
|
|
689
720
|
"com.figma.variableId": "VariableID:283:83",
|
|
690
721
|
"com.figma.scopes": [
|
|
@@ -708,6 +739,7 @@
|
|
|
708
739
|
"value": 24,
|
|
709
740
|
"unit": "px"
|
|
710
741
|
},
|
|
742
|
+
"$description": "Horizontal gap between sibling elements in a row. Use for flex or auto-layout containers with horizontal direction. Tailwind: gap-inline-xl | CSS: --slab-gap-inline-xl",
|
|
711
743
|
"$extensions": {
|
|
712
744
|
"com.figma.variableId": "VariableID:283:84",
|
|
713
745
|
"com.figma.scopes": [
|
|
@@ -733,6 +765,7 @@
|
|
|
733
765
|
"value": 4,
|
|
734
766
|
"unit": "px"
|
|
735
767
|
},
|
|
768
|
+
"$description": "Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-xs | CSS: --slab-gap-stack-xs",
|
|
736
769
|
"$extensions": {
|
|
737
770
|
"com.figma.variableId": "VariableID:283:85",
|
|
738
771
|
"com.figma.scopes": [
|
|
@@ -756,6 +789,7 @@
|
|
|
756
789
|
"value": 8,
|
|
757
790
|
"unit": "px"
|
|
758
791
|
},
|
|
792
|
+
"$description": "Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-sm | CSS: --slab-gap-stack-sm",
|
|
759
793
|
"$extensions": {
|
|
760
794
|
"com.figma.variableId": "VariableID:283:86",
|
|
761
795
|
"com.figma.scopes": [
|
|
@@ -779,6 +813,7 @@
|
|
|
779
813
|
"value": 12,
|
|
780
814
|
"unit": "px"
|
|
781
815
|
},
|
|
816
|
+
"$description": "Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-md | CSS: --slab-gap-stack-md",
|
|
782
817
|
"$extensions": {
|
|
783
818
|
"com.figma.variableId": "VariableID:283:87",
|
|
784
819
|
"com.figma.scopes": [
|
|
@@ -802,6 +837,7 @@
|
|
|
802
837
|
"value": 16,
|
|
803
838
|
"unit": "px"
|
|
804
839
|
},
|
|
840
|
+
"$description": "Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-lg | CSS: --slab-gap-stack-lg",
|
|
805
841
|
"$extensions": {
|
|
806
842
|
"com.figma.variableId": "VariableID:283:88",
|
|
807
843
|
"com.figma.scopes": [
|
|
@@ -825,6 +861,7 @@
|
|
|
825
861
|
"value": 24,
|
|
826
862
|
"unit": "px"
|
|
827
863
|
},
|
|
864
|
+
"$description": "Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-xl | CSS: --slab-gap-stack-xl",
|
|
828
865
|
"$extensions": {
|
|
829
866
|
"com.figma.variableId": "VariableID:283:89",
|
|
830
867
|
"com.figma.scopes": [
|
|
@@ -848,6 +885,7 @@
|
|
|
848
885
|
"value": 32,
|
|
849
886
|
"unit": "px"
|
|
850
887
|
},
|
|
888
|
+
"$description": "Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-2xl | CSS: --slab-gap-stack-2xl",
|
|
851
889
|
"$extensions": {
|
|
852
890
|
"com.figma.variableId": "VariableID:283:90",
|
|
853
891
|
"com.figma.scopes": [
|
|
@@ -871,6 +909,7 @@
|
|
|
871
909
|
"value": 40,
|
|
872
910
|
"unit": "px"
|
|
873
911
|
},
|
|
912
|
+
"$description": "Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-3xl | CSS: --slab-gap-stack-3xl",
|
|
874
913
|
"$extensions": {
|
|
875
914
|
"com.figma.variableId": "VariableID:283:91",
|
|
876
915
|
"com.figma.scopes": [
|
|
@@ -894,6 +933,7 @@
|
|
|
894
933
|
"value": 64,
|
|
895
934
|
"unit": "px"
|
|
896
935
|
},
|
|
936
|
+
"$description": "Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-4xl | CSS: --slab-gap-stack-4xl",
|
|
897
937
|
"$extensions": {
|
|
898
938
|
"com.figma.variableId": "VariableID:283:92",
|
|
899
939
|
"com.figma.scopes": [
|
|
@@ -920,6 +960,7 @@
|
|
|
920
960
|
"value": 1,
|
|
921
961
|
"unit": "px"
|
|
922
962
|
},
|
|
963
|
+
"$description": "Width of standard element borders (e.g. input outlines, card borders). Use this token rather than a hardcoded pixel value to keep borders consistent across the system.",
|
|
923
964
|
"$extensions": {
|
|
924
965
|
"com.figma.variableId": "VariableID:2025:3234",
|
|
925
966
|
"com.figma.scopes": [
|
|
@@ -937,6 +978,7 @@
|
|
|
937
978
|
"value": 1,
|
|
938
979
|
"unit": "px"
|
|
939
980
|
},
|
|
981
|
+
"$description": "Width of focus ring outlines on interactive elements. Must be applied alongside a focus-border color token. Using this token ensures focus rings meet accessibility contrast requirements.",
|
|
940
982
|
"$extensions": {
|
|
941
983
|
"com.figma.variableId": "VariableID:2025:3235",
|
|
942
984
|
"com.figma.scopes": [
|
package/dist/index.css
CHANGED
|
@@ -82,15 +82,25 @@
|
|
|
82
82
|
--size-800: 3rem;
|
|
83
83
|
--size-900: 4rem;
|
|
84
84
|
--size-1000: 6rem;
|
|
85
|
+
/* Glyph dimensions of the icon SVG itself, without surrounding padding. Pair with size/icon/outer/lg for the containing touch-target. */
|
|
85
86
|
--slab-size-icon-inner-lg: 1.25rem;
|
|
87
|
+
/* Glyph dimensions of the icon SVG itself, without surrounding padding. Pair with size/icon/outer/md for the containing touch-target. */
|
|
86
88
|
--slab-size-icon-inner-md: 1rem;
|
|
89
|
+
/* Glyph dimensions of the icon SVG itself, without surrounding padding. Pair with size/icon/outer/sm for the containing touch-target. */
|
|
87
90
|
--slab-size-icon-inner-sm: 0.75rem;
|
|
91
|
+
/* Outer container size for an icon, including its built-in padding. This built-in padding means adjacent elements do not need additional left or right inset on the icon side — use the matching inset/squish/offset token instead. */
|
|
88
92
|
--slab-size-icon-outer-lg: 2.5rem;
|
|
93
|
+
/* Outer container size for an icon, including its built-in padding. This built-in padding means adjacent elements do not need additional left or right inset on the icon side — use the matching inset/squish/offset token instead. */
|
|
89
94
|
--slab-size-icon-outer-md: 2rem;
|
|
95
|
+
/* Outer container size for an icon, including its built-in padding. This built-in padding means adjacent elements do not need additional left or right inset on the icon side — use the matching inset/squish/offset token instead. */
|
|
90
96
|
--slab-size-icon-outer-sm: 1.5rem;
|
|
97
|
+
/* Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-lg | CSS: --slab-size-lg */
|
|
91
98
|
--slab-size-lg: 2.5rem;
|
|
99
|
+
/* Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-md | CSS: --slab-size-md */
|
|
92
100
|
--slab-size-md: 2rem;
|
|
101
|
+
/* Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-sm | CSS: --slab-size-sm */
|
|
93
102
|
--slab-size-sm: 1.5rem;
|
|
103
|
+
/* Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-xs | CSS: --slab-size-xs */
|
|
94
104
|
--slab-size-xs: 1rem;
|
|
95
105
|
--weight-bold: 700;
|
|
96
106
|
--weight-control: 500;
|
|
@@ -181,15 +191,25 @@
|
|
|
181
191
|
--size-800: 3rem;
|
|
182
192
|
--size-900: 4rem;
|
|
183
193
|
--size-1000: 6rem;
|
|
194
|
+
/* Glyph dimensions of the icon SVG itself, without surrounding padding. Pair with size/icon/outer/lg for the containing touch-target. */
|
|
184
195
|
--slab-size-icon-inner-lg: 1.25rem;
|
|
196
|
+
/* Glyph dimensions of the icon SVG itself, without surrounding padding. Pair with size/icon/outer/md for the containing touch-target. */
|
|
185
197
|
--slab-size-icon-inner-md: 1rem;
|
|
198
|
+
/* Glyph dimensions of the icon SVG itself, without surrounding padding. Pair with size/icon/outer/sm for the containing touch-target. */
|
|
186
199
|
--slab-size-icon-inner-sm: 0.75rem;
|
|
200
|
+
/* Outer container size for an icon, including its built-in padding. This built-in padding means adjacent elements do not need additional left or right inset on the icon side — use the matching inset/squish/offset token instead. */
|
|
187
201
|
--slab-size-icon-outer-lg: 2.5rem;
|
|
202
|
+
/* Outer container size for an icon, including its built-in padding. This built-in padding means adjacent elements do not need additional left or right inset on the icon side — use the matching inset/squish/offset token instead. */
|
|
188
203
|
--slab-size-icon-outer-md: 2rem;
|
|
204
|
+
/* Outer container size for an icon, including its built-in padding. This built-in padding means adjacent elements do not need additional left or right inset on the icon side — use the matching inset/squish/offset token instead. */
|
|
189
205
|
--slab-size-icon-outer-sm: 1.5rem;
|
|
206
|
+
/* Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-lg | CSS: --slab-size-lg */
|
|
190
207
|
--slab-size-lg: 2.5rem;
|
|
208
|
+
/* Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-md | CSS: --slab-size-md */
|
|
191
209
|
--slab-size-md: 2rem;
|
|
210
|
+
/* Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-sm | CSS: --slab-size-sm */
|
|
192
211
|
--slab-size-sm: 1.5rem;
|
|
212
|
+
/* Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-xs | CSS: --slab-size-xs */
|
|
193
213
|
--slab-size-xs: 1rem;
|
|
194
214
|
--weight-bold: 700;
|
|
195
215
|
--weight-control: 400;
|
|
@@ -280,15 +300,25 @@
|
|
|
280
300
|
--size-800: 3rem;
|
|
281
301
|
--size-900: 4rem;
|
|
282
302
|
--size-1000: 6rem;
|
|
303
|
+
/* Glyph dimensions of the icon SVG itself, without surrounding padding. Pair with size/icon/outer/lg for the containing touch-target. */
|
|
283
304
|
--slab-size-icon-inner-lg: 1.25rem;
|
|
305
|
+
/* Glyph dimensions of the icon SVG itself, without surrounding padding. Pair with size/icon/outer/md for the containing touch-target. */
|
|
284
306
|
--slab-size-icon-inner-md: 1rem;
|
|
307
|
+
/* Glyph dimensions of the icon SVG itself, without surrounding padding. Pair with size/icon/outer/sm for the containing touch-target. */
|
|
285
308
|
--slab-size-icon-inner-sm: 0.75rem;
|
|
309
|
+
/* Outer container size for an icon, including its built-in padding. This built-in padding means adjacent elements do not need additional left or right inset on the icon side — use the matching inset/squish/offset token instead. */
|
|
286
310
|
--slab-size-icon-outer-lg: 2.5rem;
|
|
311
|
+
/* Outer container size for an icon, including its built-in padding. This built-in padding means adjacent elements do not need additional left or right inset on the icon side — use the matching inset/squish/offset token instead. */
|
|
287
312
|
--slab-size-icon-outer-md: 2rem;
|
|
313
|
+
/* Outer container size for an icon, including its built-in padding. This built-in padding means adjacent elements do not need additional left or right inset on the icon side — use the matching inset/squish/offset token instead. */
|
|
288
314
|
--slab-size-icon-outer-sm: 1.5rem;
|
|
315
|
+
/* Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-lg | CSS: --slab-size-lg */
|
|
289
316
|
--slab-size-lg: 2.5rem;
|
|
317
|
+
/* Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-md | CSS: --slab-size-md */
|
|
290
318
|
--slab-size-md: 2rem;
|
|
319
|
+
/* Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-sm | CSS: --slab-size-sm */
|
|
291
320
|
--slab-size-sm: 1.5rem;
|
|
321
|
+
/* Fixed height for interactive controls. Use on buttons, inputs, and other elements that must align in a row. Never use arbitrary pixel values for control heights. Tailwind: h-size-xs | CSS: --slab-size-xs */
|
|
292
322
|
--slab-size-xs: 1rem;
|
|
293
323
|
--weight-bold: 700;
|
|
294
324
|
--weight-control: 450;
|
|
@@ -853,18 +883,31 @@
|
|
|
853
883
|
--slab-control-sm-line-height: var(--line-height-100);
|
|
854
884
|
--slab-control-sm-size: var(--size-100);
|
|
855
885
|
--slab-control-sm-weight: var(--weight-control);
|
|
886
|
+
/* Horizontal gap between sibling elements in a row. Use for flex or auto-layout containers with horizontal direction. Tailwind: gap-inline-lg | CSS: --slab-gap-inline-lg */
|
|
856
887
|
--slab-gap-inline-lg: 16px;
|
|
888
|
+
/* Horizontal gap between sibling elements in a row. Use for flex or auto-layout containers with horizontal direction. Tailwind: gap-inline-md | CSS: --slab-gap-inline-md */
|
|
857
889
|
--slab-gap-inline-md: 12px;
|
|
890
|
+
/* Horizontal gap between sibling elements in a row. Use for flex or auto-layout containers with horizontal direction. Tailwind: gap-inline-sm | CSS: --slab-gap-inline-sm */
|
|
858
891
|
--slab-gap-inline-sm: 8px;
|
|
892
|
+
/* Horizontal gap between sibling elements in a row. Use for flex or auto-layout containers with horizontal direction. Tailwind: gap-inline-xl | CSS: --slab-gap-inline-xl */
|
|
859
893
|
--slab-gap-inline-xl: 24px;
|
|
894
|
+
/* Horizontal gap between sibling elements in a row. Use for flex or auto-layout containers with horizontal direction. Tailwind: gap-inline-xs | CSS: --slab-gap-inline-xs */
|
|
860
895
|
--slab-gap-inline-xs: 4px;
|
|
896
|
+
/* Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-2xl | CSS: --slab-gap-stack-2xl */
|
|
861
897
|
--slab-gap-stack-2xl: 32px;
|
|
898
|
+
/* Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-3xl | CSS: --slab-gap-stack-3xl */
|
|
862
899
|
--slab-gap-stack-3xl: 40px;
|
|
900
|
+
/* Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-4xl | CSS: --slab-gap-stack-4xl */
|
|
863
901
|
--slab-gap-stack-4xl: 64px;
|
|
902
|
+
/* Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-lg | CSS: --slab-gap-stack-lg */
|
|
864
903
|
--slab-gap-stack-lg: 16px;
|
|
904
|
+
/* Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-md | CSS: --slab-gap-stack-md */
|
|
865
905
|
--slab-gap-stack-md: 12px;
|
|
906
|
+
/* Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-sm | CSS: --slab-gap-stack-sm */
|
|
866
907
|
--slab-gap-stack-sm: 8px;
|
|
908
|
+
/* Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-xl | CSS: --slab-gap-stack-xl */
|
|
867
909
|
--slab-gap-stack-xl: 24px;
|
|
910
|
+
/* Vertical gap between stacked sibling elements. Use for flex or auto-layout containers with vertical direction. Tailwind: gap-stack-xs | CSS: --slab-gap-stack-xs */
|
|
868
911
|
--slab-gap-stack-xs: 4px;
|
|
869
912
|
--gray-transparent-0: rgb(100% 100% 100% / 0);
|
|
870
913
|
--gray-transparent-500: rgb(18.82% 18.82% 18.82% / 0.5);
|
|
@@ -929,18 +972,29 @@
|
|
|
929
972
|
--slab-header-xl-line-height: var(--line-height-700);
|
|
930
973
|
--slab-header-xl-size: var(--size-700);
|
|
931
974
|
--slab-header-xl-weight: var(--weight-regular);
|
|
975
|
+
/* Equal padding on all four sides. Use for cards, dialogs, panels, and other content containers. Pair with the matching radius token at the same scale for correct nested rounding. Tailwind: p-inset-square-lg | CSS: --slab-inset-square-lg */
|
|
932
976
|
--slab-inset-square-lg: 16px;
|
|
977
|
+
/* Equal padding on all four sides. Use for cards, dialogs, panels, and other content containers. Pair with the matching radius token at the same scale for correct nested rounding. Tailwind: p-inset-square-md | CSS: --slab-inset-square-md */
|
|
933
978
|
--slab-inset-square-md: 8px;
|
|
934
|
-
/*
|
|
979
|
+
/* Equal padding on all four sides. Use for cards, dialogs, panels, and other content containers. Pair with the matching radius token at the same scale for correct nested rounding. Tailwind: p-inset-square-sm | CSS: --slab-inset-square-sm */
|
|
935
980
|
--slab-inset-square-sm: 4px;
|
|
981
|
+
/* Equal padding on all four sides. Use for cards, dialogs, panels, and other content containers. Pair with the matching radius token at the same scale for correct nested rounding. Tailwind: p-inset-square-xl | CSS: --slab-inset-square-xl */
|
|
936
982
|
--slab-inset-square-xl: 24px;
|
|
983
|
+
/* Horizontal (x-axis) padding for pill-shaped elements like buttons, badges, and tags. Combine with a size token for height and a radius token for shape. When a lead or trail icon is present, use the matching offset token on that side instead. Tailwind: p-inset-squish-lg | CSS: --slab-inset-squish-lg */
|
|
937
984
|
--slab-inset-squish-lg: 16px;
|
|
985
|
+
/* Horizontal (x-axis) padding for pill-shaped elements like buttons, badges, and tags. Combine with a size token for height and a radius token for shape. When a lead or trail icon is present, use the matching offset token on that side instead. Tailwind: p-inset-squish-md | CSS: --slab-inset-squish-md */
|
|
938
986
|
--slab-inset-squish-md: 16px;
|
|
987
|
+
/* Reduced horizontal padding for the side of an element that has a lead or trail icon. Icon sizes have built-in padding, so the standard squish padding is not needed on that side. Use in place of inset/squish/lg on the icon side only. */
|
|
939
988
|
--slab-inset-squish-offset-lg: 0;
|
|
989
|
+
/* Reduced horizontal padding for the side of an element that has a lead or trail icon. Icon sizes have built-in padding, so the standard squish padding is not needed on that side. Use in place of inset/squish/md on the icon side only. */
|
|
940
990
|
--slab-inset-squish-offset-md: 0;
|
|
991
|
+
/* Reduced horizontal padding for the side of an element that has a lead or trail icon. Icon sizes have built-in padding, so the standard squish padding is not needed on that side. Use in place of inset/squish/sm on the icon side only. */
|
|
941
992
|
--slab-inset-squish-offset-sm: 0;
|
|
993
|
+
/* Reduced horizontal padding for the side of an element that has a lead or trail icon. Icon sizes have built-in padding, so the standard squish padding is not needed on that side. Use in place of inset/squish/xs on the icon side only. */
|
|
942
994
|
--slab-inset-squish-offset-xs: 0;
|
|
995
|
+
/* Horizontal (x-axis) padding for pill-shaped elements like buttons, badges, and tags. Combine with a size token for height and a radius token for shape. When a lead or trail icon is present, use the matching offset token on that side instead. Tailwind: p-inset-squish-sm | CSS: --slab-inset-squish-sm */
|
|
943
996
|
--slab-inset-squish-sm: 8px;
|
|
997
|
+
/* Horizontal (x-axis) padding for pill-shaped elements like buttons, badges, and tags. Combine with a size token for height and a radius token for shape. When a lead or trail icon is present, use the matching offset token on that side instead. Tailwind: p-inset-squish-xs | CSS: --slab-inset-squish-xs */
|
|
944
998
|
--slab-inset-squish-xs: 4px;
|
|
945
999
|
--slab-mono-lg-font-family: var(--family-mono);
|
|
946
1000
|
--slab-mono-lg-letter-spacing: 0;
|
|
@@ -960,12 +1014,18 @@
|
|
|
960
1014
|
--orange-500: rgb(43.47% 30.52% 0%);
|
|
961
1015
|
--orange-600: rgb(31.93% 22.1% 0%);
|
|
962
1016
|
--orange-700: rgb(14.51% 10.2% 0%);
|
|
963
|
-
--slab-radius-control
|
|
1017
|
+
/* Corner radius for standalone interactive controls like buttons and inputs. Do not use on containers that wrap controls — use the scale-matched radius token instead. Tailwind: rounded-control | CSS: --slab-radius-control */
|
|
1018
|
+
--slab-radius-control: 8px;
|
|
1019
|
+
/* Fully pill-shaped corner radius. Use for badges, avatars, toggle switches, and any element that should appear fully rounded regardless of height. Tailwind: rounded-full | CSS: --slab-radius-full */
|
|
964
1020
|
--slab-radius-full: 99999px;
|
|
965
|
-
--slab-radius-lg
|
|
966
|
-
--slab-radius-
|
|
967
|
-
--slab-radius-
|
|
968
|
-
--slab-radius-
|
|
1021
|
+
/* Corner radius for containers. Always pair with inset/square/lg on the same element so the outer and inner curves stay visually consistent. Tailwind: rounded-lg | CSS: --slab-radius-lg */
|
|
1022
|
+
--slab-radius-lg: 24px;
|
|
1023
|
+
/* Corner radius for containers. Always pair with inset/square/md on the same element so the outer and inner curves stay visually consistent. Tailwind: rounded-md | CSS: --slab-radius-md */
|
|
1024
|
+
--slab-radius-md: 16px;
|
|
1025
|
+
/* Corner radius for containers. Always pair with inset/square/sm on the same element so the outer and inner curves stay visually consistent. Tailwind: rounded-sm | CSS: --slab-radius-sm */
|
|
1026
|
+
--slab-radius-sm: 12px;
|
|
1027
|
+
/* Corner radius for containers. Always pair with inset/square/xl on the same element so the outer and inner curves stay visually consistent. Tailwind: rounded-xl | CSS: --slab-radius-xl */
|
|
1028
|
+
--slab-radius-xl: 32px;
|
|
969
1029
|
--red-50: rgb(99.65% 93.45% 94.3%);
|
|
970
1030
|
--red-100: rgb(98.39% 87.15% 87.15%);
|
|
971
1031
|
--red-200: rgb(100% 75.44% 75.44%);
|
|
@@ -995,7 +1055,9 @@
|
|
|
995
1055
|
--slate-500: rgb(27.84% 33.33% 41.18%);
|
|
996
1056
|
--slate-600: rgb(20% 25.49% 33.33%);
|
|
997
1057
|
--slate-700: rgb(11.76% 16.08% 23.14%);
|
|
1058
|
+
/* Width of standard element borders (e.g. input outlines, card borders). Use this token rather than a hardcoded pixel value to keep borders consistent across the system. */
|
|
998
1059
|
--slab-stroke-border: 1px;
|
|
1060
|
+
/* Width of focus ring outlines on interactive elements. Must be applied alongside a focus-border color token. Using this token ensures focus rings meet accessibility contrast requirements. */
|
|
999
1061
|
--slab-stroke-focus: 1px;
|
|
1000
1062
|
/* Large bg fill for anything AI generated */
|
|
1001
1063
|
--violet-50: rgb(97.25% 96.86% 100%);
|