@podoba/tokens 0.0.30 → 0.0.34

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.30",
3
+ "version": "0.0.34",
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
@@ -553,7 +553,7 @@
553
553
  "backdrop": {
554
554
  "$type": "color",
555
555
  "$value": "#f7f6f2a8",
556
- "$description": "Modal backdrop — warm source-UI scrim at 66% opacity.",
556
+ "$description": "Modal backdrop — warm source-UI scrim at 66% opacity (dark: neutral scrim at the same alpha).",
557
557
  "$extensions": {
558
558
  "graphicstandard": {
559
559
  "family": "color",
@@ -567,28 +567,12 @@
567
567
  "colorSpace": "hex",
568
568
  "hex": "#f7f6f2a8"
569
569
  }
570
- }
571
- ]
572
- }
573
- }
574
- }
575
- },
576
- "backdrop-fallback": {
577
- "$type": "color",
578
- "$value": "#f7f6f2c2",
579
- "$description": "Modal backdrop fallback when backdrop-filter is unavailable.",
580
- "$extensions": {
581
- "graphicstandard": {
582
- "family": "color",
583
- "layer": "semantic",
584
- "value": {
585
- "kind": "color",
586
- "value": [
570
+ },
587
571
  {
588
- "themeKey": "light",
572
+ "themeKey": "dark",
589
573
  "online": {
590
574
  "colorSpace": "hex",
591
- "hex": "#f7f6f2c2"
575
+ "hex": "#0d0d0da8"
592
576
  }
593
577
  }
594
578
  ]
@@ -1236,107 +1220,107 @@
1236
1220
  }
1237
1221
  }
1238
1222
  },
