@unpunnyfuns/swatchbook-blocks 0.67.0 → 0.68.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/dist/style.css CHANGED
@@ -1,6 +1,6 @@
1
1
  .sb-block {
2
2
  font-family: var(--swatchbook-body-font-family);
3
- font-size: var(--swatchbook-body-font-size);
3
+ font-size: var(--swatchbook-type-body);
4
4
  color: var(--swatchbook-text-default);
5
5
  background: var(--swatchbook-surface-default);
6
6
  padding: var(--swatchbook-space-md);
@@ -10,7 +10,7 @@
10
10
  .sb-block__caption {
11
11
  padding: var(--swatchbook-space-2xs) 0 var(--swatchbook-space-md);
12
12
  color: var(--swatchbook-text-muted);
13
- font-size: 12px;
13
+ font-size: var(--swatchbook-type-caption);
14
14
  }
15
15
 
16
16
  .sb-block__empty {
@@ -35,17 +35,17 @@
35
35
  }
36
36
 
37
37
  .sb-border-preview__path {
38
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
39
+ font-size: var(--swatchbook-type-caption);
38
40
  text-overflow: ellipsis;
39
41
  white-space: nowrap;
40
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
41
- font-size: 12px;
42
42
  overflow: hidden;
43
43
  }
44
44
 
45
45
  .sb-border-preview__css-var {
46
- opacity: .7;
47
46
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
48
- font-size: 11px;
47
+ font-size: var(--swatchbook-type-micro);
48
+ opacity: var(--swatchbook-opacity-muted);
49
49
  }
50
50
 
51
51
  .sb-border-preview__sample-cell {
@@ -55,28 +55,34 @@
55
55
  }
56
56
 
57
57
  .sb-border-preview__breakdown {
58
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
59
+ font-size: var(--swatchbook-type-micro);
58
60
  column-gap: var(--swatchbook-space-md);
59
61
  row-gap: var(--swatchbook-space-3xs);
60
62
  grid-template-columns: auto 1fr;
61
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
62
- font-size: 11px;
63
63
  display: grid;
64
64
  }
65
65
 
66
66
  .sb-border-preview__breakdown-key {
67
67
  color: var(--swatchbook-text-muted);
68
68
  }
69
+ .sb-border-sample {
70
+ background: var(--swatchbook-surface-raised);
71
+ border-radius: 6px;
72
+ width: 120px;
73
+ height: 56px;
74
+ }
69
75
  .sb-color-palette__group {
70
76
  margin-bottom: var(--swatchbook-space-xl);
71
77
  }
72
78
 
73
79
  .sb-color-palette__group-header {
80
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
81
+ font-size: var(--swatchbook-type-micro);
74
82
  text-transform: uppercase;
75
- letter-spacing: .5px;
76
- opacity: .6;
83
+ letter-spacing: var(--swatchbook-tracking-label);
84
+ opacity: var(--swatchbook-opacity-scrim);
77
85
  margin-bottom: var(--swatchbook-space-sm);
78
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
79
- font-size: 11px;
80
86
  }
81
87
 
82
88
  .sb-color-palette__grid {
@@ -108,13 +114,13 @@
108
114
 
109
115
  .sb-color-palette__leaf {
110
116
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
111
- font-size: 12px;
117
+ font-size: var(--swatchbook-type-caption);
112
118
  }
113
119
 
114
120
  .sb-color-palette__value {
115
- opacity: .7;
116
121
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
117
- font-size: 11px;
122
+ font-size: var(--swatchbook-type-micro);
123
+ opacity: var(--swatchbook-opacity-muted);
118
124
  }
119
125
 
120
126
  .sb-color-palette__gamut-warn {
@@ -144,8 +150,8 @@
144
150
  background: var(--swatchbook-surface-default);
145
151
  color: var(--swatchbook-text-default);
146
152
  font-family: inherit;
147
- font-size: 13px;
148
- line-height: 1.4;
153
+ font-size: var(--swatchbook-type-caption);
154
+ line-height: var(--swatchbook-leading-normal);
149
155
  }
150
156
 
151
157
  .sb-color-table__search-input:focus-visible {
@@ -158,18 +164,18 @@
158
164
  text-align: left;
159
165
  padding: var(--swatchbook-space-sm) 0;
160
166
  color: var(--swatchbook-text-muted);
161
- font-size: 12px;
167
+ font-size: var(--swatchbook-type-caption);
162
168
  }
163
169
 
164
170
  .sb-color-table__th {
165
171
  text-align: left;
166
172
  padding: var(--swatchbook-space-sm) var(--swatchbook-space-md);
173
+ font-size: var(--swatchbook-type-micro);
167
174
  text-transform: uppercase;
168
- letter-spacing: .5px;
175
+ letter-spacing: var(--swatchbook-tracking-label);
169
176
  color: var(--swatchbook-text-muted);
170
177
  border-bottom: 1px solid var(--swatchbook-border-default);
171
178
  white-space: nowrap;
172
- font-size: 11px;
173
179
  }
174
180
 
175
181
  .sb-color-table__th--swatch {
@@ -208,9 +214,9 @@
208
214
  }
209
215
 
210
216
  .sb-color-table__path {
211
- white-space: nowrap;
212
217
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
213
- font-size: 12px;
218
+ font-size: var(--swatchbook-type-caption);
219
+ white-space: nowrap;
214
220
  }
215
221
 
216
222
  .sb-color-table__path-text {
@@ -228,15 +234,15 @@
228
234
  .sb-color-table__variant-pill {
229
235
  padding: var(--swatchbook-space-3xs) var(--swatchbook-space-xs);
230
236
  border-radius: var(--swatchbook-radius-2xs);
231
- letter-spacing: .5px;
237
+ font-family: inherit;
238
+ font-size: var(--swatchbook-type-micro);
239
+ letter-spacing: var(--swatchbook-tracking-label);
232
240
  text-transform: uppercase;
233
241
  background: var(--swatchbook-surface-muted);
234
242
  color: var(--swatchbook-text-muted);
235
243
  cursor: pointer;
236
244
  border: 0;
237
245
  margin: 0;
238
- font-family: inherit;
239
- font-size: 10px;
240
246
  transition: background-color .12s, color .12s;
241
247
  display: inline-block;
242
248
  }
@@ -270,9 +276,9 @@
270
276
  }
271
277
 
272
278
  .sb-color-table__value-cell {
273
- white-space: nowrap;
274
279
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
275
- font-size: 12px;
280
+ font-size: var(--swatchbook-type-caption);
281
+ white-space: nowrap;
276
282
  }
277
283
 
278
284
  .sb-color-table__value-text {
@@ -334,31 +340,31 @@
334
340
 
335
341
  .sb-color-table__detail {
336
342
  gap: var(--swatchbook-space-md);
343
+ font-size: var(--swatchbook-type-caption);
337
344
  color: var(--swatchbook-text-default);
338
345
  flex-direction: column;
339
- font-size: 12px;
340
346
  display: flex;
341
347
  }
342
348
 
343
349
  .sb-color-table__description {
350
+ font-size: var(--swatchbook-type-caption);
351
+ line-height: var(--swatchbook-leading-loose);
344
352
  margin: 0;
345
- font-size: 13px;
346
- line-height: 1.5;
347
353
  }
348
354
 
349
355
  .sb-color-table__chain {
356
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
357
+ font-size: var(--swatchbook-type-caption);
350
358
  color: var(--swatchbook-text-muted);
351
359
  margin: 0;
352
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
353
- font-size: 12px;
354
360
  }
355
361
 
356
362
  .sb-color-table__detail-label {
357
363
  text-transform: uppercase;
358
- letter-spacing: .5px;
364
+ letter-spacing: var(--swatchbook-tracking-label);
365
+ font-size: var(--swatchbook-type-micro);
359
366
  margin-right: var(--swatchbook-space-2xs);
360
367
  font-family: inherit;
361
- font-size: 10px;
362
368
  }
363
369
 
364
370
  .sb-color-table__detail-empty {
@@ -373,28 +379,28 @@
373
379
 
374
380
  .sb-color-table__variant-grid-header {
375
381
  text-transform: uppercase;
376
- letter-spacing: .5px;
382
+ letter-spacing: var(--swatchbook-tracking-label);
383
+ font-size: var(--swatchbook-type-micro);
377
384
  color: var(--swatchbook-text-muted);
378
385
  margin-bottom: var(--swatchbook-space-xs);
379
- font-size: 10px;
380
386
  }
381
387
 
382
388
  .sb-color-table__subtable {
383
389
  border-collapse: collapse;
384
390
  width: 100%;
385
391
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
386
- font-size: 11px;
392
+ font-size: var(--swatchbook-type-micro);
387
393
  }
388
394
 
389
395
  .sb-color-table__subth {
390
396
  text-align: left;
391
397
  padding: var(--swatchbook-space-2xs) var(--swatchbook-space-sm);
398
+ font-family: inherit;
399
+ font-size: var(--swatchbook-type-micro);
392
400
  text-transform: uppercase;
393
- letter-spacing: .5px;
401
+ letter-spacing: var(--swatchbook-tracking-label);
394
402
  color: var(--swatchbook-text-muted);
395
403
  border-bottom: 1px solid var(--swatchbook-border-default);
396
- font-family: inherit;
397
- font-size: 10px;
398
404
  }
399
405
 
400
406
  .sb-color-table__subtd {
@@ -444,9 +450,9 @@
444
450
  align-items: center;
445
451
  gap: var(--swatchbook-space-sm);
446
452
  min-width: 0;
447
- color: var(--swatchbook-text-muted);
448
453
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
449
- font-size: 12px;
454
+ font-size: var(--swatchbook-type-caption);
455
+ color: var(--swatchbook-text-muted);
450
456
  display: inline-flex;
451
457
  }
452
458
 
@@ -501,11 +507,11 @@
501
507
  }
502
508
 
503
509
  .sb-indicator__deprecated {
504
- letter-spacing: .04em;
510
+ font-size: var(--swatchbook-type-micro);
511
+ letter-spacing: var(--swatchbook-tracking-label);
505
512
  text-transform: uppercase;
506
513
  color: var(--swatchbook-text-muted);
507
514
  background: var(--swatchbook-deprecated-bg);
508
- font-size: 9px;
509
515
  }
510
516
 
511
517
  .sb-indicator__reverse-wrap {
@@ -582,16 +588,16 @@
582
588
  .sb-copy-button--icon {
583
589
  width: 20px;
584
590
  height: 20px;
585
- font-size: 13px;
586
- line-height: 1;
591
+ font-size: var(--swatchbook-type-caption);
592
+ line-height: var(--swatchbook-leading-none);
587
593
  }
588
594
 
589
595
  .sb-copy-button--text {
590
596
  padding: var(--swatchbook-space-3xs) var(--swatchbook-space-sm);
591
- letter-spacing: .5px;
597
+ font-size: var(--swatchbook-type-micro);
598
+ letter-spacing: var(--swatchbook-tracking-label);
592
599
  text-transform: uppercase;
593
600
  border: 1px solid var(--swatchbook-border-default);
594
- font-size: 11px;
595
601
  }
596
602
 
597
603
  .sb-copy-button--copied {
@@ -613,8 +619,8 @@
613
619
  align-items: center;
614
620
  gap: var(--swatchbook-space-sm);
615
621
  padding: var(--swatchbook-space-2xs) 0;
622
+ font-size: var(--swatchbook-type-caption);
616
623
  cursor: pointer;
617
- font-size: 13px;
618
624
  font-weight: 600;
619
625
  list-style: none;
620
626
  display: flex;
@@ -644,14 +650,14 @@
644
650
  gap: var(--swatchbook-space-md);
645
651
  padding: var(--swatchbook-space-sm) var(--swatchbook-space-2xs);
646
652
  border-top: 1px solid var(--swatchbook-border-default);
653
+ font-size: var(--swatchbook-type-caption);
647
654
  grid-template-columns: 60px 1fr;
648
- font-size: 12px;
649
655
  display: grid;
650
656
  }
651
657
 
652
658
  .sb-diagnostics__label {
653
- letter-spacing: .5px;
654
- font-size: 10px;
659
+ font-size: var(--swatchbook-type-micro);
660
+ letter-spacing: var(--swatchbook-tracking-label);
655
661
  font-weight: 600;
656
662
  }
657
663
 
@@ -666,8 +672,8 @@
666
672
  .sb-diagnostics__meta {
667
673
  margin-top: var(--swatchbook-space-2xs);
668
674
  color: var(--swatchbook-text-muted);
669
- opacity: .7;
670
- font-size: 11px;
675
+ font-size: var(--swatchbook-type-micro);
676
+ opacity: var(--swatchbook-opacity-muted);
671
677
  }
672
678
  .sb-dimension-scale__row {
673
679
  gap: var(--swatchbook-space-lg);
@@ -686,17 +692,17 @@
686
692
  }
687
693
 
688
694
  .sb-dimension-scale__path {
695
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
696
+ font-size: var(--swatchbook-type-caption);
689
697
  text-overflow: ellipsis;
690
698
  white-space: nowrap;
691
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
692
- font-size: 12px;
693
699
  overflow: hidden;
694
700
  }
695
701
 
696
702
  .sb-dimension-scale__specs {
697
- opacity: .7;
698
703
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
699
- font-size: 11px;
704
+ font-size: var(--swatchbook-type-micro);
705
+ opacity: var(--swatchbook-opacity-muted);
700
706
  }
701
707
 
702
708
  .sb-dimension-scale__visual-cell {
@@ -706,10 +712,46 @@
706
712
  }
707
713
 
708
714
  .sb-dimension-scale__css-var {
709
- opacity: .7;
710
- white-space: nowrap;
711
715
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
712
- font-size: 11px;
716
+ font-size: var(--swatchbook-type-micro);
717
+ opacity: var(--swatchbook-opacity-muted);
718
+ white-space: nowrap;
719
+ }
720
+ .sb-dimension-bar {
721
+ align-items: center;
722
+ gap: var(--swatchbook-space-3xs);
723
+ min-width: 0;
724
+ max-width: 100%;
725
+ display: inline-flex;
726
+ }
727
+
728
+ .sb-dimension-bar__cap {
729
+ color: var(--swatchbook-text-muted);
730
+ font-size: var(--swatchbook-type-micro);
731
+ line-height: var(--swatchbook-leading-none);
732
+ user-select: none;
733
+ }
734
+
735
+ .sb-dimension-bar__bar {
736
+ background: var(--swatchbook-accent-bg);
737
+ border-radius: 2px;
738
+ min-width: 1px;
739
+ max-width: 100%;
740
+ height: 14px;
741
+ }
742
+
743
+ .sb-dimension-bar__radius-sample {
744
+ background: var(--swatchbook-accent-bg);
745
+ border: 1px solid var(--swatchbook-border-default);
746
+ width: 56px;
747
+ height: 56px;
748
+ }
749
+
750
+ .sb-dimension-bar__size-sample {
751
+ background: var(--swatchbook-accent-bg);
752
+ border: 1px solid var(--swatchbook-border-default);
753
+ min-width: 1px;
754
+ min-height: 1px;
713
755
  }
714
756
  .sb-font-family-sample__row {
715
757
  gap: var(--swatchbook-space-lg);
@@ -728,28 +770,28 @@
728
770
  }
729
771
 
730
772
  .sb-font-family-sample__path {
773
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
774
+ font-size: var(--swatchbook-type-caption);
731
775
  text-overflow: ellipsis;
732
776
  white-space: nowrap;
733
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
734
- font-size: 12px;
735
777
  overflow: hidden;
736
778
  }
737
779
 
738
780
  .sb-font-family-sample__stack {
739
- color: var(--swatchbook-text-muted);
740
781
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
741
- font-size: 11px;
782
+ font-size: var(--swatchbook-type-micro);
783
+ color: var(--swatchbook-text-muted);
742
784
  }
743
785
 
744
786
  .sb-font-family-sample__sample {
745
- font-size: 22px;
746
- line-height: 1.2;
787
+ font-size: var(--swatchbook-type-sample);
788
+ line-height: var(--swatchbook-leading-tight);
747
789
  }
748
790
 
749
791
  .sb-font-family-sample__css-var {
750
- color: var(--swatchbook-text-muted);
751
792
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
752
- font-size: 11px;
793
+ font-size: var(--swatchbook-type-micro);
794
+ color: var(--swatchbook-text-muted);
753
795
  }
754
796
  .sb-font-weight-scale__row {
755
797
  gap: var(--swatchbook-space-lg);
@@ -768,28 +810,28 @@
768
810
  }
769
811
 
770
812
  .sb-font-weight-scale__path {
813
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
814
+ font-size: var(--swatchbook-type-caption);
771
815
  text-overflow: ellipsis;
772
816
  white-space: nowrap;
773
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
774
- font-size: 12px;
775
817
  overflow: hidden;
776
818
  }
777
819
 
778
820
  .sb-font-weight-scale__value {
779
- color: var(--swatchbook-text-muted);
780
821
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
781
- font-size: 11px;
822
+ font-size: var(--swatchbook-type-micro);
823
+ color: var(--swatchbook-text-muted);
782
824
  }
783
825
 
784
826
  .sb-font-weight-scale__sample {
785
- font-size: 28px;
786
- line-height: 1;
827
+ font-size: var(--swatchbook-type-sample-lg);
828
+ line-height: var(--swatchbook-leading-none);
787
829
  }
788
830
 
789
831
  .sb-font-weight-scale__css-var {
790
- color: var(--swatchbook-text-muted);
791
832
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
792
- font-size: 11px;
833
+ font-size: var(--swatchbook-type-micro);
834
+ color: var(--swatchbook-text-muted);
793
835
  }
794
836
  .sb-gradient-palette__row {
795
837
  gap: var(--swatchbook-space-lg);
@@ -808,17 +850,17 @@
808
850
  }
809
851
 
810
852
  .sb-gradient-palette__path {
853
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
854
+ font-size: var(--swatchbook-type-caption);
811
855
  text-overflow: ellipsis;
812
856
  white-space: nowrap;
813
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
814
- font-size: 12px;
815
857
  overflow: hidden;
816
858
  }
817
859
 
818
860
  .sb-gradient-palette__css-var {
819
- opacity: .7;
820
861
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
821
- font-size: 11px;
862
+ font-size: var(--swatchbook-type-micro);
863
+ opacity: var(--swatchbook-opacity-muted);
822
864
  }
823
865
 
824
866
  .sb-gradient-palette__sample {
@@ -828,10 +870,10 @@
828
870
  }
829
871
 
830
872
  .sb-gradient-palette__stops {
873
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
874
+ font-size: var(--swatchbook-type-micro);
831
875
  gap: var(--swatchbook-space-3xs);
832
876
  flex-direction: column;
833
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
834
- font-size: 11px;
835
877
  display: flex;
836
878
  }
837
879
 
@@ -850,7 +892,7 @@
850
892
  }
851
893
 
852
894
  .sb-gradient-palette__stop-position {
853
- opacity: .6;
895
+ opacity: var(--swatchbook-opacity-scrim);
854
896
  }
855
897
  .sb-motion-preview__controls {
856
898
  align-items: center;
@@ -860,21 +902,21 @@
860
902
  }
861
903
 
862
904
  .sb-motion-preview__control-label {
905
+ font-size: var(--swatchbook-type-micro);
863
906
  color: var(--swatchbook-text-muted);
864
907
  text-transform: uppercase;
865
- letter-spacing: .5px;
866
- font-size: 11px;
908
+ letter-spacing: var(--swatchbook-tracking-label);
867
909
  }
868
910
 
869
911
  .sb-motion-preview__speed-btn {
912
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
913
+ font-size: var(--swatchbook-type-micro);
870
914
  padding: var(--swatchbook-space-2xs) var(--swatchbook-space-sm);
871
915
  color: inherit;
872
916
  border: 1px solid var(--swatchbook-border-default);
873
917
  border-radius: var(--swatchbook-radius-2xs);
874
918
  cursor: pointer;
875
919
  background: none;
876
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
877
- font-size: 11px;
878
920
  }
879
921
 
880
922
  .sb-motion-preview__speed-btn--active {
@@ -884,6 +926,7 @@
884
926
  }
885
927
 
886
928
  .sb-motion-preview__replay-btn {
929
+ font-size: var(--swatchbook-type-micro);
887
930
  padding: var(--swatchbook-space-2xs) var(--swatchbook-space-md);
888
931
  color: inherit;
889
932
  border: 1px solid var(--swatchbook-border-default);
@@ -891,7 +934,6 @@
891
934
  cursor: pointer;
892
935
  background: none;
893
936
  margin-left: auto;
894
- font-size: 11px;
895
937
  }
896
938
 
897
939
  .sb-motion-preview__row {
@@ -911,24 +953,55 @@
911
953
  }
912
954
 
913
955
  .sb-motion-preview__path {
956
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
957
+ font-size: var(--swatchbook-type-caption);
914
958
  text-overflow: ellipsis;
915
959
  white-space: nowrap;
916
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
917
- font-size: 12px;
918
960
  overflow: hidden;
919
961
  }
920
962
 
921
963
  .sb-motion-preview__specs {
922
- color: var(--swatchbook-text-muted);
923
964
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
924
- font-size: 11px;
965
+ font-size: var(--swatchbook-type-micro);
966
+ color: var(--swatchbook-text-muted);
925
967
  }
926
968
 
927
969
  .sb-motion-preview__css-var {
970
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
971
+ font-size: var(--swatchbook-type-micro);
928
972
  color: var(--swatchbook-text-muted);
929
973
  white-space: nowrap;
930
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
931
- font-size: 11px;
974
+ }
975
+ .sb-motion-sample__track {
976
+ background: var(--swatchbook-surface-muted);
977
+ border-radius: 18px;
978
+ height: 36px;
979
+ position: relative;
980
+ overflow: hidden;
981
+ }
982
+
983
+ .sb-motion-sample__ball {
984
+ background: var(--swatchbook-accent-bg);
985
+ border-radius: 50%;
986
+ width: 28px;
987
+ height: 28px;
988
+ margin-top: -14px;
989
+ position: absolute;
990
+ top: 50%;
991
+ }
992
+
993
+ .sb-motion-sample__ball--start {
994
+ left: 4px;
995
+ }
996
+
997
+ .sb-motion-sample__ball--end {
998
+ left: calc(100% - 32px);
999
+ }
1000
+
1001
+ .sb-motion-sample__reduced-motion {
1002
+ font-size: var(--swatchbook-type-micro);
1003
+ color: var(--swatchbook-text-muted);
1004
+ font-style: italic;
932
1005
  }
933
1006
  .sb-opacity-scale__grid {
934
1007
  gap: var(--swatchbook-space-md);
@@ -971,25 +1044,24 @@
971
1044
 
972
1045
  .sb-opacity-scale__path {
973
1046
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
974
- font-size: 12px;
1047
+ font-size: var(--swatchbook-type-caption);
975
1048
  }
976
1049
 
977
1050
  .sb-opacity-scale__value, .sb-opacity-scale__css-var {
978
- opacity: .7;
979
1051
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
980
- font-size: 11px;
1052
+ font-size: var(--swatchbook-type-micro);
1053
+ opacity: var(--swatchbook-opacity-muted);
981
1054
  }
982
1055
  :root {
983
- --swatchbook-border-default: #e5e7eb;
1056
+ --swatchbook-border-default: #e2e8f0;
984
1057
  --swatchbook-surface-default: #fff;
985
- --swatchbook-surface-muted: #f4f4f5;
1058
+ --swatchbook-surface-muted: #f8fafc;
986
1059
  --swatchbook-surface-raised: #fff;
987
- --swatchbook-text-default: #111827;
988
- --swatchbook-text-muted: #4b5563;
1060
+ --swatchbook-text-default: #0f172a;
1061
+ --swatchbook-text-muted: #475569;
989
1062
  --swatchbook-accent-bg: #1d4ed8;
990
1063
  --swatchbook-accent-fg: #fff;
991
1064
  --swatchbook-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
992
- --swatchbook-body-font-size: 14px;
993
1065
  }
994
1066
  :root {
995
1067
  --swatchbook-status-success: color-mix(in oklab, #30a46c, var(--swatchbook-text-default) 35%);
@@ -999,24 +1071,43 @@
999
1071
  --swatchbook-deprecated-bg: #f59e0b26;
1000
1072
  }
1001
1073
  :root {
1002
- --swatchbook-space-none: 0;
1003
- --swatchbook-space-3xs: 2px;
1004
- --swatchbook-space-2xs: 4px;
1005
- --swatchbook-space-xs: 6px;
1006
- --swatchbook-space-sm: 8px;
1007
- --swatchbook-space-md: 12px;
1008
- --swatchbook-space-lg: 16px;
1009
- --swatchbook-space-xl: 24px;
1010
- --swatchbook-space-2xl: 40px;
1011
- --swatchbook-space-3xl: 64px;
1012
- --swatchbook-radius-3xs: 2px;
1013
1074
  --swatchbook-radius-2xs: 4px;
1014
- --swatchbook-radius-xs: 6px;
1015
- --swatchbook-radius-sm: 8px;
1016
- --swatchbook-radius-md: 12px;
1075
+ --swatchbook-radius-3xs: 2px;
1017
1076
  --swatchbook-radius-lg: 16px;
1018
- --swatchbook-radius-xl: 24px;
1077
+ --swatchbook-radius-md: 12px;
1078
+ --swatchbook-radius-none: 0;
1019
1079
  --swatchbook-radius-pill: 9999px;
1080
+ --swatchbook-radius-sm: 8px;
1081
+ --swatchbook-radius-xl: 24px;
1082
+ --swatchbook-radius-xs: 6px;
1083
+ --swatchbook-space-2xl: 40px;
1084
+ --swatchbook-space-2xs: 4px;
1085
+ --swatchbook-space-3xl: 64px;
1086
+ --swatchbook-space-3xs: 2px;
1087
+ --swatchbook-space-lg: 16px;
1088
+ --swatchbook-space-md: 12px;
1089
+ --swatchbook-space-none: 0;
1090
+ --swatchbook-space-sm: 8px;
1091
+ --swatchbook-space-xl: 24px;
1092
+ --swatchbook-space-xs: 6px;
1093
+ }
1094
+ :root {
1095
+ --swatchbook-leading-loose: 1.5;
1096
+ --swatchbook-leading-none: 1;
1097
+ --swatchbook-leading-normal: 1.4;
1098
+ --swatchbook-leading-tight: 1.2;
1099
+ --swatchbook-opacity-disabled: .4;
1100
+ --swatchbook-opacity-muted: .7;
1101
+ --swatchbook-opacity-scrim: .6;
1102
+ --swatchbook-tracking-label: .5px;
1103
+ --swatchbook-type-body: 1rem;
1104
+ --swatchbook-type-caption: .75rem;
1105
+ --swatchbook-type-heading: 1.25rem;
1106
+ --swatchbook-type-micro: .6875rem;
1107
+ --swatchbook-type-sample-lg: 1.75rem;
1108
+ --swatchbook-type-sample-xl: 2rem;
1109
+ --swatchbook-type-sample: 1.5rem;
1110
+ --swatchbook-type-small: .875rem;
1020
1111
  }
1021
1112
  .sb-shadow-preview__row {
1022
1113
  gap: var(--swatchbook-space-lg);
@@ -1035,17 +1126,17 @@
1035
1126
  }
1036
1127
 
1037
1128
  .sb-shadow-preview__path {
1129
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1130
+ font-size: var(--swatchbook-type-caption);
1038
1131
  text-overflow: ellipsis;
1039
1132
  white-space: nowrap;
1040
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1041
- font-size: 12px;
1042
1133
  overflow: hidden;
1043
1134
  }
1044
1135
 
1045
1136
  .sb-shadow-preview__css-var {
1046
- opacity: .7;
1047
1137
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1048
- font-size: 11px;
1138
+ font-size: var(--swatchbook-type-micro);
1139
+ opacity: var(--swatchbook-opacity-muted);
1049
1140
  }
1050
1141
 
1051
1142
  .sb-shadow-preview__sample-cell {
@@ -1056,11 +1147,11 @@
1056
1147
  }
1057
1148
 
1058
1149
  .sb-shadow-preview__breakdown {
1150
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1151
+ font-size: var(--swatchbook-type-micro);
1059
1152
  column-gap: var(--swatchbook-space-md);
1060
1153
  row-gap: var(--swatchbook-space-3xs);
1061
1154
  grid-template-columns: auto 1fr;
1062
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1063
- font-size: 11px;
1064
1155
  display: grid;
1065
1156
  }
1066
1157
 
@@ -1073,16 +1164,23 @@
1073
1164
  }
1074
1165
 
1075
1166
  .sb-shadow-preview__layer-header {
1167
+ font-size: var(--swatchbook-type-micro);
1076
1168
  text-transform: uppercase;
1077
- letter-spacing: .5px;
1169
+ letter-spacing: var(--swatchbook-tracking-label);
1078
1170
  color: var(--swatchbook-text-muted);
1079
1171
  margin-top: var(--swatchbook-space-xs);
1080
- font-size: 10px;
1081
1172
  }
1082
1173
 
1083
1174
  .sb-shadow-preview__layer-breakdown {
1084
1175
  margin-top: var(--swatchbook-space-3xs);
1085
1176
  }
1177
+ .sb-shadow-sample {
1178
+ background: var(--swatchbook-surface-raised);
1179
+ border: 1px solid var(--swatchbook-border-default);
1180
+ border-radius: 6px;
1181
+ width: 120px;
1182
+ height: 56px;
1183
+ }
1086
1184
  .sb-stroke-style-sample__row {
1087
1185
  gap: var(--swatchbook-space-lg);
1088
1186
  padding: var(--swatchbook-space-lg) 0;
@@ -1100,17 +1198,17 @@
1100
1198
  }
1101
1199
 
1102
1200
  .sb-stroke-style-sample__path {
1201
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1202
+ font-size: var(--swatchbook-type-caption);
1103
1203
  text-overflow: ellipsis;
1104
1204
  white-space: nowrap;
1105
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1106
- font-size: 12px;
1107
1205
  overflow: hidden;
1108
1206
  }
1109
1207
 
1110
1208
  .sb-stroke-style-sample__value {
1111
- color: var(--swatchbook-text-muted);
1112
1209
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1113
- font-size: 11px;
1210
+ font-size: var(--swatchbook-type-micro);
1211
+ color: var(--swatchbook-text-muted);
1114
1212
  }
1115
1213
 
1116
1214
  .sb-stroke-style-sample__line {
@@ -1121,9 +1219,9 @@
1121
1219
  }
1122
1220
 
1123
1221
  .sb-stroke-style-sample__object-fallback, .sb-stroke-style-sample__css-var {
1124
- color: var(--swatchbook-text-muted);
1125
1222
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1126
- font-size: 11px;
1223
+ font-size: var(--swatchbook-type-micro);
1224
+ color: var(--swatchbook-text-muted);
1127
1225
  }
1128
1226
  .sb-token-detail {
1129
1227
  padding: var(--swatchbook-space-lg);
@@ -1131,27 +1229,27 @@
1131
1229
  }
1132
1230
 
1133
1231
  .sb-token-detail__heading {
1134
- margin: 0;
1135
1232
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1136
- font-size: 16px;
1233
+ font-size: var(--swatchbook-type-heading);
1234
+ margin: 0;
1137
1235
  }
1138
1236
 
1139
1237
  .sb-token-detail__subline {
1140
1238
  align-items: center;
1141
1239
  gap: var(--swatchbook-space-sm);
1142
1240
  margin: var(--swatchbook-space-2xs) 0 var(--swatchbook-space-md);
1241
+ font-size: var(--swatchbook-type-caption);
1143
1242
  opacity: .8;
1144
- font-size: 12px;
1145
1243
  display: flex;
1146
1244
  }
1147
1245
 
1148
1246
  .sb-token-detail__type-pill {
1149
1247
  padding: var(--swatchbook-space-3xs) var(--swatchbook-space-xs);
1150
1248
  border-radius: var(--swatchbook-radius-2xs);
1151
- letter-spacing: .5px;
1249
+ font-size: var(--swatchbook-type-micro);
1250
+ letter-spacing: var(--swatchbook-tracking-label);
1152
1251
  text-transform: uppercase;
1153
1252
  background: var(--swatchbook-surface-muted);
1154
- font-size: 10px;
1155
1253
  display: inline-block;
1156
1254
  }
1157
1255
 
@@ -1161,20 +1259,20 @@
1161
1259
  }
1162
1260
 
1163
1261
  .sb-token-detail__section-header {
1262
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1263
+ font-size: var(--swatchbook-type-micro);
1164
1264
  text-transform: uppercase;
1165
- letter-spacing: .5px;
1166
- opacity: .6;
1265
+ letter-spacing: var(--swatchbook-tracking-label);
1266
+ opacity: var(--swatchbook-opacity-scrim);
1167
1267
  margin: var(--swatchbook-space-md) 0 var(--swatchbook-space-xs);
1168
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1169
- font-size: 11px;
1170
1268
  }
1171
1269
 
1172
1270
  .sb-token-detail__chain {
1173
1271
  gap: var(--swatchbook-space-xs);
1272
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1273
+ font-size: var(--swatchbook-type-caption);
1174
1274
  flex-wrap: wrap;
1175
1275
  align-items: center;
1176
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1177
- font-size: 12px;
1178
1276
  display: flex;
1179
1277
  }
1180
1278
 
@@ -1192,7 +1290,7 @@
1192
1290
  border-collapse: collapse;
1193
1291
  table-layout: fixed;
1194
1292
  width: 100%;
1195
- font-size: 12px;
1293
+ font-size: var(--swatchbook-type-caption);
1196
1294
  }
1197
1295
 
1198
1296
  .sb-token-detail__theme-row {
@@ -1218,11 +1316,11 @@
1218
1316
  padding: var(--swatchbook-space-sm) var(--swatchbook-space-md);
1219
1317
  border-radius: var(--swatchbook-radius-2xs);
1220
1318
  background: var(--swatchbook-surface-muted);
1319
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1320
+ font-size: var(--swatchbook-type-caption);
1221
1321
  white-space: pre;
1222
1322
  flex: 1;
1223
1323
  min-width: 0;
1224
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1225
- font-size: 12px;
1226
1324
  display: block;
1227
1325
  overflow: auto;
1228
1326
  }
@@ -1235,7 +1333,7 @@
1235
1333
 
1236
1334
  .sb-token-detail__missing {
1237
1335
  padding: var(--swatchbook-space-md);
1238
- opacity: .7;
1336
+ opacity: var(--swatchbook-opacity-muted);
1239
1337
  }
1240
1338
 
1241
1339
  .sb-token-detail__typography-sample {
@@ -1278,9 +1376,9 @@
1278
1376
  }
1279
1377
 
1280
1378
  .sb-token-detail__stroke-style-fallback {
1281
- color: var(--swatchbook-text-muted);
1282
1379
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1283
- font-size: 12px;
1380
+ font-size: var(--swatchbook-type-caption);
1381
+ color: var(--swatchbook-text-muted);
1284
1382
  }
1285
1383
 
1286
1384
  .sb-token-detail__color-swatch-row {
@@ -1304,12 +1402,12 @@
1304
1402
  }
1305
1403
 
1306
1404
  .sb-token-detail__breakdown-section {
1405
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1406
+ font-size: var(--swatchbook-type-caption);
1307
1407
  column-gap: var(--swatchbook-space-md);
1308
1408
  row-gap: var(--swatchbook-space-2xs);
1309
1409
  margin-top: var(--swatchbook-space-xs);
1310
1410
  grid-template-columns: auto 1fr;
1311
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1312
- font-size: 12px;
1313
1411
  display: grid;
1314
1412
  }
1315
1413
 
@@ -1328,9 +1426,9 @@
1328
1426
  .sb-token-detail__breakdown-alias {
1329
1427
  align-items: center;
1330
1428
  gap: var(--swatchbook-space-2xs);
1429
+ font-size: var(--swatchbook-type-micro);
1331
1430
  opacity: .8;
1332
1431
  flex-wrap: wrap;
1333
- font-size: 11px;
1334
1432
  display: flex;
1335
1433
  }
1336
1434
 
@@ -1341,24 +1439,24 @@
1341
1439
  }
1342
1440
 
1343
1441
  .sb-token-detail__breakdown-layer-header {
1442
+ font-size: var(--swatchbook-type-micro);
1344
1443
  text-transform: uppercase;
1345
- letter-spacing: .5px;
1444
+ letter-spacing: var(--swatchbook-tracking-label);
1346
1445
  color: var(--swatchbook-text-muted);
1347
1446
  margin-top: var(--swatchbook-space-2xs);
1348
1447
  grid-column: 1 / -1;
1349
- font-size: 10px;
1350
1448
  }
1351
1449
 
1352
1450
  .sb-token-detail__font-family-sample {
1353
1451
  padding: var(--swatchbook-space-2xs) 0;
1354
- font-size: 22px;
1355
- line-height: 1.2;
1452
+ font-size: var(--swatchbook-type-sample);
1453
+ line-height: var(--swatchbook-leading-tight);
1356
1454
  }
1357
1455
 
1358
1456
  .sb-token-detail__font-weight-sample {
1359
1457
  padding: var(--swatchbook-space-2xs) 0;
1360
- font-size: 32px;
1361
- line-height: 1;
1458
+ font-size: var(--swatchbook-type-sample-xl);
1459
+ line-height: var(--swatchbook-leading-none);
1362
1460
  }
1363
1461
 
1364
1462
  .sb-token-detail__dimension-track {
@@ -1396,11 +1494,19 @@
1396
1494
  top: 50%;
1397
1495
  }
1398
1496
 
1497
+ .sb-token-detail__motion-ball--start {
1498
+ left: 4px;
1499
+ }
1500
+
1501
+ .sb-token-detail__motion-ball--end {
1502
+ left: calc(100% - 28px);
1503
+ }
1504
+
1399
1505
  .sb-token-detail__aliased-by-list {
1506
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1507
+ font-size: var(--swatchbook-type-caption);
1400
1508
  margin: 0;
1401
1509
  padding: 0;
1402
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1403
- font-size: 12px;
1404
1510
  list-style: none;
1405
1511
  }
1406
1512
 
@@ -1412,23 +1518,27 @@
1412
1518
  }
