@podoba/tokens 0.0.29 → 0.0.32

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@podoba/tokens",
3
- "version": "0.0.29",
3
+ "version": "0.0.32",
4
4
  "type": "module",
5
5
  "description": "podoba design tokens — static DTCG tokens.json + generated CSS custom properties. Framework-agnostic.",
6
6
  "repository": {
package/src/tokens.json CHANGED
@@ -479,6 +479,29 @@
479
479
  }
480
480
  }
481
481
  },
482
+ "workflow-muted": {
483
+ "$type": "color",
484
+ "$value": "#858585",
485
+ "$description": "Foreground workflow-muted — inactive explanatory steps in the authoritative GS workflow panels.",
486
+ "$extensions": {
487
+ "graphicstandard": {
488
+ "family": "color",
489
+ "layer": "semantic",
490
+ "value": {
491
+ "kind": "color",
492
+ "value": [
493
+ {
494
+ "themeKey": "light",
495
+ "online": {
496
+ "colorSpace": "hex",
497
+ "hex": "#858585"
498
+ }
499
+ }
500
+ ]
501
+ }
502
+ }
503
+ }
504
+ },
482
505
  "on-brand": {
483
506
  "$type": "color",
484
507
  "$value": "#0d0d0d",
@@ -526,6 +549,38 @@
526
549
  }
527
550
  }
528
551
  },
552
+ "modal": {
553
+ "backdrop": {
554
+ "$type": "color",
555
+ "$value": "#f7f6f2a8",
556
+ "$description": "Modal backdrop — warm source-UI scrim at 66% opacity (dark: neutral scrim at the same alpha).",
557
+ "$extensions": {
558
+ "graphicstandard": {
559
+ "family": "color",
560
+ "layer": "semantic",
561
+ "value": {
562
+ "kind": "color",
563
+ "value": [
564
+ {
565
+ "themeKey": "light",
566
+ "online": {
567
+ "colorSpace": "hex",
568
+ "hex": "#f7f6f2a8"
569
+ }
570
+ },
571
+ {
572
+ "themeKey": "dark",
573
+ "online": {
574
+ "colorSpace": "hex",
575
+ "hex": "#0d0d0da8"
576
+ }
577
+ }
578
+ ]
579
+ }
580
+ }
581
+ }
582
+ }
583
+ },
529
584
  "neutral": {
530
585
  "300": {
531
586
  "$type": "color",
@@ -907,6 +962,21 @@
907
962
  }
908
963
  }
909
964
  },
965
+ "display-large": {
966
+ "$type": "dimension",
967
+ "$value": "1.875rem",
968
+ "$description": "Font size — large product display (30px); GS source label-1.",
969
+ "$extensions": {
970
+ "graphicstandard": {
971
+ "family": "dimension",
972
+ "layer": "semantic",
973
+ "value": {
974
+ "kind": "scalar",
975
+ "value": "1.875rem"
976
+ }
977
+ }
978
+ }
979
+ },
910
980
  "heading1": {
911
981
  "$type": "dimension",
912
982
  "$value": "1.75rem",
@@ -1027,6 +1097,21 @@
1027
1097
  }
1028
1098
  }
1029
1099
  },
1100
+ "panel-heading": {
1101
+ "$type": "dimension",
1102
+ "$value": "1.0625rem",
1103
+ "$description": "Font size — workflow/dialog panel heading (17px).",
1104
+ "$extensions": {
1105
+ "graphicstandard": {
1106
+ "family": "dimension",
1107
+ "layer": "semantic",
1108
+ "value": {
1109
+ "kind": "scalar",
1110
+ "value": "1.0625rem"
1111
+ }
1112
+ }
1113
+ }
1114
+ },
1030
1115
  "small": {
1031
1116
  "$type": "dimension",
1032
1117
  "$value": "0.875rem",
@@ -1075,6 +1160,66 @@
1075
1160
  }
1076
1161
  },
