@aurea-uds/tokens 0.1.0 → 0.3.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/package.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "name": "@aurea-uds/tokens",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Design tokens for Aurea UDS: the DTCG source and the CSS custom properties generated from it.",
5
- "keywords": ["aurea", "design-system", "design-tokens", "dtcg"],
5
+ "keywords": [
6
+ "aurea",
7
+ "design-system",
8
+ "design-tokens",
9
+ "dtcg"
10
+ ],
6
11
  "license": "Apache-2.0",
7
12
  "repository": {
8
13
  "type": "git",
@@ -16,8 +21,18 @@
16
21
  "dist",
17
22
  "src"
18
23
  ],
24
+ "scripts": {
25
+ "typecheck": "tsc --noEmit --module ESNext --moduleResolution bundler --target ES2022 css-import.type-test.ts"
26
+ },
19
27
  "exports": {
20
- "./css": "./dist/aurea.tokens.css",
21
- "./json": "./src/aurea.tokens.json"
28
+ "./css": {
29
+ "types": "./dist/aurea.tokens.css.d.ts",
30
+ "default": "./dist/aurea.tokens.css"
31
+ },
32
+ "./json": "./src/aurea.tokens.json",
33
+ "./native": {
34
+ "types": "./dist/aurea.tokens.native.d.ts",
35
+ "default": "./dist/aurea.tokens.native.js"
36
+ }
22
37
  }
23
38
  }