1413
1519
 
1414
1520
  .sb-token-detail__aliased-by-truncated {
1415
- opacity: .6;
1521
+ font-size: var(--swatchbook-type-micro);
1522
+ opacity: var(--swatchbook-opacity-scrim);
1416
1523
  margin-top: var(--swatchbook-space-2xs);
1417
- font-size: 11px;
1418
1524
  font-style: italic;
1419
1525
  }
1420
1526
 
1527
+ .sb-token-detail__aliased-by-truncated--axis-note {
1528
+ margin-top: var(--swatchbook-space-xs);
1529
+ }
1530
+
1421
1531
  .sb-token-detail__reduced-motion {
1532
+ font-size: var(--swatchbook-type-micro);
1422
1533
  color: var(--swatchbook-text-muted);
1423
- font-size: 11px;
1424
1534
  font-style: italic;
1425
1535
  }
1426
1536
 
1427
1537
  .sb-token-detail__tuple-indicator {
1428
- opacity: .7;
1538
+ font-size: var(--swatchbook-type-micro);
1539
+ opacity: var(--swatchbook-opacity-muted);
1429
1540
  margin: 0 0 var(--swatchbook-space-xs);
1430
1541
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1431
- font-size: 11px;
1432
1542
  }
1433
1543
 
1434
1544
  .sb-token-detail__consumer-row {
@@ -1442,25 +1552,26 @@
1442
1552
  }