1077
1162
  "line-height": {
1163
+ "body": {
1164
+ "$type": "dimension",
1165
+ "$value": "22px",
1166
+ "$description": "Line height — body.",
1167
+ "$extensions": {
1168
+ "graphicstandard": {
1169
+ "family": "dimension",
1170
+ "layer": "semantic",
1171
+ "value": {
1172
+ "kind": "scalar",
1173
+ "value": "22px"
1174
+ }
1175
+ }
1176
+ }
1177
+ },
1178
+ "compact": {
1179
+ "$type": "dimension",
1180
+ "$value": "16px",
1181
+ "$description": "Line height — compact.",
1182
+ "$extensions": {
1183
+ "graphicstandard": {
1184
+ "family": "dimension",
1185
+ "layer": "semantic",
1186
+ "value": {
1187
+ "kind": "scalar",
1188
+ "value": "16px"
1189
+ }
1190
+ }
1191
+ }
1192
+ },
1193
+ "display": {
1194
+ "$type": "dimension",
1195
+ "$value": "30px",
1196
+ "$description": "Line height — display.",
1197
+ "$extensions": {
1198
+ "graphicstandard": {
1199
+ "family": "dimension",
1200
+ "layer": "semantic",
1201
+ "value": {
1202
+ "kind": "scalar",
1203
+ "value": "30px"
1204
+ }
1205
+ }
1206
+ }
1207
+ },
1208
+ "display-large": {
1209
+ "$type": "dimension",
1210
+ "$value": "32px",
1211
+ "$description": "Line height — large product display.",
1212
+ "$extensions": {
1213
+ "graphicstandard": {
1214
+ "family": "dimension",
1215
+ "layer": "semantic",
1216
+ "value": {
1217
+ "kind": "scalar",
1218
+ "value": "32px"
1219
+ }
1220
+ }
1221
+ }
1222
+ },
1078
1223
  "heading1": {
1079
1224
  "$type": "dimension",
1080
1225
  "$value": "30px",
@@ -1149,6 +1294,355 @@
1149
1294
  }
1150
1295
  }
1151
1296
  }