@@ -3,7 +3,7 @@
3
3
  "$extensions": {
4
4
  "ui.aurea": {
5
5
  "version": "1.7.0",
6
- "source": "UI-KIT.html v1.7",
6
+ "source": "legacy-reference.html",
7
7
  "principles": [
8
8
  "preserve-current-visual-language",
9
9
  "semantic-tokens-only",
@@ -443,6 +443,14 @@
443
443
  "unit": "rem"
444
444
  }
445
445
  },
446
+ "sidebar-rail": {
447
+ "$type": "dimension",
448
+ "$description": "Grid column of the collapsed sidebar: the icon rail. It is the COLUMN, not the panel — the sidebar spends space-4 of margin on each side before it starts, which is why 4.5rem was measured wrong first and left the icon 2px outside the box. 5.5rem = 32px of margin + 2px of border + 16px of the panel's own padding + a 16px icon with room around it.",
449
+ "$value": {
450
+ "value": 5.5,
451
+ "unit": "rem"
452
+ }
453
+ },
446
454
  "topbar-height": {
447
455
  "$type": "dimension",
448
456
  "$value": {
@@ -655,11 +663,12 @@
655
663
  }
656
664
  },
657
665
  "text-muted": {
658
- "$type": "dimension",
666
+ "$type": "color",
659
667
  "$value": "{muted-foreground}"
660
668
  },
661
669
  "success-400": {
662
670
  "$type": "color",
671
+ "$description": "The success tone: online status, success badge and alert icons.",
663
672
  "$value": {
664
673
  "colorSpace": "srgb",
665
674
  "components": [
@@ -696,6 +705,7 @@
696
705
  },
697
706
  "warning-400": {
698
707
  "$type": "color",
708
+ "$description": "The warning tone: away status, warning badge and alert icons.",
699
709
  "$value": "{brand-yellow}"
700
710
  },
701
711
  "warning-500": {
@@ -724,6 +734,7 @@
724
734
  },
725
735
  "danger-400": {
726
736
  "$type": "color",
737
+ "$description": "The danger TONE: dot of a failed status, border of an invalid field, icon of a danger alert. The colour that says \"wrong\", on text and on marks.",
727
738
  "$value": {
728
739
  "colorSpace": "srgb",
729
740
  "components": [
@@ -760,6 +771,7 @@
760
771
  },
761
772
  "info-400": {
762
773
  "$type": "color",
774
+ "$description": "The informational tone: running status, info badge and alert icons. Neutral news, not a problem.",
763
775
  "$value": {
764
776
  "colorSpace": "srgb",
765
777
  "components": [
@@ -829,10 +841,12 @@
829
841
  },
830
842
  "oracle-300": {
831
843
  "$type": "color",
844
+ "$description": "Reserved accent kept from the origin kit and deliberately unused by the core. It is not part of the Aurea palette contract — do not introduce it without a decision.",
832
845
  "$value": "{chart-1}"
833
846
  },
834
847
  "oracle-400": {
835
848
  "$type": "color",
849
+ "$description": "Reserved accent kept from the origin kit and deliberately unused by the core. It is not part of the Aurea palette contract — do not introduce it without a decision.",
836
850
  "$value": "{chart-2}"
837
851
  },
838
852
  "oracle-500": {
@@ -990,6 +1004,7 @@
990
1004
  "dark": {
991
1005
  "background": {
992
1006
  "$type": "color",
1007
+ "$description": "The page canvas — the furthest-back surface. Everything floats on top of it; nothing else should use it as a fill.",
993
1008
  "$value": {
994
1009
  "colorSpace": "oklch",
995
1010
  "components": [
@@ -1001,6 +1016,7 @@
1001
1016
  },
1002
1017
  "foreground": {
1003
1018
  "$type": "color",
1019
+ "$description": "Default body text, on the canvas and on the panel surfaces alike. The most used text colour in the system.",
1004
1020
  "$value": {
1005
1021
  "colorSpace": "oklch",
1006
1022
  "components": [
@@ -1012,6 +1028,7 @@
1012
1028
  },
1013
1029
  "card": {
1014
1030
  "$type": "color",
1031
+ "$description": "Surface of a floating panel: card, topbar, content area. The Aurea identity is built on these, so this is the fill you reach for by default.",
1015
1032
  "$value": {
1016
1033
  "colorSpace": "oklch",
1017
1034
  "components": [
@@ -1023,6 +1040,7 @@
1023
1040
  },
1024
1041
  "card-foreground": {
1025
1042
  "$type": "color",
1043
+ "$description": "Text on --card. Separate from --foreground so a panel can shift tone without the text following blindly.",
1026
1044
  "$value": {
1027
1045
  "colorSpace": "oklch",
1028
1046
  "components": [
@@ -1034,6 +1052,7 @@
1034
1052
  },
1035
1053
  "popover": {
1036
1054
  "$type": "color",
1055
+ "$description": "Surface of a TRANSIENT layer — dialog, drawer, toast, menu, tooltip. It reads as sitting above --card, and that is what tells the eye the layer is temporary.",
1037
1056
  "$value": {
1038
1057
  "colorSpace": "oklch",
1039
1058
  "components": [
@@ -1045,6 +1064,7 @@
1045
1064
  },
1046
1065
  "popover-foreground": {
1047
1066
  "$type": "color",
1067
+ "$description": "Text on --popover.",
1048
1068
  "$value": {
1049
1069
  "colorSpace": "oklch",
1050
1070
  "components": [
@@ -1056,14 +1076,17 @@
1056
1076
  },
1057
1077
  "primary": {
1058
1078
  "$type": "color",
1079
+ "$description": "The Aurea yellow. INVARIANT between themes by contract — links, accents, the selected state. Never redefine it.",
1059
1080
  "$value": "{brand-yellow}"
1060
1081
  },
1061
1082
  "primary-foreground": {
1062
1083
  "$type": "color",
1084
+ "$description": "Text and glyphs ON the yellow. Dark on purpose: yellow is a light colour in both themes.",
1063
1085
  "$value": "{brand-yellow-foreground}"
1064
1086
  },
1065
1087
  "secondary": {
1066
1088
  "$type": "color",
1089
+ "$description": "Fill of the quiet-but-present control: secondary button, the current item of a navigation list, a segment that is on.",
1067
1090
  "$value": {
1068
1091
  "colorSpace": "oklch",
1069
1092
  "components": [
@@ -1075,6 +1098,7 @@
1075
1098
  },
1076
1099
  "secondary-foreground": {
1077
1100
  "$type": "color",
1101
+ "$description": "Text on --secondary.",
1078
1102
  "$value": {
1079
1103
  "colorSpace": "oklch",
1080
1104
  "components": [
@@ -1086,6 +1110,7 @@
1086
1110
  },
1087
1111
  "muted": {
1088
1112
  "$type": "color",
1113
+ "$description": "Fill for a de-emphasised block — the surface counterpart of --muted-foreground, not a text colour.",
1089
1114
  "$value": {
1090
1115
  "colorSpace": "oklch",
1091
1116
  "components": [
@@ -1097,6 +1122,7 @@
1097
1122
  },
1098
1123
  "muted-foreground": {
1099
1124
  "$type": "color",
1125
+ "$description": "Secondary text: helper copy, captions, an item that is present but is not the point.",
1100
1126
  "$value": {
1101
1127
  "colorSpace": "oklch",
1102
1128
  "components": [
@@ -1108,6 +1134,7 @@
1108
1134
  },
1109
1135
  "accent": {
1110
1136
  "$type": "color",
1137
+ "$description": "Hover surface of a control that has no fill of its own (ghost and outline buttons). The lightest possible \"something happened here\".",
1111
1138
  "$value": {
1112
1139
  "colorSpace": "oklch",
1113
1140
  "components": [
@@ -1119,6 +1146,7 @@
1119
1146
  },
1120
1147
  "accent-foreground": {
1121
1148
  "$type": "color",
1149
+ "$description": "Text on --accent.",
1122
1150
  "$value": {
1123
1151
  "colorSpace": "oklch",
1124
1152
  "components": [
@@ -1130,6 +1158,7 @@
1130
1158
  },
1131
1159
  "destructive": {
1132
1160
  "$type": "color",
1161
+ "$description": "Surface of an action that destroys something: the danger button. For actions only — a MESSAGE about danger uses --danger-400 and --danger-bg.",
1133
1162
  "$value": {
1134
1163
  "colorSpace": "oklch",
1135
1164
  "components": [
@@ -1141,6 +1170,7 @@
1141
1170
  },
1142
1171
  "destructive-foreground": {
1143
1172
  "$type": "color",
1173
+ "$description": "Text on --destructive.",
1144
1174
  "$value": {
1145
1175
  "colorSpace": "oklch",
1146
1176
  "components": [
@@ -1152,6 +1182,7 @@
1152
1182
  },
1153
1183
  "border": {
1154
1184
  "$type": "color",
1185
+ "$description": "The default hairline between surfaces, and the most used border in the system. If you are unsure which border to use, it is this one.",
1155
1186
  "$value": {
1156
1187
  "colorSpace": "oklch",
1157
1188
  "components": [
@@ -1164,6 +1195,7 @@
1164
1195
  },
1165
1196
  "input": {
1166
1197
  "$type": "color",
1198
+ "$description": "Border of a form control. Reserved: the core draws fields with --border, and this exists so a consumer can separate the two without forking the CSS.",
1167
1199
  "$value": {
1168
1200
  "colorSpace": "oklch",
1169
1201
  "components": [
@@ -1176,6 +1208,7 @@
1176
1208
  },
1177
1209
  "ring": {
1178
1210
  "$type": "color",
1211
+ "$description": "Reserved alias for a focus ring in consumer code. The core uses --focus-strong; this exists so a consumer can theme their own controls consistently.",
1179
1212
  "$value": {
1180
1213
  "colorSpace": "oklch",
1181
1214
  "components": [
@@ -1187,6 +1220,7 @@
1187
1220
  },
1188
1221
  "chart-1": {
1189
1222
  "$type": "color",
1223
+ "$description": "First series of a chart. The five chart tokens are an ORDERED sequence: use them in order, so two charts on the same page give the same series the same colour.",
1190
1224
  "$value": {
1191
1225
  "colorSpace": "oklch",
1192
1226
  "components": [
@@ -1198,6 +1232,7 @@
1198
1232
  },
1199
1233
  "chart-2": {
1200
1234
  "$type": "color",
1235
+ "$description": "Second series of a chart. See --chart-1 for the rule.",
1201
1236
  "$value": {
1202
1237
  "colorSpace": "oklch",
1203
1238
  "components": [
@@ -1209,6 +1244,7 @@
1209
1244
  },
1210
1245
  "chart-3": {
1211
1246
  "$type": "color",
1247
+ "$description": "Third series of a chart. See --chart-1 for the rule.",
1212
1248
  "$value": {
1213
1249
  "colorSpace": "oklch",
1214
1250
  "components": [
@@ -1220,6 +1256,7 @@
1220
1256
  },
1221
1257
  "chart-4": {
1222
1258
  "$type": "color",
1259
+ "$description": "Fourth series of a chart. See --chart-1 for the rule.",
1223
1260
  "$value": {
1224
1261
  "colorSpace": "oklch",
1225
1262
  "components": [
@@ -1231,6 +1268,7 @@
1231
1268
  },
1232
1269
  "chart-5": {
1233
1270
  "$type": "color",
1271
+ "$description": "Fifth series of a chart. Past five series a chart needs a different form, not a sixth colour.",
1234
1272
  "$value": {
1235
1273
  "colorSpace": "oklch",
1236
1274
  "components": [
@@ -1242,6 +1280,7 @@
1242
1280
  },
1243
1281
  "sidebar": {
1244
1282
  "$type": "color",
1283
+ "$description": "Surface of the side panel. Its own token rather than --card, so the sidebar can be tinted apart from the content without touching every panel.",
1245
1284
  "$value": {
1246
1285
  "colorSpace": "oklch",
1247
1286
  "components": [
@@ -1253,6 +1292,7 @@
1253
1292
  },
1254
1293
  "sidebar-foreground": {
1255
1294
  "$type": "color",
1295
+ "$description": "Text and navigation items inside the sidebar.",
1256
1296
  "$value": {
1257
1297
  "colorSpace": "oklch",
1258
1298
  "components": [
@@ -1264,14 +1304,17 @@
1264
1304
  },
1265
1305
  "sidebar-primary": {
1266
1306
  "$type": "color",
1307
+ "$description": "Reserved: brand accent scoped to the sidebar, for a shell that needs a different emphasis from the page. Unused by the core.",
1267
1308
  "$value": "{brand-yellow}"
1268
1309
  },
1269
1310
  "sidebar-primary-foreground": {
1270
1311
  "$type": "color",
1312
+ "$description": "Reserved: text on --sidebar-primary.",
1271
1313
  "$value": "{brand-yellow-foreground}"
1272
1314
  },
1273
1315
  "sidebar-accent": {
1274
1316
  "$type": "color",
1317
+ "$description": "Hover surface of a sidebar item.",
1275
1318
  "$value": {
1276
1319
  "colorSpace": "oklch",
1277
1320
  "components": [
@@ -1283,6 +1326,7 @@
1283
1326
  },
1284
1327
  "sidebar-accent-foreground": {
1285
1328
  "$type": "color",
1329
+ "$description": "Text of a sidebar item under the pointer.",
1286
1330
  "$value": {
1287
1331
  "colorSpace": "oklch",
1288
1332
  "components": [
@@ -1294,6 +1338,7 @@
1294
1338
  },
1295
1339
  "sidebar-border": {
1296
1340
  "$type": "color",
1341
+ "$description": "The sidebar's own hairline: its outline, and the rule under the brand lockup.",
1297
1342
  "$value": {
1298
1343
  "colorSpace": "oklch",
1299
1344
  "components": [
@@ -1306,6 +1351,7 @@
1306
1351
  },
1307
1352
  "sidebar-ring": {
1308
1353
  "$type": "color",
1354
+ "$description": "Reserved: focus ring scoped to the sidebar. The core uses the single system ring, --focus-strong.",
1309
1355
  "$value": {
1310
1356
  "colorSpace": "oklch",
1311
1357
  "components": [
@@ -1317,18 +1363,22 @@
1317
1363
  },
1318
1364
  "surface-1": {
1319
1365
  "$type": "color",
1366
+ "$description": "Ring and separator colour for where a shape has to be punched out of the panel behind it — the border between overlapping avatars, the ring of a step dot.",
1320
1367
  "$value": "{card}"
1321
1368
  },
1322
1369
  "surface-2": {
1323
1370
  "$type": "color",
1371
+ "$description": "One step up from the panel: hover of an interactive card, header row of a table. Use it when something must read as raised, not as coloured.",
1324
1372
  "$value": "{secondary}"
1325
1373
  },
1326
1374
  "surface-3": {
1327
1375
  "$type": "color",
1376
+ "$description": "Neutral fill of a track or a placeholder — progress bar, skeleton. It is a background for something that is not text.",
1328
1377
  "$value": "{muted}"
1329
1378
  },
1330
1379
  "surface-inset": {
1331
1380
  "$type": "color",
1381
+ "$description": "A recessed well: code block, log stream. It reads as carved INTO the panel, which is the opposite of --surface-2.",
1332
1382
  "$value": {
1333
1383
  "colorSpace": "oklch",
1334
1384
  "components": [
@@ -1340,6 +1390,7 @@
1340
1390
  },
1341
1391
  "surface-hover": {
1342
1392
  "$type": "color",
1393
+ "$description": "Generic hover tint for a row or a disclosure that has no state of its own. When the element already carries meaning (selected, current), use --secondary instead.",
1343
1394
  "$value": {
1344
1395
  "colorSpace": "oklch",
1345
1396
  "components": [
@@ -1351,10 +1402,12 @@
1351
1402
  },
1352
1403
  "foreground-strong": {
1353
1404
  "$type": "color",
1405
+ "$description": "Text that must out-contrast the default, for a heading that has to lift off the body. Reserved: the core does not use it, so reaching for it is a decision, not a default.",
1354
1406
  "$value": "{foreground}"
1355
1407
  },
1356
1408
  "subtle-foreground": {
1357
1409
  "$type": "color",
1410
+ "$description": "The quietest text in the system — group labels, table headers, metadata. One step below --muted-foreground; below it there is nothing readable.",
1358
1411
  "$value": {
1359
1412
  "colorSpace": "oklch",
1360
1413
  "components": [
@@ -1366,6 +1419,7 @@
1366
1419
  },
1367
1420
  "border-strong": {
1368
1421
  "$type": "color",
1422
+ "$description": "A border that must read as an EDGE and not as a hint: outline buttons, keyboard keys. Use it when the border IS the shape of the component.",
1369
1423
  "$value": {
1370
1424
  "colorSpace": "oklch",
1371
1425
  "components": [
@@ -1377,10 +1431,12 @@
1377
1431
  },
1378
1432
  "field-bg": {
1379
1433
  "$type": "color",
1434
+ "$description": "Background of a form control: input, textarea, select, and the mark of a checkbox or radio. Fields sit slightly recessed from the panel.",
1380
1435
  "$value": "{muted}"
1381
1436
  },
1382
1437
  "overlay": {
1383
1438
  "$type": "color",
1439
+ "$description": "The scrim behind a modal layer. Dims the page enough to push it back without hiding what is underneath.",
1384
1440
  "$value": {
1385
1441
  "colorSpace": "oklch",
1386
1442
  "components": [
@@ -1393,6 +1449,7 @@
1393
1449
  },
1394
1450
  "primary-hover": {
1395
1451
  "$type": "color",
1452
+ "$description": "--primary under the pointer, on a filled surface.",
1396
1453
  "$value": {
1397
1454
  "colorSpace": "oklch",
1398
1455
  "components": [
@@ -1404,6 +1461,7 @@
1404
1461
  },
1405
1462
  "primary-active": {
1406
1463
  "$type": "color",
1464
+ "$description": "--primary while pressed. Reserved: the core resolves the pressed state with geometry instead, so this is here for consumers who also want the colour shift.",
1407
1465
  "$value": {
1408
1466
  "colorSpace": "oklch",
1409
1467
  "components": [
@@ -1415,6 +1473,7 @@
1415
1473
  },
1416
1474
  "secondary-hover": {
1417
1475
  "$type": "color",
1476
+ "$description": "--secondary under the pointer.",
1418
1477
  "$value": {
1419
1478
  "colorSpace": "oklch",
1420
1479
  "components": [
@@ -1426,30 +1485,37 @@
1426
1485
  },
1427
1486
  "focus": {
1428
1487
  "$type": "color",
1488
+ "$description": "The soft focus colour, for the halo of a control that cannot carry an outline. The focus CONTRACT is built on --focus-strong.",
1429
1489
  "$value": "{primary}"
1430
1490
  },
1431
1491
  "focus-strong": {
1432
1492
  "$type": "color",
1493
+ "$description": "The focus ring. One colour and one thickness across the whole system — and that uniformity is a gate (geometry.spec), not a convention.",
1433
1494
  "$value": "{primary}"
1434
1495
  },
1435
1496
  "primary-emphasis": {
1436
1497
  "$type": "color",
1498
+ "$description": "A denser yellow for a small solid area that would look washed out at --primary — the primary badge.",
1437
1499
  "$value": "{primary}"
1438
1500
  },
1439
1501
  "primary-outline": {
1440
1502
  "$type": "color",
1503
+ "$description": "Yellow at border strength — the outline of a selected card or of a primary badge, where a filled yellow would shout.",
1441
1504
  "$value": "{primary}"
1442
1505
  },
1443
1506
  "control-selected": {
1444
1507
  "$type": "color",
1508
+ "$description": "The mark of a checked control — the box of a checkbox, the dot of a radio, the filled half of a switch. It is the state, not the container.",
1445
1509
  "$value": "{primary}"
1446
1510
  },
1447
1511
  "control-selected-foreground": {
1448
1512
  "$type": "color",
1513
+ "$description": "The glyph drawn ON --control-selected: the tick, the dot.",
1449
1514
  "$value": "{primary-foreground}"
1450
1515
  },
1451
1516
  "selection": {
1452
1517
  "$type": "color",
1518
+ "$description": "Background of text the user has selected. Set once, on ::selection.",
1453
1519
  "$value": {
1454
1520
  "colorSpace": "oklch",
1455
1521
  "components": [
@@ -1462,6 +1528,7 @@
1462
1528
  },
1463
1529
  "success-bg": {
1464
1530
  "$type": "color",
1531
+ "$description": "The muted success fill behind text.",
1465
1532
  "$value": {
1466
1533
  "colorSpace": "oklch",
1467
1534
  "components": [
@@ -1474,6 +1541,7 @@
1474
1541
  },
1475
1542
  "warning-bg": {
1476
1543
  "$type": "color",
1544
+ "$description": "The muted warning fill behind text.",
1477
1545
  "$value": {
1478
1546
  "colorSpace": "oklch",
1479
1547
  "components": [
@@ -1486,6 +1554,7 @@
1486
1554
  },
1487
1555
  "danger-bg": {
1488
1556
  "$type": "color",
1557
+ "$description": "The muted danger fill, behind text: danger badge, alert, card. Never for a button — that is --destructive.",
1489
1558
  "$value": {
1490
1559
  "colorSpace": "oklch",
1491
1560
  "components": [
@@ -1498,6 +1567,7 @@
1498
1567
  },
1499
1568
  "info-bg": {
1500
1569
  "$type": "color",
1570
+ "$description": "The muted informational fill behind text.",
1501
1571
  "$value": {
1502
1572
  "colorSpace": "oklch",
1503
1573
  "components": [
@@ -2116,6 +2186,7 @@
2116
2186
  "comfortable": {
2117
2187
  "control-h-xs": {
2118
2188
  "$type": "dimension",
2189
+ "$description": "Height of the smallest control. The density scale governs HEIGHT — never font size, spacing or radius; that contract is in packages/tokens/README.md.",
2119
2190
  "$value": {
2120
2191
  "value": 1.625,
2121
2192
  "unit": "rem"
@@ -2123,6 +2194,7 @@
2123
2194
  },
2124
2195
  "control-h-sm": {
2125
2196
  "$type": "dimension",
2197
+ "$description": "Height of a small control: compact button, pagination, calendar arrow.",
2126
2198
  "$value": {
2127
2199
  "value": 1.875,
2128
2200
  "unit": "rem"
@@ -2130,6 +2202,7 @@
2130
2202
  },
2131
2203
  "control-h-md": {
2132
2204
  "$type": "dimension",
2205
+ "$description": "Height of the default control, and the reference for anything that must line up beside one — a field, a segment, an avatar, a sidebar item.",
2133
2206
  "$value": {
2134
2207
  "value": 2.25,
2135
2208
  "unit": "rem"
@@ -2137,6 +2210,7 @@
2137
2210
  },
2138
2211
  "control-h-lg": {
2139
2212
  "$type": "dimension",
2213
+ "$description": "Height of a large control.",
2140
2214
  "$value": {
2141
2215
  "value": 2.625,
2142
2216
  "unit": "rem"
@@ -2144,6 +2218,7 @@
2144
2218
  },
2145
2219
  "control-h-xl": {
2146
2220
  "$type": "dimension",
2221
+ "$description": "Height of the largest control, for a single prominent call to action.",
2147
2222
  "$value": {
2148
2223
  "value": 3.125,
2149
2224
  "unit": "rem"
@@ -2151,6 +2226,7 @@
2151
2226
  },
2152
2227
  "row-h": {
2153
2228
  "$type": "dimension",
2229
+ "$description": "Height of a table row. The one density token that is not about controls.",
2154
2230
  "$value": {
2155
2231
  "value": 3.0,
2156
2232
  "unit": "rem"
@@ -2158,6 +2234,7 @@
2158
2234
  },
2159
2235
  "card-pad": {
2160
2236
  "$type": "dimension",
2237
+ "$description": "Inner padding of a panel. Density breathes here, which is why a compact layout feels tighter without anything having moved.",
2161
2238
  "$value": {
2162
2239
  "value": 1.25,
2163
2240
  "unit": "rem"
@@ -2165,6 +2242,7 @@
2165
2242
  },
2166
2243
  "section-gap": {
2167
2244
  "$type": "dimension",
2245
+ "$description": "Vertical gap between sections of a page.",
2168
2246
  "$value": {
2169
2247
  "value": 1.5,
2170
2248
  "unit": "rem"