1443
1553
 
1444
1554
  .sb-token-detail__consumer-row-label {
1555
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1556
+ font-size: var(--swatchbook-type-micro);
1445
1557
  text-transform: uppercase;
1446
- letter-spacing: .5px;
1447
- opacity: .6;
1558
+ letter-spacing: var(--swatchbook-tracking-label);
1559
+ opacity: var(--swatchbook-opacity-scrim);
1448
1560
  flex-shrink: 0;
1449
1561
  min-width: 32px;
1450
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1451
- font-size: 10px;
1452
1562
  }
1453
1563
 
1454
1564
  .sb-token-detail__consumer-row-value {
1565
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1566
+ font-size: var(--swatchbook-type-caption);
1455
1567
  white-space: nowrap;
1456
1568
  flex: 1;
1457
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1458
- font-size: 12px;
1459
1569
  overflow: auto;
1460
1570
  }
1461
1571
 
1462
1572
  .sb-token-detail__consumer-row-copy {
1463
1573
  padding: var(--swatchbook-space-2xs) var(--swatchbook-space-sm);
1574
+ font-size: var(--swatchbook-type-micro);
1464
1575
  background: var(--swatchbook-surface-raised);
1465
1576
  color: var(--swatchbook-text-default);
1466
1577
  border: 1px solid var(--swatchbook-border-default);
@@ -1468,16 +1579,37 @@
1468
1579
  cursor: pointer;
1469
1580
  flex-shrink: 0;
1470
1581
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1471
- font-size: 11px;
1472
1582
  }