1297
+ },
1298
+ "panel-heading": {
1299
+ "$type": "dimension",
1300
+ "$value": "20px",
1301
+ "$description": "Line height — workflow/dialog panel heading.",
1302
+ "$extensions": {
1303
+ "graphicstandard": {
1304
+ "family": "dimension",
1305
+ "layer": "semantic",
1306
+ "value": {
1307
+ "kind": "scalar",
1308
+ "value": "20px"
1309
+ }
1310
+ }
1311
+ }
1312
+ },
1313
+ "small": {
1314
+ "$type": "dimension",
1315
+ "$value": "18px",
1316
+ "$description": "Line height — small.",
1317
+ "$extensions": {
1318
+ "graphicstandard": {
1319
+ "family": "dimension",
1320
+ "layer": "semantic",
1321
+ "value": {
1322
+ "kind": "scalar",
1323
+ "value": "18px"
1324
+ }
1325
+ }
1326
+ }
1327
+ }
1328
+ },
1329
+ "control": {
1330
+ "height": {
1331
+ "tall": {
1332
+ "$type": "dimension",
1333
+ "$value": "3.625rem",
1334
+ "$description": "Tall form control height — 58px.",
1335
+ "$extensions": {
1336
+ "graphicstandard": {
1337
+ "family": "dimension",
1338
+ "layer": "semantic",
1339
+ "value": {
1340
+ "kind": "scalar",
1341
+ "value": "3.625rem"
1342
+ }
1343
+ }
1344
+ }
1345
+ }
1346
+ }
1347
+ },
1348
+ "effect": {
1349
+ "modal-backdrop-blur": {
1350
+ "$type": "dimension",
1351
+ "$value": "10px",
1352
+ "$description": "Modal backdrop blur — current GS source.",
1353
+ "$extensions": {
1354
+ "graphicstandard": {
1355
+ "family": "dimension",
1356
+ "layer": "semantic",
1357
+ "value": {
1358
+ "kind": "scalar",
1359
+ "value": "10px"
1360
+ }
1361
+ }
1362
+ }
1363
+ }
1364
+ },
1365
+ "shadow": {
1366
+ "modal-surface": {
1367
+ "$type": "shadow",
1368
+ "$value": [
1369
+ {
1370
+ "offsetX": "0",
1371
+ "offsetY": "24px",
1372
+ "blur": "80px",
1373
+ "spread": "0",
1374
+ "color": "#0d0d0d2e",
1375
+ "inset": false
1376
+ },
1377
+ {
1378
+ "offsetX": "0",
1379
+ "offsetY": "2px",
1380
+ "blur": "12px",
1381
+ "spread": "0",
1382
+ "color": "#0d0d0d14",
1383
+ "inset": false
1384
+ }
1385
+ ],
1386
+ "$description": "Modal surface shadow — current GS source.",
1387
+ "$extensions": {
1388
+ "graphicstandard": {
1389
+ "family": "shadow",
1390
+ "layer": "semantic",
1391
+ "value": {
1392
+ "kind": "shadow",
1393
+ "value": [
1394
+ {
1395
+ "x": "0",
1396
+ "y": "24px",
1397
+ "blur": "80px",
1398
+ "color": "#0d0d0d2e"
1399
+ },
1400
+ {
1401
+ "x": "0",
1402
+ "y": "2px",
1403
+ "blur": "12px",
1404
+ "color": "#0d0d0d14"
1405
+ }
1406
+ ]
1407
+ }
1408
+ }
1409
+ }
1410
+ }
1411
+ },
1412
+ "motion": {
1413
+ "modal": {
1414
+ "content-enter-delay": {
1415
+ "$type": "duration",
1416
+ "$value": "280ms",
1417
+ "$description": "Split-modal first content entrance delay.",
1418
+ "$extensions": {
1419
+ "graphicstandard": {
1420
+ "family": "motion",
1421
+ "layer": "semantic",
1422
+ "value": {
1423
+ "kind": "motion",
1424
+ "value": {
1425
+ "motion": "duration",
1426
+ "value": {
1427
+ "ms": 280
1428
+ }
1429
+ }
1430
+ }
1431
+ }
1432
+ }
1433
+ },
1434
+ "content-enter-duration": {
1435
+ "$type": "duration",
1436
+ "$value": "420ms",
1437
+ "$description": "Split-modal content entrance duration.",
1438
+ "$extensions": {
1439
+ "graphicstandard": {
1440
+ "family": "motion",
1441
+ "layer": "semantic",
1442
+ "value": {
1443
+ "kind": "motion",
1444
+ "value": {
1445
+ "motion": "duration",
1446
+ "value": {
1447
+ "ms": 420
1448
+ }
1449
+ }
1450
+ }
1451
+ }
1452
+ }
1453
+ },
1454
+ "content-enter-stagger": {
1455
+ "$type": "duration",
1456
+ "$value": "60ms",
1457
+ "$description": "Split-modal content stagger interval.",
1458
+ "$extensions": {
1459
+ "graphicstandard": {
1460
+ "family": "motion",
1461
+ "layer": "semantic",
1462
+ "value": {
1463
+ "kind": "motion",
1464
+ "value": {
1465
+ "motion": "duration",
1466
+ "value": {
1467
+ "ms": 60
1468
+ }
1469
+ }
1470
+ }
1471
+ }
1472
+ }
1473
+ },
1474
+ "enter-duration": {
1475
+ "$type": "duration",
1476
+ "$value": "520ms",
1477
+ "$description": "Modal overlay and surface entrance duration.",
1478
+ "$extensions": {
1479
+ "graphicstandard": {
1480
+ "family": "motion",
1481
+ "layer": "semantic",
1482
+ "value": {
1483
+ "kind": "motion",
1484
+ "value": {
1485
+ "motion": "duration",
1486
+ "value": {
1487
+ "ms": 520
1488
+ }
1489
+ }
1490
+ }
1491
+ }
1492
+ }
1493
+ },
1494
+ "enter-easing": {
1495
+ "$type": "cubicBezier",
1496
+ "$value": [
1497
+ 0.16,
1498
+ 1,
1499
+ 0.3,
1500
+ 1
1501
+ ],
1502
+ "$description": "Modal entrance easing — soft source-style deceleration.",
1503
+ "$extensions": {
1504
+ "graphicstandard": {
1505
+ "family": "motion",
1506
+ "layer": "semantic",
1507
+ "value": {
1508
+ "kind": "motion",
1509
+ "value": {
1510
+ "motion": "easing",
1511
+ "value": {
1512
+ "kind": "cubicBezier",
1513
+ "points": [
1514
+ 0.16,
1515
+ 1,
1516
+ 0.3,
1517
+ 1
1518
+ ]
1519
+ }
1520
+ }
1521
+ }
1522
+ }
1523
+ }
1524
+ },
1525
+ "exit-duration": {
1526
+ "$type": "duration",
1527
+ "$value": "360ms",
1528
+ "$description": "Modal overlay and surface exit duration.",
1529
+ "$extensions": {
1530
+ "graphicstandard": {
1531
+ "family": "motion",
1532
+ "layer": "semantic",
1533
+ "value": {
1534
+ "kind": "motion",
1535
+ "value": {
1536
+ "motion": "duration",
1537
+ "value": {
1538
+ "ms": 360
1539
+ }
1540
+ }
1541
+ }
1542
+ }
1543
+ }
1544
+ },
1545
+ "exit-easing": {
1546
+ "$type": "cubicBezier",
1547
+ "$value": [
1548
+ 0.4,
1549
+ 0,
1550
+ 0.2,
1551
+ 1
1552
+ ],
1553
+ "$description": "Modal exit easing — standard source-style acceleration.",
1554
+ "$extensions": {
1555
+ "graphicstandard": {
1556
+ "family": "motion",
1557
+ "layer": "semantic",
1558
+ "value": {
1559
+ "kind": "motion",
1560
+ "value": {
1561
+ "motion": "easing",
1562
+ "value": {
1563
+ "kind": "cubicBezier",
1564
+ "points": [
1565
+ 0.4,
1566
+ 0,
1567
+ 0.2,
1568
+ 1
1569
+ ]
1570
+ }
1571
+ }
1572
+ }
1573
+ }
1574
+ }
1575
+ },
1576
+ "origin-scale-max": {
1577
+ "$type": "number",
1578
+ "$value": "0.96",
1579
+ "$description": "Default modal entrance/exit scale.",
1580
+ "$extensions": {
1581
+ "graphicstandard": {
1582
+ "family": "number",
1583
+ "layer": "semantic",
1584
+ "value": {
1585
+ "kind": "scalar",
1586
+ "value": "0.96"
1587
+ }
1588
+ }
1589
+ }
1590
+ },
1591
+ "origin-scale-min": {
1592
+ "$type": "number",
1593
+ "$value": "0.82",
1594
+ "$description": "Minimum modal trigger-origin scale.",
1595
+ "$extensions": {
1596
+ "graphicstandard": {
1597
+ "family": "number",
1598
+ "layer": "semantic",
1599
+ "value": {
1600
+ "kind": "scalar",
1601
+ "value": "0.82"
1602
+ }
1603
+ }
1604
+ }
1605
+ },
1606
+ "panel-enter-delay": {
1607
+ "$type": "duration",
1608
+ "$value": "140ms",
1609
+ "$description": "Split-modal control panel entrance delay.",
1610
+ "$extensions": {
1611
+ "graphicstandard": {
1612
+ "family": "motion",
1613
+ "layer": "semantic",
1614
+ "value": {
1615
+ "kind": "motion",
1616
+ "value": {
1617
+ "motion": "duration",
1618
+ "value": {
1619
+ "ms": 140
1620
+ }
1621
+ }
1622
+ }
1623
+ }
1624
+ }
1625
+ },
1626
+ "panel-enter-duration": {
1627
+ "$type": "duration",
1628
+ "$value": "460ms",
1629
+ "$description": "Split-modal control panel entrance duration.",
1630
+ "$extensions": {
1631
+ "graphicstandard": {
1632
+ "family": "motion",
1633
+ "layer": "semantic",
1634
+ "value": {
1635
+ "kind": "motion",
1636
+ "value": {
1637
+ "motion": "duration",
1638
+ "value": {
1639
+ "ms": 460
1640
+ }
1641
+ }
1642
+ }
1643
+ }
1644
+ }
1645
+ }
1152
1646
  }
1153
1647
  },
