@filipgutica/design-system 1.0.35 → 1.0.37

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/tokens.d.ts CHANGED
@@ -122,6 +122,7 @@ export type TokenName =
122
122
  | 'radius-field'
123
123
  | 'radius-mark'
124
124
  | 'radius-pill'
125
+ | 'radius-circle'
125
126
  | 'shadow-raise'
126
127
  | 'shadow-surface'
127
128
  | 'shadow-sink'
package/dist/tokens.js CHANGED
@@ -124,6 +124,7 @@ export const tokens = {
124
124
  "radius-field": "8px",
125
125
  "radius-mark": "4px",
126
126
  "radius-pill": "999px",
127
+ "radius-circle": "999px",
127
128
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
128
129
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
129
130
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -257,6 +258,7 @@ export const tokens = {
257
258
  "radius-field": "8px",
258
259
  "radius-mark": "4px",
259
260
  "radius-pill": "999px",
261
+ "radius-circle": "999px",
260
262
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
261
263
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
262
264
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
@@ -392,6 +394,7 @@ export const tokens = {
392
394
  "radius-field": "8px",
393
395
  "radius-mark": "4px",
394
396
  "radius-pill": "999px",
397
+ "radius-circle": "999px",
395
398
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
396
399
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
397
400
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -525,6 +528,7 @@ export const tokens = {
525
528
  "radius-field": "8px",
526
529
  "radius-mark": "4px",
527
530
  "radius-pill": "999px",
531
+ "radius-circle": "999px",
528
532
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
529
533
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
530
534
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
@@ -660,6 +664,7 @@ export const tokens = {
660
664
  "radius-field": "8px",
661
665
  "radius-mark": "4px",
662
666
  "radius-pill": "999px",
667
+ "radius-circle": "999px",
663
668
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
664
669
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
665
670
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -793,6 +798,7 @@ export const tokens = {
793
798
  "radius-field": "8px",
794
799
  "radius-mark": "4px",
795
800
  "radius-pill": "999px",
801
+ "radius-circle": "999px",
796
802
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
797
803
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
798
804
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
@@ -928,6 +934,7 @@ export const tokens = {
928
934
  "radius-field": "8px",
929
935
  "radius-mark": "4px",
930
936
  "radius-pill": "999px",
937
+ "radius-circle": "999px",
931
938
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
932
939
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
933
940
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -1061,6 +1068,7 @@ export const tokens = {
1061
1068
  "radius-field": "8px",
1062
1069
  "radius-mark": "4px",
1063
1070
  "radius-pill": "999px",
1071
+ "radius-circle": "999px",
1064
1072
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
1065
1073
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
1066
1074
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
@@ -1196,6 +1204,7 @@ export const tokens = {
1196
1204
  "radius-field": "8px",
1197
1205
  "radius-mark": "4px",
1198
1206
  "radius-pill": "999px",
1207
+ "radius-circle": "999px",
1199
1208
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
1200
1209
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
1201
1210
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -1329,6 +1338,7 @@ export const tokens = {
1329
1338
  "radius-field": "8px",
1330
1339
  "radius-mark": "4px",
1331
1340
  "radius-pill": "999px",
1341
+ "radius-circle": "999px",
1332
1342
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
1333
1343
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
1334
1344
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
@@ -1464,6 +1474,7 @@ export const tokens = {
1464
1474
  "radius-field": "8px",
1465
1475
  "radius-mark": "4px",
1466
1476
  "radius-pill": "999px",
1477
+ "radius-circle": "999px",
1467
1478
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
1468
1479
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
1469
1480
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -1597,6 +1608,7 @@ export const tokens = {
1597
1608
  "radius-field": "8px",
1598
1609
  "radius-mark": "4px",
1599
1610
  "radius-pill": "999px",
1611
+ "radius-circle": "999px",
1600
1612
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
1601
1613
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
1602
1614
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
@@ -1732,6 +1744,7 @@ export const tokens = {
1732
1744
  "radius-field": "8px",
1733
1745
  "radius-mark": "4px",
1734
1746
  "radius-pill": "999px",
1747
+ "radius-circle": "999px",
1735
1748
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
1736
1749
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
1737
1750
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -1865,6 +1878,7 @@ export const tokens = {
1865
1878
  "radius-field": "8px",
1866
1879
  "radius-mark": "4px",
1867
1880
  "radius-pill": "999px",
1881
+ "radius-circle": "999px",
1868
1882
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
1869
1883
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
1870
1884
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
@@ -2000,6 +2014,7 @@ export const tokens = {
2000
2014
  "radius-field": "8px",
2001
2015
  "radius-mark": "4px",
2002
2016
  "radius-pill": "999px",
2017
+ "radius-circle": "999px",
2003
2018
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
2004
2019
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
2005
2020
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -2133,6 +2148,7 @@ export const tokens = {
2133
2148
  "radius-field": "8px",
2134
2149
  "radius-mark": "4px",
2135
2150
  "radius-pill": "999px",
2151
+ "radius-circle": "999px",
2136
2152
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
2137
2153
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
2138
2154
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
package/dist/tokens.json CHANGED
@@ -123,6 +123,7 @@
123
123
  "radius-field": "8px",
124
124
  "radius-mark": "4px",
125
125
  "radius-pill": "999px",
126
+ "radius-circle": "999px",
126
127
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
127
128
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
128
129
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -256,6 +257,7 @@
256
257
  "radius-field": "8px",
257
258
  "radius-mark": "4px",
258
259
  "radius-pill": "999px",
260
+ "radius-circle": "999px",
259
261
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
260
262
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
261
263
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
@@ -391,6 +393,7 @@
391
393
  "radius-field": "8px",
392
394
  "radius-mark": "4px",
393
395
  "radius-pill": "999px",
396
+ "radius-circle": "999px",
394
397
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
395
398
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
396
399
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -524,6 +527,7 @@
524
527
  "radius-field": "8px",
525
528
  "radius-mark": "4px",
526
529
  "radius-pill": "999px",
530
+ "radius-circle": "999px",
527
531
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
528
532
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
529
533
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
@@ -659,6 +663,7 @@
659
663
  "radius-field": "8px",
660
664
  "radius-mark": "4px",
661
665
  "radius-pill": "999px",
666
+ "radius-circle": "999px",
662
667
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
663
668
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
664
669
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -792,6 +797,7 @@
792
797
  "radius-field": "8px",
793
798
  "radius-mark": "4px",
794
799
  "radius-pill": "999px",
800
+ "radius-circle": "999px",
795
801
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
796
802
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
797
803
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
@@ -927,6 +933,7 @@
927
933
  "radius-field": "8px",
928
934
  "radius-mark": "4px",
929
935
  "radius-pill": "999px",
936
+ "radius-circle": "999px",
930
937
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
931
938
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
932
939
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -1060,6 +1067,7 @@
1060
1067
  "radius-field": "8px",
1061
1068
  "radius-mark": "4px",
1062
1069
  "radius-pill": "999px",
1070
+ "radius-circle": "999px",
1063
1071
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
1064
1072
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
1065
1073
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
@@ -1195,6 +1203,7 @@
1195
1203
  "radius-field": "8px",
1196
1204
  "radius-mark": "4px",
1197
1205
  "radius-pill": "999px",
1206
+ "radius-circle": "999px",
1198
1207
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
1199
1208
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
1200
1209
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -1328,6 +1337,7 @@
1328
1337
  "radius-field": "8px",
1329
1338
  "radius-mark": "4px",
1330
1339
  "radius-pill": "999px",
1340
+ "radius-circle": "999px",
1331
1341
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
1332
1342
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
1333
1343
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
@@ -1463,6 +1473,7 @@
1463
1473
  "radius-field": "8px",
1464
1474
  "radius-mark": "4px",
1465
1475
  "radius-pill": "999px",
1476
+ "radius-circle": "999px",
1466
1477
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
1467
1478
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
1468
1479
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -1596,6 +1607,7 @@
1596
1607
  "radius-field": "8px",
1597
1608
  "radius-mark": "4px",
1598
1609
  "radius-pill": "999px",
1610
+ "radius-circle": "999px",
1599
1611
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
1600
1612
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
1601
1613
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
@@ -1731,6 +1743,7 @@
1731
1743
  "radius-field": "8px",
1732
1744
  "radius-mark": "4px",
1733
1745
  "radius-pill": "999px",
1746
+ "radius-circle": "999px",
1734
1747
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
1735
1748
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
1736
1749
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -1864,6 +1877,7 @@
1864
1877
  "radius-field": "8px",
1865
1878
  "radius-mark": "4px",
1866
1879
  "radius-pill": "999px",
1880
+ "radius-circle": "999px",
1867
1881
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
1868
1882
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
1869
1883
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
@@ -1999,6 +2013,7 @@
1999
2013
  "radius-field": "8px",
2000
2014
  "radius-mark": "4px",
2001
2015
  "radius-pill": "999px",
2016
+ "radius-circle": "999px",
2002
2017
  "shadow-raise": "0 1px 2px rgb(16 24 40 / 12%), 0 0 0 1px rgb(16 24 40 / 6%)",
2003
2018
  "shadow-surface": "0 1px 2px rgb(16 24 40 / 6%), 0 0 0 1px rgb(16 24 40 / 6%)",
2004
2019
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(130 142 158 / 35%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 80%)",
@@ -2132,6 +2147,7 @@
2132
2147
  "radius-field": "8px",
2133
2148
  "radius-mark": "4px",
2134
2149
  "radius-pill": "999px",
2150
+ "radius-circle": "999px",
2135
2151
  "shadow-raise": "inset 0 1px 0 rgb(255 255 255 / 7%), 0 1px 2px rgb(0 0 0 / 45%)",
2136
2152
  "shadow-surface": "0 0 0 1px rgb(255 255 255 / 6%)",
2137
2153
  "shadow-sink": "inset 1.2px 1.2px 3.6px rgb(0 0 0 / 55%), inset -1.2px -1.2px 3.6px rgb(255 255 255 / 5%)",
@@ -123,23 +123,25 @@ Controls use quiet depth and familiar shapes: borderless surfaces with one tight
123
123
  | Code block | Source code: a frame that holds the header, with the source in an inset panel | Frame: `--color-surface-raised`; panel: `--color-code` | Frame: `--color-border-subtle`; panel: transparent 1px | Frame: `--radius-panel`; panel: `calc(var(--radius-panel) - var(--space-1))` | Frame: `--shadow-surface`; panel: none |
124
124
  | Panel | Cards, forms, charts, and detail views | `--color-surface-raised` | Transparent 1px | `--radius-panel` | `--shadow-surface` |
125
125
  | Field | Inputs, selects, textareas, and search fields | `--color-field-bg`; disabled: `--color-well` | `--color-field-edge` | `--radius-field` | `--shadow-field`; disabled: none |
126
- | Track | Segmented and switch tracks, and selected radio cards | `--color-well` | Transparent 1px | Segmented tracks: `--radius-control`; switch tracks: `--radius-pill`; radio cards: `--radius-panel` | `--shadow-sink` |
126
+ | Track | Segmented and switch tracks, and selected radio cards | `--color-well` | Transparent 1px | Segmented tracks: `--radius-control`, or `--radius-pill` when icon-only; switch tracks: `--radius-pill`; radio cards: `--radius-panel` | `--shadow-sink` |
127
127
  | Floating layer | Menus, popovers, pickers, and dialogs | `--color-surface-raised` | Transparent 1px; the shadow's ring draws the edge | `--radius-panel` | `--shadow-dialog` |
128
128
 
129
129
  - Borders stay 1px and transparent on buttons, quiet actions, tracks, panels, and radio cards, so forced colors can draw them. Fields keep `--color-field-edge`. `--color-border` keeps unchecked checkbox and radio edges visible. The toggle card is a named exception: a visible `--color-border-subtle` edge and no rest raise. Invalid fields show a `--color-error` edge, except in forced colors, where the system edge wins. Figures, example frames, code block frames, and dividers use `--color-border-subtle`.
130
- - Shape follows role. Things of one height share one corner: rows, actions, and fields are all 8px, so a tab, a button, and an input beside each other match. The border, not the shape, tells a field from an action: a field draws its `--color-field-edge` border, and an action's border is transparent, with its fill, raise, or tint marking it. A 12px rectangle holds content, a 4px rectangle is a small mark inside text or a row, and a pill is a small state mark. The scale (4, 8, 12) is Astryx's. Pick a new component's radius from its role in this table, not from the component it looks like.
130
+ - Shape follows role. Things of one height share one corner: rows, labelled actions, quiet actions, and fields are all 8px, so a tab, a button, and an input beside each other match; only a lone icon on its own fill is round. The border, not the shape, tells a field from an action: a field draws its `--color-field-edge` border, and an action's border is transparent, with its fill, raise, or tint marking it. A 12px rectangle holds content, a 4px rectangle is a small mark inside text or a row, a pill is a small state mark, and a circle is a lone icon that acts on its own fill. The scale (4, 8, 12) is Astryx's; the circle is this system's own. Pick a new component's radius from its role in this table, not from the component it looks like.
131
131
 
132
132
  | Role | Shape | Token | Members |
133
133
  | --- | --- | --- | --- |
134
- | Acts, or sets a value in place with every option shown, on one line | 8px | `--radius-control` | Buttons other than the labelled contents trigger and its no-JavaScript summary, quiet actions other than the project-menu trigger, chips, and segmented controls. A segmented option is concentric with its track |
135
- | Small state mark | Pill | `--radius-pill` | Status badges, switch tracks and knobs, slider and progress tracks, score pips, and the in-page location pip |
134
+ | Acts, or sets a value in place with every option shown, on one line | 8px | `--radius-control` | Buttons with a text label other than the labelled contents trigger and its no-JavaScript summary, quiet actions other than the project-menu trigger, icon-only ones included, chips, and text segmented controls. A segmented option is concentric with its track |
135
+ | A lone icon that acts on its own fill | Circle | `--radius-circle` | Icon-only buttons (primary, secondary, and danger), the composer's send button included |
136
+ | Small state mark | Pill | `--radius-pill` | Status badges, switch tracks and knobs, slider and progress tracks, score pips, the in-page location pip, and the icon-only segmented track |
136
137
  | A place, or a row you pick | 8px | `--radius-inline` | Navigation rows, group labels, breadcrumb links, the package catalogue's site name, tabs, list rows, menu rows, and message rows |
137
138
  | Something you type in, a control whose label wraps, or a one-line control that is not an action | 8px | `--radius-field` | Inputs, textareas, search fields, toggle cards, pager links, and one-line controls that are not actions: the select, the project-menu trigger, the labelled contents trigger and its no-JavaScript summary, and the skip link |
138
139
  | Holds other things | 12px | `--radius-panel` | Wells, plates, panels, cards, radio cards, alerts, code blocks, example frames, tool-call details, composers, hover toolbars, and floating layers |
139
140
  | A small mark inside text or a row | 4px | `--radius-mark` | Checkboxes, keyboard keys, and mentions |
140
141
 
142
+ - A circle holds one icon and no text. An icon-only button is a box of equal width and height at every size, with `--radius-circle`. `--radius-circle` has the pill's value, 999px, and its own role: no button takes `--radius-pill`, and no action takes `50%`. An icon with no fill at rest is a [quiet action](components.md#quiet-action), an 8px tile.
141
143
  - A pill never holds text that can wrap: a status badge is the only pill with text, and it stays on one line. A control whose label can wrap, such as a toggle card or a radio card, is a rectangle.
142
- - Nested rectangles are concentric: a rectangle that sits closer to a rounded container's edge than the container's radius takes that radius minus the gap. Option rows in a select picker, the rows of a floating menu, such as the project menu, and a code block's source panel, each `--space-1` inside a 12px container, take `calc(var(--radius-panel) - var(--space-1))`, 8px, the row corner. A segmented control's options sit 2px (`--inset`) inside the track's outer edge, its 1px border and 1px of padding, and take `calc(var(--radius-control) - var(--inset))`, 6px: the one corner below 8px on a control, measured from the outer edge as Astryx's segmented control does, because the track's border is part of its visible curve. A shape with more room than that, such as a field in a dialog, keeps the radius of its role.
144
+ - Nested rectangles are concentric: a rectangle that sits closer to a rounded container's edge than the container's radius takes that radius minus the gap. Option rows in a select picker, the rows of a floating menu, such as the project menu, and a code block's source panel, each `--space-1` inside a 12px container, take `calc(var(--radius-panel) - var(--space-1))`, 8px, the row corner. A segmented control's options sit 2px (`--inset`) inside the track's outer edge, its 1px border and 1px of padding, and take `calc(var(--radius-control) - var(--inset))`, 6px: the one corner below 8px on a control, measured from the outer edge as Astryx's segmented control does, because the track's border is part of its visible curve. An icon-only segmented control's track takes `--radius-pill` and its options `calc(var(--radius-pill) - var(--inset))`: a circle on a square option, and a pill while the thumb glides. A shape with more room than that, such as a field in a dialog, keeps the radius of its role.
143
145
  - Round marks (radios, slider thumbs, badge dots, and the busy spinner) take `50%`, a fill inside a shape inherits its corners, and an edge that meets another shape takes `0`. A page writes no other literal radius.
144
146
  - Avoid nesting panels. Cards are for a few parallel self-contained options that a reader compares. Running prose belongs in open sections. Product screenshots need one frame, not a frame around a frame.
145
147
  - [Depth](#depth) gives each role its shadow. Stable hover states keep normal content quiet.