1473
1583
 
1474
1584
  .sb-token-detail__deprecated {
1475
1585
  margin: var(--swatchbook-space-xs) 0;
1476
1586
  padding: var(--swatchbook-space-xs) var(--swatchbook-space-md);
1477
1587
  border-radius: var(--swatchbook-radius-xs);
1588
+ font-size: var(--swatchbook-type-caption);
1478
1589
  color: var(--swatchbook-text-muted);
1479
1590
  background: var(--swatchbook-deprecated-bg);
1480
- font-size: 12px;
1591
+ }
1592
+
1593
+ .sb-token-detail__out-of-gamut-icon {
1594
+ margin-left: var(--swatchbook-space-xs);
1595
+ }
1596
+
1597
+ .sb-token-detail__theme-cell--label {
1598
+ width: 30%;
1599
+ }
1600
+
1601
+ .sb-token-detail__theme-cell--header {
1602
+ text-align: left;
1603
+ opacity: var(--swatchbook-opacity-muted);
1604
+ }
1605
+
1606
+ .sb-token-detail__constant-label-note {
1607
+ opacity: var(--swatchbook-opacity-scrim);
1608
+ margin-left: var(--swatchbook-space-sm);
1609
+ }
1610
+
1611
+ .sb-token-detail__shadow-layer {
1612
+ display: contents;
1481
1613
  }
