@podoba/tokens 0.0.30 → 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 +1 -1
- package/src/tokens.json +32 -48
- package/src/variables.css +7 -7
package/package.json
CHANGED
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": "
|
|
572
|
+
"themeKey": "dark",
|
|
589
573
|
"online": {
|
|
590
574
|
"colorSpace": "hex",
|
|
591
|
-
"hex": "#
|
|
575
|
+
"hex": "#0d0d0da8"
|
|
592
576
|
}
|
|
593
577
|
}
|
|
594
578
|
]
|
|
@@ -1236,107 +1220,107 @@
|
|
|
1236
1220
|
}
|
|
1237
1221
|
}
|
|
1238
1222
|
},
|
|
1239
|
-
"
|
|
1223
|
+
"heading1": {
|
|
1240
1224
|
"$type": "dimension",
|
|
1241
|
-
"$value": "
|
|
1242
|
-
"$description": "Line height —
|
|
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": "
|
|
1233
|
+
"value": "30px"
|
|
1250
1234
|
}
|
|
1251
1235
|
}
|
|
1252
1236
|
}
|
|
1253
1237
|
},
|
|
1254
|
-
"
|
|
1238
|
+
"heading2": {
|
|
1255
1239
|
"$type": "dimension",
|
|
1256
|
-
"$value": "
|
|
1257
|
-
"$description": "Line height —
|
|
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": "
|
|
1248
|
+
"value": "24px"
|
|
1265
1249
|
}
|
|
1266
1250
|
}
|
|
1267
1251
|
}
|
|
1268
1252
|
},
|
|
1269
|
-
"
|
|
1253
|
+
"heading3": {
|
|
1270
1254
|
"$type": "dimension",
|
|
1271
|
-
"$value": "
|
|
1272
|
-
"$description": "Line height — heading
|
|
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": "
|
|
1263
|
+
"value": "22px"
|
|
1280
1264
|
}
|
|
1281
1265
|
}
|
|
1282
1266
|
}
|
|
1283
1267
|
},
|
|
1284
|
-
"
|
|
1268
|
+
"heading4": {
|
|
1285
1269
|
"$type": "dimension",
|
|
1286
|
-
"$value": "
|
|
1287
|
-
"$description": "Line height — heading
|
|
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": "
|
|
1278
|
+
"value": "22px"
|
|
1295
1279
|
}
|
|
1296
1280
|
}
|
|
1297
1281
|
}
|
|
1298
1282
|
},
|
|
1299
|
-
"
|
|
1283
|
+
"heading5": {
|
|
1300
1284
|
"$type": "dimension",
|
|
1301
|
-
"$value": "
|
|
1302
|
-
"$description": "Line height — heading
|
|
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": "
|
|
1293
|
+
"value": "20px"
|
|
1310
1294
|
}
|
|
1311
1295
|
}
|
|
1312
1296
|
}
|
|
1313
1297
|
},
|
|
1314
|
-
"
|
|
1298
|
+
"panel-heading": {
|
|
1315
1299
|
"$type": "dimension",
|
|
1316
|
-
"$value": "
|
|
1317
|
-
"$description": "Line height — heading
|
|
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": "
|
|
1308
|
+
"value": "20px"
|
|
1325
1309
|
}
|
|
1326
1310
|
}
|
|
1327
1311
|
}
|
|
1328
1312
|
},
|
|
1329
|
-
"
|
|
1313
|
+
"small": {
|
|
1330
1314
|
"$type": "dimension",
|
|
1331
|
-
"$value": "
|
|
1332
|
-
"$description": "Line height —
|
|
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": "
|
|
1323
|
+
"value": "18px"
|
|
1340
1324
|
}
|
|
1341
1325
|
}
|
|
1342
1326
|
}
|
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;
|
|
@@ -58,15 +57,15 @@
|
|
|
58
57
|
--font-size-small: 0.875rem;
|
|
59
58
|
--font-size-subtitle: 1.125rem;
|
|
60
59
|
--font-size-title: 1.25rem;
|
|
61
|
-
--line-height-
|
|
60
|
+
--line-height-body: 22px;
|
|
61
|
+
--line-height-compact: 16px;
|
|
62
|
+
--line-height-display: 30px;
|
|
62
63
|
--line-height-display-large: 32px;
|
|
64
|
+
--line-height-heading1: 30px;
|
|
63
65
|
--line-height-heading2: 24px;
|
|
64
66
|
--line-height-heading3: 22px;
|
|
65
67
|
--line-height-heading4: 22px;
|
|
66
68
|
--line-height-heading5: 20px;
|
|
67
|
-
--line-height-body: 22px;
|
|
68
|
-
--line-height-compact: 16px;
|
|
69
|
-
--line-height-display: 30px;
|
|
70
69
|
--line-height-panel-heading: 20px;
|
|
71
70
|
--line-height-small: 18px;
|
|
72
71
|
--motion-modal-content-enter-delay: 280ms;
|
|
@@ -86,16 +85,16 @@
|
|
|
86
85
|
--radius-panel: 1.1rem;
|
|
87
86
|
--radius-sm: 0.125rem;
|
|
88
87
|
--radius-xl: 0.75rem;
|
|
88
|
+
--shadow-modal-surface: 0 24px 80px #0d0d0d2e, 0 2px 12px #0d0d0d14;
|
|
89
89
|
--space-lg: 1.5rem;
|
|
90
90
|
--space-md: 1rem;
|
|
91
91
|
--space-nav-x: 0.8125rem;
|
|
92
92
|
--space-sm: 0.5rem;
|
|
93
93
|
--space-xl: 2rem;
|
|
94
94
|
--space-xs: 0.25rem;
|
|
95
|
-
--
|
|
95
|
+
--tracking-display-large: -0.0666667em;
|
|
96
96
|
--tracking-normal: 0.01em;
|
|
97
97
|
--tracking-tight: 0em;
|
|
98
|
-
--tracking-display-large: -0.0666667em;
|
|
99
98
|
--tracking-wide: 0.02em;
|
|
100
99
|
--tracking-wider: 0.03em;
|
|
101
100
|
}
|
|
@@ -109,6 +108,7 @@
|
|
|
109
108
|
--color-fg: #ffffff;
|
|
110
109
|
--color-fg-inverted: #0d0d0d;
|
|
111
110
|
--color-fg-muted: #aba89c;
|
|
111
|
+
--color-modal-backdrop: #0d0d0da8;
|
|
112
112
|
--color-ring: #75e7b8;
|
|
113
113
|
--color-surface: #242423;
|
|
114
114
|
--color-surface-card: #242423;
|