1154
1648
  "radius": {
@@ -1336,6 +1830,21 @@
1336
1830
  }
1337
1831
  },
1338
1832
  "tracking": {
1833
+ "display-large": {
1834
+ "$type": "dimension",
1835
+ "$value": "-0.0666667em",
1836
+ "$description": "Letter spacing — large product display (-2px at 30px).",
1837
+ "$extensions": {
1838
+ "graphicstandard": {
1839
+ "family": "dimension",
1840
+ "layer": "semantic",
1841
+ "value": {
1842
+ "kind": "scalar",
1843
+ "value": "-0.0666667em"
1844
+ }
1845
+ }
1846
+ }
1847
+ },
1339
1848
  "normal": {
1340
1849
  "$type": "dimension",
1341
1850
  "$value": "0.01em",
package/src/variables.css CHANGED
@@ -23,6 +23,8 @@
23
23
  --color-fg-muted: #7d786f;
24
24
  --color-fg-on-brand: #0d0d0d;
25
25
  --color-fg-subtle: #b3b3b3;
26
+ --color-fg-workflow-muted: #858585;
27
+ --color-modal-backdrop: #f7f6f2a8;
26
28
  --color-neutral-300: #b3b3b3;
27
29
  --color-neutral-600: #333333;
28
30
  --color-ring: #0d0d0d;
@@ -33,6 +35,8 @@
33
35
  --color-surface-inverted: #242423;
34
36
  --color-surface-muted: #eceae1;
35
37
  --color-surface-placeholder: #333333;
38
+ --control-height-tall: 3.625rem;
39
+ --effect-modal-backdrop-blur: 10px;
36
40
  --font-mono: 'GT America Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
37
41
  --font-sans: 'GT America', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
38
42
  --font-size-body: 1rem;
@@ -40,6 +44,7 @@
40
44
  --font-size-caption: 0.6875rem;
41
45
  --font-size-compact: 0.8125rem;
42
46
  --font-size-display: 1.75rem;
47
+ --font-size-display-large: 1.875rem;
43
48
  --font-size-heading1: 1.75rem;
44
49
  --font-size-heading2: 1.375rem;
45
50
  --font-size-heading3: 1.25rem;
@@ -48,26 +53,46 @@
48
53
  --font-size-headline: 1.375rem;
49
54
  --font-size-label: 0.75rem;
50
55
  --font-size-micro: 0.625rem;
56
+ --font-size-panel-heading: 1.0625rem;
51
57
  --font-size-small: 0.875rem;
52
58
  --font-size-subtitle: 1.125rem;
53
59
  --font-size-title: 1.25rem;
60
+ --line-height-body: 22px;
61
+ --line-height-compact: 16px;
62
+ --line-height-display: 30px;
63
+ --line-height-display-large: 32px;
54
64
  --line-height-heading1: 30px;
55
65
  --line-height-heading2: 24px;
56
66
  --line-height-heading3: 22px;
57
67
  --line-height-heading4: 22px;
58
68
  --line-height-heading5: 20px;
69
+ --line-height-panel-heading: 20px;
70
+ --line-height-small: 18px;
71
+ --motion-modal-content-enter-delay: 280ms;
72
+ --motion-modal-content-enter-duration: 420ms;
73
+ --motion-modal-content-enter-stagger: 60ms;
74
+ --motion-modal-enter-duration: 520ms;
75
+ --motion-modal-enter-easing: cubic-bezier(0.16, 1, 0.3, 1);
76
+ --motion-modal-exit-duration: 360ms;
77
+ --motion-modal-exit-easing: cubic-bezier(0.4, 0, 0.2, 1);
78
+ --motion-modal-origin-scale-max: 0.96;
79
+ --motion-modal-origin-scale-min: 0.82;
80
+ --motion-modal-panel-enter-delay: 140ms;
81
+ --motion-modal-panel-enter-duration: 460ms;
59
82
  --radius-2xl: 1rem;
60
83
  --radius-lg: 0.5rem;
61
84
  --radius-md: 0.375rem;
62
85
  --radius-panel: 1.1rem;
63
86
  --radius-sm: 0.125rem;
64
87
  --radius-xl: 0.75rem;
88
+ --shadow-modal-surface: 0 24px 80px #0d0d0d2e, 0 2px 12px #0d0d0d14;
65
89
  --space-lg: 1.5rem;
66
90
  --space-md: 1rem;
67
91
  --space-nav-x: 0.8125rem;
68
92
  --space-sm: 0.5rem;
69
93
  --space-xl: 2rem;
70
94
  --space-xs: 0.25rem;
95
+ --tracking-display-large: -0.0666667em;
71
96
  --tracking-normal: 0.01em;
72
97
  --tracking-tight: 0em;
73
98
  --tracking-wide: 0.02em;
@@ -83,6 +108,7 @@
83
108
  --color-fg: #ffffff;
84
109
  --color-fg-inverted: #0d0d0d;
85
110
  --color-fg-muted: #aba89c;
111
+ --color-modal-backdrop: #0d0d0da8;
86
112
  --color-ring: #75e7b8;
87
113
  --color-surface: #242423;
88
114
  --color-surface-card: #242423;