1482
1614
  .sb-token-navigator__search {
1483
1615
  padding: 0 0 var(--swatchbook-space-sm);
@@ -1492,8 +1624,8 @@
1492
1624
  background: var(--swatchbook-surface-default);
1493
1625
  color: var(--swatchbook-text-default);
1494
1626
  font-family: inherit;
1495
- font-size: 13px;
1496
- line-height: 1.4;
1627
+ font-size: var(--swatchbook-type-caption);
1628
+ line-height: var(--swatchbook-leading-normal);
1497
1629
  }
1498
1630
 
1499
1631
  .sb-token-navigator__search-input:focus-visible {
@@ -1504,7 +1636,7 @@
1504
1636
  .sb-token-navigator__caption {
1505
1637
  padding: var(--swatchbook-space-2xs) 0 var(--swatchbook-space-md);
1506
1638
  color: var(--swatchbook-text-muted);
1507
- font-size: 12px;
1639
+ font-size: var(--swatchbook-type-caption);
1508
1640
  }
1509
1641
 
1510
1642
  .sb-token-navigator__tree {
@@ -1528,7 +1660,7 @@
1528
1660
  cursor: pointer;
1529
1661
  user-select: none;
1530
1662
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1531
- font-size: 12px;
1663
+ font-size: var(--swatchbook-type-caption);
1532
1664
  display: flex;
1533
1665
  }
1534
1666
 
@@ -1544,7 +1676,7 @@
1544
1676
  border-radius: var(--swatchbook-radius-2xs);
1545
1677
  cursor: pointer;
1546
1678
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1547
- font-size: 12px;
1679
+ font-size: var(--swatchbook-type-caption);
1548
1680
  display: flex;
1549
1681
  }
