@afluem/tokens 0.2.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/README.md +2 -2
- package/dist/contrast.json +0 -1558
- package/dist/index.d.ts +0 -132
- package/dist/index.js +0 -132
- package/dist/tailwind.css +0 -2
- package/dist/tokens.css +0 -90
- package/dist/tokens.json +13 -213
- package/package.json +1 -1
package/dist/tokens.json
CHANGED
|
@@ -882,7 +882,7 @@
|
|
|
882
882
|
"group": "color",
|
|
883
883
|
"light": "#efe7d8",
|
|
884
884
|
"dark": "#0d0c09",
|
|
885
|
-
"description": "The tray under the paper: code blocks,
|
|
885
|
+
"description": "The tray under the paper: code blocks, keycaps, the docs sidebar, the console window ground."
|
|
886
886
|
},
|
|
887
887
|
{
|
|
888
888
|
"name": "color-surface-overlay",
|
|
@@ -1002,7 +1002,7 @@
|
|
|
1002
1002
|
"group": "color",
|
|
1003
1003
|
"light": "#acc5f2",
|
|
1004
1004
|
"dark": "#28467d",
|
|
1005
|
-
"description": "Border of an
|
|
1005
|
+
"description": "Border of an active filter chip or an info alert."
|
|
1006
1006
|
},
|
|
1007
1007
|
{
|
|
1008
1008
|
"name": "color-ok",
|
|
@@ -1010,7 +1010,7 @@
|
|
|
1010
1010
|
"group": "color",
|
|
1011
1011
|
"light": "#146d34",
|
|
1012
1012
|
"dark": "#76cf8a",
|
|
1013
|
-
"description": "Status ok, a 2xx reply: the DELIVERED rubber stamp, check words, ok
|
|
1013
|
+
"description": "Status ok, a 2xx reply: the DELIVERED rubber stamp, check words, the ok status icon."
|
|
1014
1014
|
},
|
|
1015
1015
|
{
|
|
1016
1016
|
"name": "color-ok-soft",
|
|
@@ -1018,7 +1018,7 @@
|
|
|
1018
1018
|
"group": "color",
|
|
1019
1019
|
"light": "#dcf7e1",
|
|
1020
1020
|
"dark": "#15291a",
|
|
1021
|
-
"description": "
|
|
1021
|
+
"description": "Alert ground behind ok text."
|
|
1022
1022
|
},
|
|
1023
1023
|
{
|
|
1024
1024
|
"name": "color-ok-line",
|
|
@@ -1026,7 +1026,7 @@
|
|
|
1026
1026
|
"group": "color",
|
|
1027
1027
|
"light": "#a6daaf",
|
|
1028
1028
|
"dark": "#244d2e",
|
|
1029
|
-
"description": "Border of an ok
|
|
1029
|
+
"description": "Border of an ok alert."
|
|
1030
1030
|
},
|
|
1031
1031
|
{
|
|
1032
1032
|
"name": "color-ok-solid",
|
|
@@ -1042,7 +1042,7 @@
|
|
|
1042
1042
|
"group": "color",
|
|
1043
1043
|
"light": "#945a00",
|
|
1044
1044
|
"dark": "#f0be67",
|
|
1045
|
-
"description": "Status warn, a 4xx reply: the DEFERRED rubber stamp, findings to review, warn
|
|
1045
|
+
"description": "Status warn, a 4xx reply: the DEFERRED rubber stamp, findings to review, the warn status icon."
|
|
1046
1046
|
},
|
|
1047
1047
|
{
|
|
1048
1048
|
"name": "color-warn-soft",
|
|
@@ -1050,7 +1050,7 @@
|
|
|
1050
1050
|
"group": "color",
|
|
1051
1051
|
"light": "#ffeecb",
|
|
1052
1052
|
"dark": "#31240e",
|
|
1053
|
-
"description": "
|
|
1053
|
+
"description": "Alert ground behind warn text."
|
|
1054
1054
|
},
|
|
1055
1055
|
{
|
|
1056
1056
|
"name": "color-warn-line",
|
|
@@ -1058,7 +1058,7 @@
|
|
|
1058
1058
|
"group": "color",
|
|
1059
1059
|
"light": "#f0cb8d",
|
|
1060
1060
|
"dark": "#5b4315",
|
|
1061
|
-
"description": "Border of a warn
|
|
1061
|
+
"description": "Border of a warn alert."
|
|
1062
1062
|
},
|
|
1063
1063
|
{
|
|
1064
1064
|
"name": "color-warn-solid",
|
|
@@ -1082,7 +1082,7 @@
|
|
|
1082
1082
|
"group": "color",
|
|
1083
1083
|
"light": "#ffe7e3",
|
|
1084
1084
|
"dark": "#3a1d1a",
|
|
1085
|
-
"description": "
|
|
1085
|
+
"description": "Alert ground behind fail text."
|
|
1086
1086
|
},
|
|
1087
1087
|
{
|
|
1088
1088
|
"name": "color-fail-line",
|
|
@@ -1090,7 +1090,7 @@
|
|
|
1090
1090
|
"group": "color",
|
|
1091
1091
|
"light": "#f8bdb4",
|
|
1092
1092
|
"dark": "#6c352f",
|
|
1093
|
-
"description": "Border of a fail
|
|
1093
|
+
"description": "Border of a fail alert or an invalid input."
|
|
1094
1094
|
},
|
|
1095
1095
|
{
|
|
1096
1096
|
"name": "color-fail-solid",
|
|
@@ -1132,22 +1132,6 @@
|
|
|
1132
1132
|
"dark": "#bdb8af",
|
|
1133
1133
|
"description": "Status unknown: the UNSORTED stamp, a stage that never ran. Alias of ink-muted."
|
|
1134
1134
|
},
|
|
1135
|
-
{
|
|
1136
|
-
"name": "color-unknown-soft",
|
|
1137
|
-
"variable": "--af-color-unknown-soft",
|
|
1138
|
-
"group": "color",
|
|
1139
|
-
"light": "#efe7d8",
|
|
1140
|
-
"dark": "#0d0c09",
|
|
1141
|
-
"description": "Badge ground behind unknown text."
|
|
1142
|
-
},
|
|
1143
|
-
{
|
|
1144
|
-
"name": "color-unknown-line",
|
|
1145
|
-
"variable": "--af-color-unknown-line",
|
|
1146
|
-
"group": "color",
|
|
1147
|
-
"light": "#c7c0b1",
|
|
1148
|
-
"dark": "#3f3d37",
|
|
1149
|
-
"description": "Border of an unknown badge."
|
|
1150
|
-
},
|
|
1151
1135
|
{
|
|
1152
1136
|
"name": "color-unknown-solid",
|
|
1153
1137
|
"variable": "--af-color-unknown-solid",
|
|
@@ -1258,7 +1242,7 @@
|
|
|
1258
1242
|
"group": "shadow",
|
|
1259
1243
|
"light": "3px 3px 0 0 #1d1a14",
|
|
1260
1244
|
"dark": "0 0 0 0 #0000",
|
|
1261
|
-
"description": "The hard offset of
|
|
1245
|
+
"description": "The hard offset of buttons, envelopes and stamps: paper on a desk. Day shift only; small buttons in rows and toolbars do not cast it."
|
|
1262
1246
|
},
|
|
1263
1247
|
{
|
|
1264
1248
|
"name": "shadow-edge",
|
|
@@ -1266,7 +1250,7 @@
|
|
|
1266
1250
|
"group": "shadow",
|
|
1267
1251
|
"light": "inset 0 0 0 2px #1d1a14",
|
|
1268
1252
|
"dark": "inset 0 0 0 1px #3f3d37",
|
|
1269
|
-
"description": "The edge of a secondary button and an envelope: 2px ink
|
|
1253
|
+
"description": "The edge of a secondary button and an envelope: 2px ink in day shift, a line-strong hairline at night."
|
|
1270
1254
|
},
|
|
1271
1255
|
{
|
|
1272
1256
|
"name": "shadow-edge-primary",
|
|
@@ -1290,190 +1274,6 @@
|
|
|
1290
1274
|
"group": "offset",
|
|
1291
1275
|
"light": "3px",
|
|
1292
1276
|
"dark": "0px",
|
|
1293
|
-
"description": "How far a
|
|
1294
|
-
},
|
|
1295
|
-
{
|
|
1296
|
-
"name": "color-surface",
|
|
1297
|
-
"variable": "--af-color-surface",
|
|
1298
|
-
"group": "layer-console",
|
|
1299
|
-
"light": "#ffffff",
|
|
1300
|
-
"dark": "#11100f",
|
|
1301
|
-
"description": "Console: the content panel. White in day shift, graphite #11100f at night; hue 85 at almost no chroma."
|
|
1302
|
-
},
|
|
1303
|
-
{
|
|
1304
|
-
"name": "color-surface-raised",
|
|
1305
|
-
"variable": "--af-color-surface-raised",
|
|
1306
|
-
"group": "layer-console",
|
|
1307
|
-
"light": "#ffffff",
|
|
1308
|
-
"dark": "#181715",
|
|
1309
|
-
"description": "Console: cards, inputs and secondary buttons; separated from the panel by a hairline."
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
"name": "color-surface-sunken",
|
|
1313
|
-
"variable": "--af-color-surface-sunken",
|
|
1314
|
-
"group": "layer-console",
|
|
1315
|
-
"light": "#f7f6f3",
|
|
1316
|
-
"dark": "#0b0a08",
|
|
1317
|
-
"description": "Console: the window ground behind the panel, the sidebar, table headers, code and keycaps."
|
|
1318
|
-
},
|
|
1319
|
-
{
|
|
1320
|
-
"name": "color-surface-overlay",
|
|
1321
|
-
"variable": "--af-color-surface-overlay",
|
|
1322
|
-
"group": "layer-console",
|
|
1323
|
-
"light": "#ffffff",
|
|
1324
|
-
"dark": "#1f1e1b",
|
|
1325
|
-
"description": "Console: menus, popovers, dialogs, toasts and the command menu."
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
"name": "color-surface-hover",
|
|
1329
|
-
"variable": "--af-color-surface-hover",
|
|
1330
|
-
"group": "layer-console",
|
|
1331
|
-
"light": "#f4f3f1",
|
|
1332
|
-
"dark": "#1d1c19",
|
|
1333
|
-
"description": "Console: hover fill for rows, nav items and ghost buttons."
|
|
1334
|
-
},
|
|
1335
|
-
{
|
|
1336
|
-
"name": "color-surface-active",
|
|
1337
|
-
"variable": "--af-color-surface-active",
|
|
1338
|
-
"group": "layer-console",
|
|
1339
|
-
"light": "#eeedea",
|
|
1340
|
-
"dark": "#252421",
|
|
1341
|
-
"description": "Console: pressed and selected fills."
|
|
1342
|
-
},
|
|
1343
|
-
{
|
|
1344
|
-
"name": "color-line",
|
|
1345
|
-
"variable": "--af-color-line",
|
|
1346
|
-
"group": "layer-console",
|
|
1347
|
-
"light": "#e7e6e3",
|
|
1348
|
-
"dark": "#252421",
|
|
1349
|
-
"description": "Console: hairlines between rows, around the panel and cards. Decorative only."
|
|
1350
|
-
},
|
|
1351
|
-
{
|
|
1352
|
-
"name": "color-line-strong",
|
|
1353
|
-
"variable": "--af-color-line-strong",
|
|
1354
|
-
"group": "layer-console",
|
|
1355
|
-
"light": "#d6d4d0",
|
|
1356
|
-
"dark": "#373532",
|
|
1357
|
-
"description": "Console: grouping dividers, the receipt tear line, secondary button edges."
|
|
1358
|
-
},
|
|
1359
|
-
{
|
|
1360
|
-
"name": "color-control-border",
|
|
1361
|
-
"variable": "--af-color-control-border",
|
|
1362
|
-
"group": "layer-console",
|
|
1363
|
-
"light": "#888682",
|
|
1364
|
-
"dark": "#797772",
|
|
1365
|
-
"description": "Console: borders of inputs, checkboxes and radios. 3:1 or more on every console ground."
|
|
1366
|
-
},
|
|
1367
|
-
{
|
|
1368
|
-
"name": "color-ink",
|
|
1369
|
-
"variable": "--af-color-ink",
|
|
1370
|
-
"group": "layer-console",
|
|
1371
|
-
"light": "#1a1814",
|
|
1372
|
-
"dark": "#edebe7",
|
|
1373
|
-
"description": "Console: primary text and icons."
|
|
1374
|
-
},
|
|
1375
|
-
{
|
|
1376
|
-
"name": "color-ink-muted",
|
|
1377
|
-
"variable": "--af-color-ink-muted",
|
|
1378
|
-
"group": "layer-console",
|
|
1379
|
-
"light": "#605d59",
|
|
1380
|
-
"dark": "#bab7b2",
|
|
1381
|
-
"description": "Console: metadata, timings, column headers, placeholders. The lightest text allowed."
|
|
1382
|
-
},
|
|
1383
|
-
{
|
|
1384
|
-
"name": "color-ink-inverse",
|
|
1385
|
-
"variable": "--af-color-ink-inverse",
|
|
1386
|
-
"group": "layer-console",
|
|
1387
|
-
"light": "#ffffff",
|
|
1388
|
-
"dark": "#11100f",
|
|
1389
|
-
"description": "Console: derived from the overrides above."
|
|
1390
|
-
},
|
|
1391
|
-
{
|
|
1392
|
-
"name": "color-unknown",
|
|
1393
|
-
"variable": "--af-color-unknown",
|
|
1394
|
-
"group": "layer-console",
|
|
1395
|
-
"light": "#605d59",
|
|
1396
|
-
"dark": "#bab7b2",
|
|
1397
|
-
"description": "Console: derived from the overrides above."
|
|
1398
|
-
},
|
|
1399
|
-
{
|
|
1400
|
-
"name": "color-unknown-soft",
|
|
1401
|
-
"variable": "--af-color-unknown-soft",
|
|
1402
|
-
"group": "layer-console",
|
|
1403
|
-
"light": "#f7f6f3",
|
|
1404
|
-
"dark": "#0b0a08",
|
|
1405
|
-
"description": "Console: derived from the overrides above."
|
|
1406
|
-
},
|
|
1407
|
-
{
|
|
1408
|
-
"name": "color-unknown-line",
|
|
1409
|
-
"variable": "--af-color-unknown-line",
|
|
1410
|
-
"group": "layer-console",
|
|
1411
|
-
"light": "#d6d4d0",
|
|
1412
|
-
"dark": "#373532",
|
|
1413
|
-
"description": "Console: derived from the overrides above."
|
|
1414
|
-
},
|
|
1415
|
-
{
|
|
1416
|
-
"name": "color-unknown-solid",
|
|
1417
|
-
"variable": "--af-color-unknown-solid",
|
|
1418
|
-
"group": "layer-console",
|
|
1419
|
-
"light": "#888682",
|
|
1420
|
-
"dark": "#797772",
|
|
1421
|
-
"description": "Console: derived from the overrides above."
|
|
1422
|
-
},
|
|
1423
|
-
{
|
|
1424
|
-
"name": "shadow-sm",
|
|
1425
|
-
"variable": "--af-shadow-sm",
|
|
1426
|
-
"group": "layer-console",
|
|
1427
|
-
"light": "0 0 0 1px #e7e6e3, 0 1px 2px 0 #1d1a140f",
|
|
1428
|
-
"dark": "0 0 0 1px #252421",
|
|
1429
|
-
"description": "Console: derived from the overrides above."
|
|
1430
|
-
},
|
|
1431
|
-
{
|
|
1432
|
-
"name": "shadow-lg",
|
|
1433
|
-
"variable": "--af-shadow-lg",
|
|
1434
|
-
"group": "layer-console",
|
|
1435
|
-
"light": "0 0 0 1px #e7e6e3, 0 16px 40px -12px #1d1a1438",
|
|
1436
|
-
"dark": "0 0 0 1px #373532, 0 20px 48px -12px #000000b3",
|
|
1437
|
-
"description": "Console: derived from the overrides above."
|
|
1438
|
-
},
|
|
1439
|
-
{
|
|
1440
|
-
"name": "shadow-stamp",
|
|
1441
|
-
"variable": "--af-shadow-stamp",
|
|
1442
|
-
"group": "layer-console",
|
|
1443
|
-
"light": "0 0 0 0 #0000",
|
|
1444
|
-
"dark": "0 0 0 0 #0000",
|
|
1445
|
-
"description": "Console: no hard offset shadow."
|
|
1446
|
-
},
|
|
1447
|
-
{
|
|
1448
|
-
"name": "shadow-edge",
|
|
1449
|
-
"variable": "--af-shadow-edge",
|
|
1450
|
-
"group": "layer-console",
|
|
1451
|
-
"light": "inset 0 0 0 1px #d6d4d0, 0 1px 2px 0 #1d1a140f",
|
|
1452
|
-
"dark": "inset 0 0 0 1px #373532",
|
|
1453
|
-
"description": "Console: a 1px line-strong hairline around secondary buttons, plus a soft shadow in day shift."
|
|
1454
|
-
},
|
|
1455
|
-
{
|
|
1456
|
-
"name": "shadow-edge-primary",
|
|
1457
|
-
"variable": "--af-shadow-edge-primary",
|
|
1458
|
-
"group": "layer-console",
|
|
1459
|
-
"light": "inset 0 1px 0 0 #ffffff1f, 0 1px 2px 0 #0f3a9040",
|
|
1460
|
-
"dark": "inset 0 0 0 1px #3065cc",
|
|
1461
|
-
"description": "Console: primary buttons carry a soft shadow in day shift and no edge at night."
|
|
1462
|
-
},
|
|
1463
|
-
{
|
|
1464
|
-
"name": "shadow-focus-ring",
|
|
1465
|
-
"variable": "--af-shadow-focus-ring",
|
|
1466
|
-
"group": "layer-console",
|
|
1467
|
-
"light": "0 0 0 2px #ffffff, 0 0 0 4px #1e4eac",
|
|
1468
|
-
"dark": "0 0 0 2px #11100f, 0 0 0 4px #97bbfb",
|
|
1469
|
-
"description": "Console: derived from the overrides above."
|
|
1470
|
-
},
|
|
1471
|
-
{
|
|
1472
|
-
"name": "offset-press",
|
|
1473
|
-
"variable": "--af-offset-press",
|
|
1474
|
-
"group": "layer-console",
|
|
1475
|
-
"light": "0px",
|
|
1476
|
-
"dark": "0px",
|
|
1477
|
-
"description": "Console: buttons do not move when pressed."
|
|
1277
|
+
"description": "How far a button moves when pressed: the length of the stamp shadow. 0 in night shift."
|
|
1478
1278
|
}
|
|
1479
1279
|
]
|
package/package.json
CHANGED