1239
- "panel-heading": {
1223
+ "heading1": {
1240
1224
  "$type": "dimension",
1241
- "$value": "20px",
1242
- "$description": "Line height — workflow/dialog panel heading.",
1225
+ "$value": "30px",
1226
+ "$description": "Line height — heading 1.",
1243
1227
  "$extensions": {
1244
1228
  "graphicstandard": {
1245
1229
  "family": "dimension",
1246
1230
  "layer": "semantic",
1247
1231
  "value": {
1248
1232
  "kind": "scalar",
1249
- "value": "20px"
1233
+ "value": "30px"
1250
1234
  }
1251
1235
  }
1252
1236
  }
1253
1237
  },
1254
- "small": {
1238
+ "heading2": {
1255
1239
  "$type": "dimension",
1256
- "$value": "18px",
1257
- "$description": "Line height — small.",
1240
+ "$value": "24px",
1241
+ "$description": "Line height — heading 2.",
1258
1242
  "$extensions": {
1259
1243
  "graphicstandard": {
1260
1244
  "family": "dimension",
1261
1245
  "layer": "semantic",
1262
1246
  "value": {
1263
1247
  "kind": "scalar",
1264
- "value": "18px"
1248
+ "value": "24px"
1265
1249
  }
1266
1250
  }
1267
1251
  }
1268
1252
  },
1269
- "heading1": {
1253
+ "heading3": {
1270
1254
  "$type": "dimension",
1271
- "$value": "30px",
1272
- "$description": "Line height — heading 1.",
1255
+ "$value": "22px",
1256
+ "$description": "Line height — heading 3.",
1273
1257
  "$extensions": {
1274
1258
  "graphicstandard": {
1275
1259
  "family": "dimension",
1276
1260
  "layer": "semantic",
1277
1261
  "value": {
1278
1262
  "kind": "scalar",
1279
- "value": "30px"
1263
+ "value": "22px"
1280
1264
  }
1281
1265
  }
1282
1266
  }
1283
1267
  },
1284
- "heading2": {
1268
+ "heading4": {
1285
1269
  "$type": "dimension",
1286
- "$value": "24px",
1287
- "$description": "Line height — heading 2.",
1270
+ "$value": "22px",
1271
+ "$description": "Line height — heading 4.",
1288
1272
  "$extensions": {
1289
1273
  "graphicstandard": {
1290
1274
  "family": "dimension",
1291
1275
  "layer": "semantic",
1292
1276
  "value": {
1293
1277
  "kind": "scalar",
1294
- "value": "24px"
1278
+ "value": "22px"
1295
1279
  }
1296
1280
  }
1297
1281
  }
1298
1282
  },
1299
- "heading3": {
1283
+ "heading5": {
1300
1284
  "$type": "dimension",
1301
- "$value": "22px",
1302
- "$description": "Line height — heading 3.",
1285
+ "$value": "20px",
1286
+ "$description": "Line height — heading 5.",
1303
1287
  "$extensions": {
1304
1288
  "graphicstandard": {
1305
1289
  "family": "dimension",
1306
1290
  "layer": "semantic",
1307
1291
  "value": {
1308
1292
  "kind": "scalar",
1309
- "value": "22px"
1293
+ "value": "20px"
1310
1294
  }
1311
1295
  }
1312
1296
  }
1313
1297
  },
1314
- "heading4": {
1298
+ "panel-heading": {
1315
1299
  "$type": "dimension",
1316
- "$value": "22px",
1317
- "$description": "Line height — heading 4.",
1300
+ "$value": "20px",
1301
+ "$description": "Line height — workflow/dialog panel heading.",
1318
1302
  "$extensions": {
1319
1303
  "graphicstandard": {
1320
1304
  "family": "dimension",
1321
1305
  "layer": "semantic",
1322
1306
  "value": {
1323
1307
  "kind": "scalar",
1324
- "value": "22px"
1308
+ "value": "20px"
1325
1309
  }
1326
1310
  }
1327
1311
  }
1328
1312
  },
1329
- "heading5": {
1313
+ "small": {
1330
1314
  "$type": "dimension",
1331
- "$value": "20px",
1332
- "$description": "Line height — heading 5.",
1315
+ "$value": "18px",
1316
+ "$description": "Line height — small.",
1333
1317
  "$extensions": {
1334
1318
  "graphicstandard": {
1335
1319
  "family": "dimension",
1336
1320
  "layer": "semantic",
1337
1321
  "value": {
1338
1322
  "kind": "scalar",
1339
- "value": "20px"
1323
+ "value": "18px"
1340
1324
  }
1341
1325
  }
1342
1326
  }
@@ -1344,6 +1328,51 @@
1344
1328
  },
1345
1329
  "control": {
1346
1330
  "height": {
1331
+ "create-hub-full": {
1332
+ "$type": "dimension",
1333
+ "$value": "100vh",
1334
+ "$description": "Full mobile Create Hub sheet height from the GS Manager source.",
1335
+ "$extensions": {
1336
+ "graphicstandard": {
1337
+ "family": "dimension",
1338
+ "layer": "semantic",
1339
+ "value": {
1340
+ "kind": "scalar",
1341
+ "value": "100vh"
1342
+ }
1343
+ }
1344
+ }
1345
+ },
1346
+ "create-hub-partial": {
1347
+ "$type": "dimension",
1348
+ "$value": "40vh",
1349
+ "$description": "Partial mobile Create Hub sheet height from the GS Manager source.",
1350
+ "$extensions": {
1351
+ "graphicstandard": {
1352
+ "family": "dimension",
1353
+ "layer": "semantic",
1354
+ "value": {
1355
+ "kind": "scalar",
1356
+ "value": "40vh"
1357
+ }
1358
+ }
1359
+ }
1360
+ },
1361
+ "mobile-cta": {
1362
+ "$type": "dimension",
1363
+ "$value": "99px",
1364
+ "$description": "Minimum height of the collapsed mobile hero CTA from the GS Manager source.",
1365
+ "$extensions": {
1366
+ "graphicstandard": {
1367
+ "family": "dimension",
1368
+ "layer": "semantic",
1369
+ "value": {
1370
+ "kind": "scalar",
1371
+ "value": "99px"
1372
+ }
1373
+ }
1374
+ }
1375
+ },
1347
1376
  "tall": {
1348
1377
  "$type": "dimension",
1349
1378
  "$value": "3.625rem",
@@ -1379,6 +1408,37 @@
1379
1408
  }
1380
1409
  },
1381
1410
  "shadow": {
1411
+ "mobile-cta": {
1412
+ "$type": "shadow",
1413
+ "$value": [
1414
+ {
1415
+ "offsetX": "0",
1416
+ "offsetY": "-2px",
1417
+ "blur": "8px",
1418
+ "spread": "0",
1419
+ "color": "#00000014",
1420
+ "inset": false
1421
+ }
1422
+ ],
1423
+ "$description": "Collapsed mobile hero CTA shadow from the GS Manager source.",
1424
+ "$extensions": {
1425
+ "graphicstandard": {
1426
+ "family": "shadow",
1427
+ "layer": "semantic",
1428
+ "value": {
1429
+ "kind": "shadow",
1430
+ "value": [
1431
+ {
1432
+ "x": "0",
1433
+ "y": "-2px",
1434
+ "blur": "8px",
1435
+ "color": "#00000014"
1436
+ }
1437
+ ]
1438
+ }
1439
+ }
1440
+ }
1441
+ },
1382
1442
  "modal-surface": {
1383
1443
  "$type": "shadow",
1384
1444
  "$value": [
@@ -1426,6 +1486,119 @@
1426
1486
  }
1427
1487
  },
1428
1488
  "motion": {
1489
+ "create-hub": {
1490
+ "backdrop-duration": {
1491
+ "$type": "duration",
1492
+ "$value": "150ms",
1493
+ "$description": "Mobile Create Hub backdrop entrance duration.",
1494
+ "$extensions": {
1495
+ "graphicstandard": {
1496
+ "family": "motion",
1497
+ "layer": "semantic",
1498
+ "value": {
1499
+ "kind": "motion",
1500
+ "value": {
1501
+ "motion": "duration",
1502
+ "value": {
1503
+ "ms": 150
1504
+ }
1505
+ }
1506
+ }
1507
+ }
1508
+ }
1509
+ },
1510
+ "desktop-duration": {
1511
+ "$type": "duration",
1512
+ "$value": "400ms",
1513
+ "$description": "Desktop Create Hub right-to-left expansion duration.",
1514
+ "$extensions": {
1515
+ "graphicstandard": {
1516
+ "family": "motion",
1517
+ "layer": "semantic",
1518
+ "value": {
1519
+ "kind": "motion",
1520
+ "value": {
1521
+ "motion": "duration",
1522
+ "value": {
1523
+ "ms": 400
1524
+ }
1525
+ }
1526
+ }
1527
+ }
1528
+ }
1529
+ },
1530
+ "full-duration": {
1531
+ "$type": "duration",
1532
+ "$value": "300ms",
1533
+ "$description": "Mobile Create Hub transition from partial to full height.",
1534
+ "$extensions": {
1535
+ "graphicstandard": {
1536
+ "family": "motion",
1537
+ "layer": "semantic",
1538
+ "value": {
1539
+ "kind": "motion",
1540
+ "value": {
1541
+ "motion": "duration",
1542
+ "value": {
1543
+ "ms": 300
1544
+ }
1545
+ }
1546
+ }
1547
+ }
1548
+ }
1549
+ },
1550
+ "enter-easing": {
1551
+ "$type": "cubicBezier",
1552
+ "$value": [
1553
+ 0.16,
1554
+ 1,
1555
+ 0.3,
1556
+ 1
1557
+ ],
1558
+ "$description": "Create Hub source entrance easing.",
1559
+ "$extensions": {
1560
+ "graphicstandard": {
1561
+ "family": "motion",
1562
+ "layer": "semantic",
1563
+ "value": {
1564
+ "kind": "motion",
1565
+ "value": {
1566
+ "motion": "easing",
1567
+ "value": {
1568
+ "kind": "cubicBezier",
1569
+ "points": [
1570
+ 0.16,
1571
+ 1,
1572
+ 0.3,
1573
+ 1
1574
+ ]
1575
+ }
1576
+ }
1577
+ }
1578
+ }
1579
+ }
1580
+ },
1581
+ "sheet-duration": {
1582
+ "$type": "duration",
1583
+ "$value": "320ms",
1584
+ "$description": "Mobile Create Hub slide-up duration.",
1585
+ "$extensions": {
1586
+ "graphicstandard": {
1587
+ "family": "motion",
1588
+ "layer": "semantic",
1589
+ "value": {
1590
+ "kind": "motion",
1591
+ "value": {
1592
+ "motion": "duration",
1593
+ "value": {
1594
+ "ms": 320
1595
+ }
1596
+ }
1597
+ }
1598
+ }
1599
+ }
1600
+ }
1601
+ },
1429
1602
  "modal": {
1430
1603
  "content-enter-delay": {
1431
1604
  "$type": "duration",
package/src/variables.css CHANGED
@@ -25,7 +25,6 @@
25
25
  --color-fg-subtle: #b3b3b3;
26
26
  --color-fg-workflow-muted: #858585;
27
27
  --color-modal-backdrop: #f7f6f2a8;
28
- --color-modal-backdrop-fallback: #f7f6f2c2;
29
28
  --color-neutral-300: #b3b3b3;
30
29
  --color-neutral-600: #333333;
31
30
  --color-ring: #0d0d0d;
@@ -36,6 +35,9 @@
36
35
  --color-surface-inverted: #242423;
37
36
  --color-surface-muted: #eceae1;
38
37
  --color-surface-placeholder: #333333;
38
+ --control-height-mobile-cta: 99px;
39
+ --control-height-create-hub-full: 100vh;
40
+ --control-height-create-hub-partial: 40vh;
39
41
  --control-height-tall: 3.625rem;
40
42
  --effect-modal-backdrop-blur: 10px;
41
43
  --font-mono: 'GT America Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
@@ -58,18 +60,23 @@
58
60
  --font-size-small: 0.875rem;
59
61
  --font-size-subtitle: 1.125rem;
60
62
  --font-size-title: 1.25rem;
61
- --line-height-heading1: 30px;
63
+ --line-height-body: 22px;
64
+ --line-height-compact: 16px;
65
+ --line-height-display: 30px;
62
66
  --line-height-display-large: 32px;
67
+ --line-height-heading1: 30px;
63
68
  --line-height-heading2: 24px;
64
69
  --line-height-heading3: 22px;
65
70
  --line-height-heading4: 22px;
66
71
  --line-height-heading5: 20px;
67
- --line-height-body: 22px;
68
- --line-height-compact: 16px;
69
- --line-height-display: 30px;
70
72
  --line-height-panel-heading: 20px;
71
73
  --line-height-small: 18px;
72
74
  --motion-modal-content-enter-delay: 280ms;
75
+ --motion-create-hub-backdrop-duration: 150ms;
76
+ --motion-create-hub-desktop-duration: 400ms;
77
+ --motion-create-hub-full-duration: 300ms;
78
+ --motion-create-hub-enter-easing: cubic-bezier(0.16, 1, 0.3, 1);
79
+ --motion-create-hub-sheet-duration: 320ms;
73
80
  --motion-modal-content-enter-duration: 420ms;
74
81
  --motion-modal-content-enter-stagger: 60ms;
75
82
  --motion-modal-enter-duration: 520ms;
@@ -86,16 +93,17 @@
86
93
  --radius-panel: 1.1rem;
87
94
  --radius-sm: 0.125rem;
88
95
  --radius-xl: 0.75rem;
96
+ --shadow-modal-surface: 0 24px 80px #0d0d0d2e, 0 2px 12px #0d0d0d14;
89
97
  --space-lg: 1.5rem;
90
98
  --space-md: 1rem;
91
99
  --space-nav-x: 0.8125rem;
92
100
  --space-sm: 0.5rem;
93
101
  --space-xl: 2rem;
94
102
  --space-xs: 0.25rem;
95
- --shadow-modal-surface: 0 24px 80px #0d0d0d2e, 0 2px 12px #0d0d0d14;
103
+ --shadow-mobile-cta: 0 -2px 8px #00000014;
104
+ --tracking-display-large: -0.0666667em;
96
105
  --tracking-normal: 0.01em;
97
106
  --tracking-tight: 0em;
98
- --tracking-display-large: -0.0666667em;
99
107
  --tracking-wide: 0.02em;
100
108
  --tracking-wider: 0.03em;
101
109
  }
@@ -109,6 +117,7 @@
109
117
  --color-fg: #ffffff;
110
118
  --color-fg-inverted: #0d0d0d;
111
119
  --color-fg-muted: #aba89c;
120
+ --color-modal-backdrop: #0d0d0da8;
112
121
  --color-ring: #75e7b8;
113
122
  --color-surface: #242423;
114
123
  --color-surface-card: #242423;