1550
1682
 
@@ -1557,34 +1689,34 @@
1557
1689
 
1558
1690
  .sb-token-navigator__tail {
1559
1691
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1560
- font-size: 12px;
1692
+ font-size: var(--swatchbook-type-caption);
1561
1693
  }
1562
1694
 
1563
1695
  .sb-token-navigator__type-pill {
1564
1696
  padding: var(--swatchbook-space-3xs) var(--swatchbook-space-xs);
1565
1697
  border-radius: var(--swatchbook-radius-2xs);
1566
- letter-spacing: .5px;
1698
+ font-size: var(--swatchbook-type-micro);
1699
+ letter-spacing: var(--swatchbook-tracking-label);
1567
1700
  text-transform: uppercase;
1568
1701
  background: var(--swatchbook-surface-muted);
1569
- font-size: 10px;
1570
1702
  display: inline-block;
1571
1703
  }
1572
1704
 
1573
1705
  .sb-token-navigator__value {
1706
+ font-size: var(--swatchbook-type-micro);
1574
1707
  color: var(--swatchbook-text-muted);
1575
1708
  text-align: right;
1576
1709
  text-overflow: ellipsis;
1577
1710
  white-space: nowrap;
1578
1711
  min-width: 0;
1579
1712
  margin-left: auto;
1580
- font-size: 11px;
1581
1713
  overflow: hidden;
1582
1714
  }
1583
1715
 
1584
1716
  .sb-token-navigator__count {
1717
+ font-size: var(--swatchbook-type-micro);
1585
1718
  color: var(--swatchbook-text-default);
1586
1719
  margin-left: auto;
1587
- font-size: 11px;
1588
1720
  }
1589
1721
 
1590
1722
  .sb-token-navigator__color-swatch {
@@ -1670,9 +1802,9 @@
1670
1802
  height: 32px;
1671
1803
  color: inherit;
1672
1804
  cursor: pointer;
1805
+ font-size: var(--swatchbook-type-heading);
1806
+ line-height: var(--swatchbook-leading-none);
1673
1807
  background: none;
1674
- font-size: 16px;
1675
- line-height: 1;
1676
1808
  position: absolute;
1677
1809
  }
1678
1810
  .sb-token-table__table {
@@ -1693,8 +1825,8 @@
1693
1825
  background: var(--swatchbook-surface-default);
1694
1826
  color: var(--swatchbook-text-default);
1695
1827
  font-family: inherit;
1696
- font-size: 13px;
1697
- line-height: 1.4;
1828
+ font-size: var(--swatchbook-type-caption);
1829
+ line-height: var(--swatchbook-leading-normal);
1698
1830
  }
1699
1831
 
1700
1832
  .sb-token-table__search-input:focus-visible {
@@ -1714,17 +1846,17 @@
1714
1846
  text-align: left;
1715
1847
  padding: var(--swatchbook-space-sm) 0;
1716
1848
  color: var(--swatchbook-text-muted);
1717
- font-size: 12px;
1849
+ font-size: var(--swatchbook-type-caption);
1718
1850
  }
1719
1851
 
1720
1852
  .sb-token-table__th {
1721
1853
  text-align: left;
1722
1854
  padding: var(--swatchbook-space-sm) var(--swatchbook-space-md);
1855
+ font-size: var(--swatchbook-type-micro);
1723
1856
  text-transform: uppercase;
1724
- letter-spacing: .5px;
1857
+ letter-spacing: var(--swatchbook-tracking-label);
1725
1858
  color: var(--swatchbook-text-muted);
1726
1859
  border-bottom: 1px solid var(--swatchbook-border-default);
1727
- font-size: 11px;
1728
1860
  }
1729
1861
 
1730
1862
  .sb-token-table__th--path {
@@ -1751,9 +1883,9 @@
1751
1883
  }
1752
1884
 
1753
1885
  .sb-token-table__path {
1754
- overflow-wrap: break-word;
1755
1886
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1756
- font-size: 12px;
1887
+ font-size: var(--swatchbook-type-caption);
1888
+ overflow-wrap: break-word;
1757
1889
  }
1758
1890
 
1759
1891
  .sb-token-table__value-cell {
@@ -1761,20 +1893,20 @@
1761
1893
  gap: var(--swatchbook-space-sm);
1762
1894
  min-width: 0;
1763
1895
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1764
- font-size: 12px;
1896
+ font-size: var(--swatchbook-type-caption);
1765
1897
  display: flex;
1766
1898
  }
1767
1899
 
1768
1900
  .sb-token-table__type-pill {
1769
1901
  padding: var(--swatchbook-space-3xs) var(--swatchbook-space-xs);
1770
1902
  border-radius: var(--swatchbook-radius-2xs);
1771
- letter-spacing: .5px;
1903
+ font-size: var(--swatchbook-type-micro);
1904
+ letter-spacing: var(--swatchbook-tracking-label);
1772
1905
  text-transform: uppercase;
1773
1906
  background: var(--swatchbook-surface-muted);
1774
1907
  color: var(--swatchbook-text-muted);
1775
1908
  flex-shrink: 0;
1776
1909
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1777
- font-size: 10px;
1778
1910
  display: inline-block;
1779
1911
  }
1780
1912
 
@@ -1847,11 +1979,11 @@
1847
1979
 
1848
1980
  .sb-typography-scale__path {
1849
1981
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1850
- font-size: 12px;
1982
+ font-size: var(--swatchbook-type-caption);
1851
1983
  }
1852
1984
 
1853
1985
  .sb-typography-scale__specs {
1854
- opacity: .7;
1855
1986
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1856
- font-size: 11px;
1987
+ font-size: var(--swatchbook-type-micro);
1988
+ opacity: var(--swatchbook-opacity-muted);
1857
1989
  }