@cahyo-dimas/freeday 3.21.0 → 3.23.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.
@@ -402,6 +402,7 @@
402
402
  --primary-400-rgb: 92,139,246;
403
403
  --primary-500-rgb: 52,103,236;
404
404
  --primary-600-rgb: 32,80,216;
405
+ --primary-700-rgb: 28,64,176;
405
406
  --red-400-rgb: 248,113,113;
406
407
  --red-600-rgb: 220,38,38;
407
408
  }
@@ -718,6 +719,11 @@
718
719
  --space-6: 1.25rem;
719
720
  --control-h: 2rem;
720
721
  }
722
+ /* Touch: the control height a thumb or a gloved finger hits reliably (44px), for an app used
723
+ * standing up or on the move. Spacing stays comfortable; a bigger target is not a looser layout. */
724
+ [data-density="touch"] {
725
+ --control-h: 2.75rem;
726
+ }
721
727
  /* ...and the way back out. Inheritance only runs downhill: once the root is compact every subtree is
722
728
  * compact, and before this rule existed a data-density="comfortable" wrapper matched nothing, so the
723
729
  * comment above was true in one direction only. An app that is dense overall and carries one region
@@ -1034,6 +1040,7 @@
1034
1040
  --primary-400-rgb: 92,139,246;
1035
1041
  --primary-500-rgb: 52,103,236;
1036
1042
  --primary-600-rgb: 32,80,216;
1043
+ --primary-700-rgb: 28,64,176;
1037
1044
  --color-on-primary: var(--neutral-0);
1038
1045
  --color-on-primary-rgb: var(--neutral-0-rgb);
1039
1046
  }
@@ -1049,6 +1056,7 @@
1049
1056
  --primary-400-rgb: 71,161,230;
1050
1057
  --primary-500-rgb: 26,134,220;
1051
1058
  --primary-600-rgb: 0,120,212;
1059
+ --primary-700-rgb: 0,97,172;
1052
1060
  --color-on-primary: var(--neutral-0);
1053
1061
  --color-on-primary-rgb: var(--neutral-0-rgb);
1054
1062
  }
@@ -1078,6 +1086,7 @@
1078
1086
  --primary-400-rgb: 96,165,250;
1079
1087
  --primary-500-rgb: 59,130,246;
1080
1088
  --primary-600-rgb: 37,99,235;
1089
+ --primary-700-rgb: 29,78,216;
1081
1090
  --color-on-primary: var(--neutral-0);
1082
1091
  --color-on-primary-rgb: var(--neutral-0-rgb);
1083
1092
  }
@@ -1107,6 +1116,7 @@
1107
1116
  --primary-400-rgb: 129,140,248;
1108
1117
  --primary-500-rgb: 99,102,241;
1109
1118
  --primary-600-rgb: 79,70,229;
1119
+ --primary-700-rgb: 67,56,202;
1110
1120
  --color-on-primary: var(--neutral-0);
1111
1121
  --color-on-primary-rgb: var(--neutral-0-rgb);
1112
1122
  }
@@ -1151,6 +1161,7 @@
1151
1161
  --primary-400-rgb: 167,139,250;
1152
1162
  --primary-500-rgb: 139,92,246;
1153
1163
  --primary-600-rgb: 124,58,237;
1164
+ --primary-700-rgb: 109,40,217;
1154
1165
  --color-on-primary: var(--neutral-0);
1155
1166
  --color-on-primary-rgb: var(--neutral-0-rgb);
1156
1167
  }
@@ -1195,6 +1206,7 @@
1195
1206
  --primary-400-rgb: 192,132,252;
1196
1207
  --primary-500-rgb: 168,85,247;
1197
1208
  --primary-600-rgb: 147,51,234;
1209
+ --primary-700-rgb: 126,34,206;
1198
1210
  --color-on-primary: var(--neutral-0);
1199
1211
  --color-on-primary-rgb: var(--neutral-0-rgb);
1200
1212
  }
@@ -1224,6 +1236,7 @@
1224
1236
  --primary-400-rgb: 232,121,249;
1225
1237
  --primary-500-rgb: 217,70,239;
1226
1238
  --primary-600-rgb: 192,38,211;
1239
+ --primary-700-rgb: 162,28,175;
1227
1240
  --color-on-primary: var(--neutral-0);
1228
1241
  --color-on-primary-rgb: var(--neutral-0-rgb);
1229
1242
  }
@@ -1253,6 +1266,7 @@
1253
1266
  --primary-400-rgb: 244,114,182;
1254
1267
  --primary-500-rgb: 236,72,153;
1255
1268
  --primary-600-rgb: 219,39,119;
1269
+ --primary-700-rgb: 190,24,93;
1256
1270
  --color-on-primary: var(--neutral-0);
1257
1271
  --color-on-primary-rgb: var(--neutral-0-rgb);
1258
1272
  }
@@ -1282,6 +1296,7 @@
1282
1296
  --primary-400-rgb: 251,113,133;
1283
1297
  --primary-500-rgb: 244,63,94;
1284
1298
  --primary-600-rgb: 225,29,72;
1299
+ --primary-700-rgb: 190,18,60;
1285
1300
  --color-on-primary: var(--neutral-0);
1286
1301
  --color-on-primary-rgb: var(--neutral-0-rgb);
1287
1302
  }
@@ -1311,6 +1326,21 @@
1311
1326
  --primary-400-rgb: 251,146,60;
1312
1327
  --primary-500-rgb: 249,115,22;
1313
1328
  --primary-600-rgb: 234,88,12;
1329
+ --primary-700-rgb: 194,65,12;
1330
+ --color-on-primary: var(--neutral-950);
1331
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1332
+ }
1333
+ @media (prefers-color-scheme: dark) {
1334
+ :root:not([data-theme="light"])[data-primary="orange"] {
1335
+ --color-on-primary: var(--neutral-950);
1336
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1337
+ }
1338
+ }
1339
+ [data-theme="dark"][data-primary="orange"] {
1340
+ --color-on-primary: var(--neutral-950);
1341
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1342
+ }
1343
+ [data-theme="light"][data-primary="orange"] {
1314
1344
  --color-on-primary: var(--neutral-950);
1315
1345
  --color-on-primary-rgb: var(--neutral-950-rgb);
1316
1346
  }
@@ -1326,6 +1356,21 @@
1326
1356
  --primary-400-rgb: 251,191,36;
1327
1357
  --primary-500-rgb: 245,158,11;
1328
1358
  --primary-600-rgb: 217,119,6;
1359
+ --primary-700-rgb: 180,83,9;
1360
+ --color-on-primary: var(--neutral-950);
1361
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1362
+ }
1363
+ @media (prefers-color-scheme: dark) {
1364
+ :root:not([data-theme="light"])[data-primary="amber"] {
1365
+ --color-on-primary: var(--neutral-950);
1366
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1367
+ }
1368
+ }
1369
+ [data-theme="dark"][data-primary="amber"] {
1370
+ --color-on-primary: var(--neutral-950);
1371
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1372
+ }
1373
+ [data-theme="light"][data-primary="amber"] {
1329
1374
  --color-on-primary: var(--neutral-950);
1330
1375
  --color-on-primary-rgb: var(--neutral-950-rgb);
1331
1376
  }
@@ -1341,6 +1386,7 @@
1341
1386
  --primary-400-rgb: 250,204,21;
1342
1387
  --primary-500-rgb: 234,179,8;
1343
1388
  --primary-600-rgb: 161,98,7;
1389
+ --primary-700-rgb: 133,77,14;
1344
1390
  --color-on-primary: var(--neutral-0);
1345
1391
  --color-on-primary-rgb: var(--neutral-0-rgb);
1346
1392
  }
@@ -1370,6 +1416,21 @@
1370
1416
  --primary-400-rgb: 163,230,53;
1371
1417
  --primary-500-rgb: 132,204,22;
1372
1418
  --primary-600-rgb: 101,163,13;
1419
+ --primary-700-rgb: 77,124,15;
1420
+ --color-on-primary: var(--neutral-950);
1421
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1422
+ }
1423
+ @media (prefers-color-scheme: dark) {
1424
+ :root:not([data-theme="light"])[data-primary="lime"] {
1425
+ --color-on-primary: var(--neutral-950);
1426
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1427
+ }
1428
+ }
1429
+ [data-theme="dark"][data-primary="lime"] {
1430
+ --color-on-primary: var(--neutral-950);
1431
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1432
+ }
1433
+ [data-theme="light"][data-primary="lime"] {
1373
1434
  --color-on-primary: var(--neutral-950);
1374
1435
  --color-on-primary-rgb: var(--neutral-950-rgb);
1375
1436
  }
@@ -1385,6 +1446,21 @@
1385
1446
  --primary-400-rgb: 74,222,128;
1386
1447
  --primary-500-rgb: 34,197,94;
1387
1448
  --primary-600-rgb: 22,163,74;
1449
+ --primary-700-rgb: 21,128,61;
1450
+ --color-on-primary: var(--neutral-950);
1451
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1452
+ }
1453
+ @media (prefers-color-scheme: dark) {
1454
+ :root:not([data-theme="light"])[data-primary="green"] {
1455
+ --color-on-primary: var(--neutral-950);
1456
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1457
+ }
1458
+ }
1459
+ [data-theme="dark"][data-primary="green"] {
1460
+ --color-on-primary: var(--neutral-950);
1461
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1462
+ }
1463
+ [data-theme="light"][data-primary="green"] {
1388
1464
  --color-on-primary: var(--neutral-950);
1389
1465
  --color-on-primary-rgb: var(--neutral-950-rgb);
1390
1466
  }
@@ -1400,6 +1476,21 @@
1400
1476
  --primary-400-rgb: 52,211,153;
1401
1477
  --primary-500-rgb: 16,185,129;
1402
1478
  --primary-600-rgb: 5,150,105;
1479
+ --primary-700-rgb: 4,120,87;
1480
+ --color-on-primary: var(--neutral-950);
1481
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1482
+ }
1483
+ @media (prefers-color-scheme: dark) {
1484
+ :root:not([data-theme="light"])[data-primary="emerald"] {
1485
+ --color-on-primary: var(--neutral-950);
1486
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1487
+ }
1488
+ }
1489
+ [data-theme="dark"][data-primary="emerald"] {
1490
+ --color-on-primary: var(--neutral-950);
1491
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1492
+ }
1493
+ [data-theme="light"][data-primary="emerald"] {
1403
1494
  --color-on-primary: var(--neutral-950);
1404
1495
  --color-on-primary-rgb: var(--neutral-950-rgb);
1405
1496
  }
@@ -1415,6 +1506,21 @@
1415
1506
  --primary-400-rgb: 45,212,191;
1416
1507
  --primary-500-rgb: 20,184,166;
1417
1508
  --primary-600-rgb: 13,148,136;
1509
+ --primary-700-rgb: 15,118,110;
1510
+ --color-on-primary: var(--neutral-950);
1511
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1512
+ }
1513
+ @media (prefers-color-scheme: dark) {
1514
+ :root:not([data-theme="light"])[data-primary="teal"] {
1515
+ --color-on-primary: var(--neutral-950);
1516
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1517
+ }
1518
+ }
1519
+ [data-theme="dark"][data-primary="teal"] {
1520
+ --color-on-primary: var(--neutral-950);
1521
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1522
+ }
1523
+ [data-theme="light"][data-primary="teal"] {
1418
1524
  --color-on-primary: var(--neutral-950);
1419
1525
  --color-on-primary-rgb: var(--neutral-950-rgb);
1420
1526
  }
@@ -1430,6 +1536,21 @@
1430
1536
  --primary-400-rgb: 34,211,238;
1431
1537
  --primary-500-rgb: 6,182,212;
1432
1538
  --primary-600-rgb: 8,145,178;
1539
+ --primary-700-rgb: 14,116,144;
1540
+ --color-on-primary: var(--neutral-950);
1541
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1542
+ }
1543
+ @media (prefers-color-scheme: dark) {
1544
+ :root:not([data-theme="light"])[data-primary="cyan"] {
1545
+ --color-on-primary: var(--neutral-950);
1546
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1547
+ }
1548
+ }
1549
+ [data-theme="dark"][data-primary="cyan"] {
1550
+ --color-on-primary: var(--neutral-950);
1551
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1552
+ }
1553
+ [data-theme="light"][data-primary="cyan"] {
1433
1554
  --color-on-primary: var(--neutral-950);
1434
1555
  --color-on-primary-rgb: var(--neutral-950-rgb);
1435
1556
  }
@@ -1445,6 +1566,7 @@
1445
1566
  --primary-400-rgb: var(--neutral-700-rgb);
1446
1567
  --primary-500-rgb: var(--neutral-800-rgb);
1447
1568
  --primary-600-rgb: var(--neutral-900-rgb);
1569
+ --primary-700-rgb: var(--neutral-800-rgb);
1448
1570
  --color-on-primary: var(--neutral-0);
1449
1571
  --color-on-primary-rgb: var(--neutral-0-rgb);
1450
1572
  }
@@ -1461,6 +1583,7 @@
1461
1583
  --primary-400-rgb: var(--neutral-200-rgb);
1462
1584
  --primary-500-rgb: var(--neutral-100-rgb);
1463
1585
  --primary-600-rgb: var(--neutral-50-rgb);
1586
+ --primary-700-rgb: var(--neutral-200-rgb);
1464
1587
  --color-on-primary: var(--neutral-950);
1465
1588
  --color-on-primary-rgb: var(--neutral-950-rgb);
1466
1589
  }
@@ -1477,6 +1600,7 @@
1477
1600
  --primary-400-rgb: var(--neutral-200-rgb);
1478
1601
  --primary-500-rgb: var(--neutral-100-rgb);
1479
1602
  --primary-600-rgb: var(--neutral-50-rgb);
1603
+ --primary-700-rgb: var(--neutral-200-rgb);
1480
1604
  --color-on-primary: var(--neutral-950);
1481
1605
  --color-on-primary-rgb: var(--neutral-950-rgb);
1482
1606
  }
@@ -1492,8 +1616,222 @@
1492
1616
  --primary-400-rgb: var(--neutral-700-rgb);
1493
1617
  --primary-500-rgb: var(--neutral-800-rgb);
1494
1618
  --primary-600-rgb: var(--neutral-900-rgb);
1619
+ --primary-700-rgb: var(--neutral-800-rgb);
1620
+ --color-on-primary: var(--neutral-0);
1621
+ --color-on-primary-rgb: var(--neutral-0-rgb);
1622
+ }
1623
+ /* Primary fill sub-axis, see $primaryFill in tokens.json. */
1624
+ [data-primary-fill="deep"] {
1625
+ --color-primary: var(--primary-700);
1626
+ --color-primary-hover: var(--primary-800);
1627
+ --color-primary-active: var(--primary-800);
1628
+ --color-primary-strong: var(--primary-800);
1629
+ --color-primary-rgb: var(--primary-700-rgb);
1630
+ --focus-ring: var(--primary-700);
1631
+ --color-on-primary: var(--neutral-0);
1632
+ --color-on-primary-rgb: var(--neutral-0-rgb);
1633
+ }
1634
+ @media (prefers-color-scheme: dark) {
1635
+ :root:not([data-theme="light"])[data-primary-fill="deep"] {
1636
+ --color-primary: var(--primary-500);
1637
+ --color-primary-hover: var(--primary-400);
1638
+ --color-primary-active: var(--primary-300);
1639
+ --color-primary-strong: var(--primary-300);
1640
+ --color-primary-rgb: var(--primary-500-rgb);
1641
+ --focus-ring: var(--primary-400);
1495
1642
  --color-on-primary: var(--neutral-0);
1496
1643
  --color-on-primary-rgb: var(--neutral-0-rgb);
1644
+ }
1645
+ }
1646
+ [data-theme="dark"][data-primary-fill="deep"] {
1647
+ --color-primary: var(--primary-500);
1648
+ --color-primary-hover: var(--primary-400);
1649
+ --color-primary-active: var(--primary-300);
1650
+ --color-primary-strong: var(--primary-300);
1651
+ --color-primary-rgb: var(--primary-500-rgb);
1652
+ --focus-ring: var(--primary-400);
1653
+ --color-on-primary: var(--neutral-0);
1654
+ --color-on-primary-rgb: var(--neutral-0-rgb);
1655
+ }
1656
+ [data-theme="light"][data-primary-fill="deep"] {
1657
+ --color-primary: var(--primary-700);
1658
+ --color-primary-hover: var(--primary-800);
1659
+ --color-primary-active: var(--primary-800);
1660
+ --color-primary-strong: var(--primary-800);
1661
+ --color-primary-rgb: var(--primary-700-rgb);
1662
+ --focus-ring: var(--primary-700);
1663
+ --color-on-primary: var(--neutral-0);
1664
+ --color-on-primary-rgb: var(--neutral-0-rgb);
1665
+ }
1666
+ @media (prefers-color-scheme: dark) {
1667
+ :root:not([data-theme="light"])[data-primary="sky"][data-primary-fill="deep"] {
1668
+ --color-on-primary: var(--neutral-950);
1669
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1670
+ }
1671
+ }
1672
+ [data-theme="dark"][data-primary="sky"][data-primary-fill="deep"] {
1673
+ --color-on-primary: var(--neutral-950);
1674
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1675
+ }
1676
+ @media (prefers-color-scheme: dark) {
1677
+ :root:not([data-theme="light"])[data-primary="blue"][data-primary-fill="deep"] {
1678
+ --color-on-primary: var(--neutral-950);
1679
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1680
+ }
1681
+ }
1682
+ [data-theme="dark"][data-primary="blue"][data-primary-fill="deep"] {
1683
+ --color-on-primary: var(--neutral-950);
1684
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1685
+ }
1686
+ @media (prefers-color-scheme: dark) {
1687
+ :root:not([data-theme="light"])[data-primary="indigo"][data-primary-fill="deep"] {
1688
+ --color-on-primary: var(--neutral-950);
1689
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1690
+ }
1691
+ }
1692
+ [data-theme="dark"][data-primary="indigo"][data-primary-fill="deep"] {
1693
+ --color-on-primary: var(--neutral-950);
1694
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1695
+ }
1696
+ @media (prefers-color-scheme: dark) {
1697
+ :root:not([data-theme="light"])[data-primary="violet"][data-primary-fill="deep"] {
1698
+ --color-on-primary: var(--neutral-950);
1699
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1700
+ }
1701
+ }
1702
+ [data-theme="dark"][data-primary="violet"][data-primary-fill="deep"] {
1703
+ --color-on-primary: var(--neutral-950);
1704
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1705
+ }
1706
+ @media (prefers-color-scheme: dark) {
1707
+ :root:not([data-theme="light"])[data-primary="purple"][data-primary-fill="deep"] {
1708
+ --color-on-primary: var(--neutral-950);
1709
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1710
+ }
1711
+ }
1712
+ [data-theme="dark"][data-primary="purple"][data-primary-fill="deep"] {
1713
+ --color-on-primary: var(--neutral-950);
1714
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1715
+ }
1716
+ @media (prefers-color-scheme: dark) {
1717
+ :root:not([data-theme="light"])[data-primary="fuchsia"][data-primary-fill="deep"] {
1718
+ --color-on-primary: var(--neutral-950);
1719
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1720
+ }
1721
+ }
1722
+ [data-theme="dark"][data-primary="fuchsia"][data-primary-fill="deep"] {
1723
+ --color-on-primary: var(--neutral-950);
1724
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1725
+ }
1726
+ @media (prefers-color-scheme: dark) {
1727
+ :root:not([data-theme="light"])[data-primary="pink"][data-primary-fill="deep"] {
1728
+ --color-on-primary: var(--neutral-950);
1729
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1730
+ }
1731
+ }
1732
+ [data-theme="dark"][data-primary="pink"][data-primary-fill="deep"] {
1733
+ --color-on-primary: var(--neutral-950);
1734
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1735
+ }
1736
+ @media (prefers-color-scheme: dark) {
1737
+ :root:not([data-theme="light"])[data-primary="rose"][data-primary-fill="deep"] {
1738
+ --color-on-primary: var(--neutral-950);
1739
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1740
+ }
1741
+ }
1742
+ [data-theme="dark"][data-primary="rose"][data-primary-fill="deep"] {
1743
+ --color-on-primary: var(--neutral-950);
1744
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1745
+ }
1746
+ @media (prefers-color-scheme: dark) {
1747
+ :root:not([data-theme="light"])[data-primary="orange"][data-primary-fill="deep"] {
1748
+ --color-on-primary: var(--neutral-950);
1749
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1750
+ }
1751
+ }
1752
+ [data-theme="dark"][data-primary="orange"][data-primary-fill="deep"] {
1753
+ --color-on-primary: var(--neutral-950);
1754
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1755
+ }
1756
+ @media (prefers-color-scheme: dark) {
1757
+ :root:not([data-theme="light"])[data-primary="amber"][data-primary-fill="deep"] {
1758
+ --color-on-primary: var(--neutral-950);
1759
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1760
+ }
1761
+ }
1762
+ [data-theme="dark"][data-primary="amber"][data-primary-fill="deep"] {
1763
+ --color-on-primary: var(--neutral-950);
1764
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1765
+ }
1766
+ @media (prefers-color-scheme: dark) {
1767
+ :root:not([data-theme="light"])[data-primary="yellow"][data-primary-fill="deep"] {
1768
+ --color-on-primary: var(--neutral-950);
1769
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1770
+ }
1771
+ }
1772
+ [data-theme="dark"][data-primary="yellow"][data-primary-fill="deep"] {
1773
+ --color-on-primary: var(--neutral-950);
1774
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1775
+ }
1776
+ @media (prefers-color-scheme: dark) {
1777
+ :root:not([data-theme="light"])[data-primary="lime"][data-primary-fill="deep"] {
1778
+ --color-on-primary: var(--neutral-950);
1779
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1780
+ }
1781
+ }
1782
+ [data-theme="dark"][data-primary="lime"][data-primary-fill="deep"] {
1783
+ --color-on-primary: var(--neutral-950);
1784
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1785
+ }
1786
+ @media (prefers-color-scheme: dark) {
1787
+ :root:not([data-theme="light"])[data-primary="green"][data-primary-fill="deep"] {
1788
+ --color-on-primary: var(--neutral-950);
1789
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1790
+ }
1791
+ }
1792
+ [data-theme="dark"][data-primary="green"][data-primary-fill="deep"] {
1793
+ --color-on-primary: var(--neutral-950);
1794
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1795
+ }
1796
+ @media (prefers-color-scheme: dark) {
1797
+ :root:not([data-theme="light"])[data-primary="emerald"][data-primary-fill="deep"] {
1798
+ --color-on-primary: var(--neutral-950);
1799
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1800
+ }
1801
+ }
1802
+ [data-theme="dark"][data-primary="emerald"][data-primary-fill="deep"] {
1803
+ --color-on-primary: var(--neutral-950);
1804
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1805
+ }
1806
+ @media (prefers-color-scheme: dark) {
1807
+ :root:not([data-theme="light"])[data-primary="teal"][data-primary-fill="deep"] {
1808
+ --color-on-primary: var(--neutral-950);
1809
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1810
+ }
1811
+ }
1812
+ [data-theme="dark"][data-primary="teal"][data-primary-fill="deep"] {
1813
+ --color-on-primary: var(--neutral-950);
1814
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1815
+ }
1816
+ @media (prefers-color-scheme: dark) {
1817
+ :root:not([data-theme="light"])[data-primary="cyan"][data-primary-fill="deep"] {
1818
+ --color-on-primary: var(--neutral-950);
1819
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1820
+ }
1821
+ }
1822
+ [data-theme="dark"][data-primary="cyan"][data-primary-fill="deep"] {
1823
+ --color-on-primary: var(--neutral-950);
1824
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1825
+ }
1826
+ @media (prefers-color-scheme: dark) {
1827
+ :root:not([data-theme="light"])[data-primary="noir"][data-primary-fill="deep"] {
1828
+ --color-on-primary: var(--neutral-950);
1829
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1830
+ }
1831
+ }
1832
+ [data-theme="dark"][data-primary="noir"][data-primary-fill="deep"] {
1833
+ --color-on-primary: var(--neutral-950);
1834
+ --color-on-primary-rgb: var(--neutral-950-rgb);
1497
1835
  }
1498
1836
 
1499
1837
  /* Freeday components. GENERATED by tokens/build.mjs. Do not edit by hand. */
@@ -1587,6 +1925,75 @@ a { color: var(--color-primary-strong); }
1587
1925
  * browser without JS, so we animate the revealed panel instead, cheap, safe, reduced-motion gated. */
1588
1926
  @media (prefers-reduced-motion:no-preference){.fdy-accordion__item[open] > .fdy-accordion__panel{animation:fdy-combo-in var(--dur-base) var(--ease-standard);}}
1589
1927
 
1928
+ /* Freeday. Action bar
1929
+ *
1930
+ * One to three actions pinned to the bottom of the screen, where a thumb reaches them on a phone:
1931
+ * the sign-in button, approve and reject on a document, save on a long form. Before this, an app
1932
+ * either put its primary action mid-page, where it scrolled away, or hand-wrote a fixed bar that
1933
+ * sat on top of the bottom nav.
1934
+ *
1935
+ * Sticky, not fixed: the bar keeps its place in the flow, so the last row above it is never
1936
+ * covered and the page needs no extra reservation. In a shell with a bottom nav it rests on top of
1937
+ * the nav; anywhere else it clears the home indicator itself. */
1938
+ .fdy-actionbar{
1939
+ position:sticky;bottom:0;z-index:40;
1940
+ display:flex;gap:var(--space-2);
1941
+ padding:var(--space-3) var(--space-4);
1942
+ padding-bottom:calc(var(--space-3) + env(safe-area-inset-bottom,0px));
1943
+ background:var(--color-surface-raised);
1944
+ backdrop-filter:var(--surface-filter);
1945
+ -webkit-backdrop-filter:var(--surface-filter);
1946
+ border-top:var(--bw) solid var(--color-border);
1947
+ }
1948
+ /* The buttons share the width; the primary action goes last, nearest the thumb. */
1949
+ .fdy-actionbar > .fdy-btn{flex:1 1 0;min-width:0;}
1950
+ /* Sticky is bounded by its parent, and `.fdy-app__main` has bottom padding that sits below the bar,
1951
+ * so at the end of the page the bar would stop short of the edge by that padding. A negative bottom
1952
+ * margin cancels it when the bar is the last child (no :has(), the support floor includes iOS 15).
1953
+ * The bar may also sit one wrapper down, in a page wrapper such as `.fdy-page`. Sticky is then
1954
+ * bounded by the wrapper, so the wrapper must be the last in-flow content of main and its content
1955
+ * box must end where main's does: no bottom padding, border or margin of its own (`.fdy-page` has
1956
+ * none). A closed dialog and the fixed bottom nav take no room in the flow, so they may follow it.
1957
+ * A dialog or drawer is not a wrapper: a bar inside a modal is not offset at any depth.
1958
+ * Values mirror app-shell.css: main's padding is --space-8, and --space-5 at max-width 720px. */
1959
+ .fdy-app__main > .fdy-actionbar:last-child,
1960
+ .fdy-app__main > :not(dialog):not(.fdy-drawer) > .fdy-actionbar:last-child{margin-bottom:calc(-1 * var(--space-8));}
1961
+ @media (max-width:720px){
1962
+ .fdy-app__main > .fdy-actionbar:last-child,
1963
+ .fdy-app__main > :not(dialog):not(.fdy-drawer) > .fdy-actionbar:last-child{margin-bottom:calc(-1 * var(--space-5));}
1964
+ /* On a phone the bar runs edge to edge, like the nav it rests on: inset by main's side padding
1965
+ * it would leave a strip of scrolling content showing on either side. The same depth rule
1966
+ * holds: a wrapper between main and the bar must add no side padding, border or margin. The
1967
+ * landscape notch is cleared by the bar's own padding. */
1968
+ .fdy-app__main > .fdy-actionbar,
1969
+ .fdy-app__main > :not(dialog):not(.fdy-drawer) > .fdy-actionbar{
1970
+ margin-inline:calc(-1 * var(--space-5));
1971
+ padding-left:calc(var(--space-4) + env(safe-area-inset-left,0px));
1972
+ padding-right:calc(var(--space-4) + env(safe-area-inset-right,0px));
1973
+ }
1974
+ }
1975
+ /* Above the bottom nav: --fdy-bottomnav-h is declared, and obeyed, in bottomnav.css. The nav adds
1976
+ * the safe-area inset itself, so the bar rests on all of it and does not add the inset twice. */
1977
+ @media (max-width:720px){
1978
+ .fdy-app--has-bottomnav .fdy-app__main .fdy-actionbar{
1979
+ bottom:calc(var(--fdy-bottomnav-h) + env(safe-area-inset-bottom,0px));
1980
+ padding-bottom:var(--space-3);
1981
+ }
1982
+ /* A modal or drawer is its own screen: its bar sits at its own bottom, whatever the depth. */
1983
+ .fdy-app--has-bottomnav .fdy-app__main :is(dialog, .fdy-drawer) .fdy-actionbar{
1984
+ bottom:0;
1985
+ padding-bottom:calc(var(--space-3) + env(safe-area-inset-bottom,0px));
1986
+ }
1987
+ /* In the nav shell main's padding is --space-20 + inset (bottomnav.css) and the nav is
1988
+ * --fdy-bottomnav-h + inset tall. What must remain below the bar is exactly the nav, so the
1989
+ * bar ends on the nav at the end of the page and is not pushed up over the last row. The
1990
+ * insets cancel. */
1991
+ .fdy-app--has-bottomnav .fdy-app__main > .fdy-actionbar:last-child,
1992
+ .fdy-app--has-bottomnav .fdy-app__main > :not(dialog):not(.fdy-drawer) > .fdy-actionbar:last-child{
1993
+ margin-bottom:calc(var(--fdy-bottomnav-h) - var(--space-20));
1994
+ }
1995
+ }
1996
+
1590
1997
  /* Freeday. Alert (inline) */
1591
1998
  .fdy-alert{display:flex;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);border:var(--bw) solid var(--color-border);font-size:var(--text-sm);color:var(--color-text);background:var(--color-surface-2);}
1592
1999
  .fdy-alert__icon{flex:none;display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;margin-top:.05rem;}
@@ -1925,8 +2332,16 @@ a { color: var(--color-primary-strong); }
1925
2332
  *
1926
2333
  * Deliberately NOT part of `.fdy-app`'s markup: it is `position:fixed`, so it works from
1927
2334
  * anywhere inside the shell's content slot, and an application that does not want one
1928
- * pays nothing. `.fdy-app--has-bottomnav` on the shell is what reserves room for it. */
2335
+ * pays nothing. `.fdy-app--has-bottomnav` on the shell is what reserves room for it and states
2336
+ * the bar's height, `--fdy-bottomnav-h`, which the bar is sized by. */
1929
2337
  .fdy-bottomnav{display:none;}
2338
+ /* The bar's height, stated once so anything resting on the bar (the action bar) reads the same
2339
+ * number the bar is drawn with: a 44px item, the vertical padding, the top hairline. Before this
2340
+ * the height was only implied, and an item's icon and label made it 0.39px taller than the sum,
2341
+ * more with a taller app font. The safe-area inset is added where it is used, not here. The
2342
+ * price of a stated height: with a taller app font the label may overflow into the nav's bottom
2343
+ * padding instead of growing it. */
2344
+ .fdy-app--has-bottomnav{--fdy-bottomnav-h:calc(2.75rem + 2 * var(--space-2) + var(--bw));}
1930
2345
  @media (max-width:720px){
1931
2346
  .fdy-bottomnav{
1932
2347
  display:flex;position:fixed;left:0;right:0;bottom:0;z-index:50;
@@ -1940,6 +2355,8 @@ a { color: var(--color-primary-strong); }
1940
2355
  backdrop-filter:var(--surface-filter);
1941
2356
  -webkit-backdrop-filter:var(--surface-filter);
1942
2357
  border-top:var(--bw) solid var(--color-border);
2358
+ box-sizing:border-box;
2359
+ height:calc(var(--fdy-bottomnav-h,auto) + env(safe-area-inset-bottom,0px));
1943
2360
  }
1944
2361
  /* Room for the bar, or the last row of every list on every screen sits under it -- and
1945
2362
  a row you cannot scroll to is a row nobody knows is there. */
@@ -3072,6 +3489,21 @@ fieldset.fdy-field>legend{padding:0;float:none;margin-bottom:var(--space-2);}
3072
3489
  /* Freeday. Keyboard key */
3073
3490
  .fdy-kbd{display:inline-flex;align-items:center;justify-content:center;min-width:1.5rem;height:1.5rem;padding:0 var(--space-2);font-family:var(--font-mono);font-size:var(--text-xs);color:var(--color-text);background:var(--color-surface-2);border:var(--bw) solid var(--color-border-strong);border-bottom-width:2px;border-radius:var(--radius-sm);}
3074
3491
 
3492
+ /* Freeday. Text link
3493
+ * A bare `<a>` is already a link here: base.css paints it `--color-primary-strong` and the browser
3494
+ * underlines it. `.fdy-link` names that look so it can be found in COMPONENTS.md, sets the underline
3495
+ * the same way in every browser, and is the base the muted variant modifies.
3496
+ *
3497
+ * The underline stays in both, at rest. A link told apart by colour alone fails WCAG 1.4.1, and in
3498
+ * the muted variant there is no colour to tell it by. Hover thickens it; focus is base.css's ring. */
3499
+ .fdy-link{color:var(--color-primary-strong);text-decoration-line:underline;text-underline-offset:.2em;text-decoration-thickness:.06em;}
3500
+ .fdy-link:hover{text-decoration-thickness:.12em;}
3501
+ /* For a column of names that each open their own record: a table of accounts, each linking to its
3502
+ ledger. Twenty primary-coloured links in one column outweigh the numbers beside them. The text
3503
+ ink with a muted underline keeps every name reading as a link without competing with the data. */
3504
+ .fdy-link--muted{color:var(--color-text);text-decoration-color:var(--color-text-muted);}
3505
+ .fdy-link--muted:hover{color:var(--color-primary-strong);text-decoration-color:currentColor;}
3506
+
3075
3507
  /* Freeday. List: the FLAT row container.
3076
3508
  *
3077
3509
  * USAGE.md §3 puts list rows among the surfaces that should be flat, but until now the only
@@ -3606,6 +4038,44 @@ fieldset.fdy-field>legend{padding:0;float:none;margin-bottom:var(--space-2);}
3606
4038
  .fdy-tabs--vertical .fdy-tabs__tab[aria-selected="true"],.fdy-tabs--vertical .fdy-tabs__tab[aria-current="page"]{background:var(--color-primary-soft);color:var(--color-primary-strong);font-weight:var(--weight-semibold);}
3607
4039
  .fdy-tabs--vertical .fdy-tabs__panel{flex:1;min-width:0;padding:0;}
3608
4040
 
4041
+ /* PICKER IN A NARROW CONTAINER: `.fdy-tabs--picker-narrow`, opt-in, on either variant.
4042
+ *
4043
+ * At 40rem of its own width or less, the tab list gives way to `.fdy-tabs__picker`, a wrapper
4044
+ * holding one combo of the same sections. Six tabs with real labels do not fit a phone as a strip,
4045
+ * and as a column they fill the screen before the panel starts. A container query rather than a
4046
+ * viewport one, because the same tabs can sit in a page or in a 20rem drawer.
4047
+ *
4048
+ * The list is hidden only through `.fdy-tabs__picker ~ .fdy-tabs__list`, so the picker has to come
4049
+ * BEFORE the list, and tabs with no picker in them keep their list at every width: the class alone
4050
+ * can never leave a screen with no way between its sections. On the raw path freeday-tabs.js builds
4051
+ * the picker; in a typed stack it is a `FdyCombo` bound to the same state as the tabs.
4052
+ *
4053
+ * `flex-wrap` is what makes the vertical variant work: a container query styles what is inside the
4054
+ * container, never the container itself, so `.fdy-tabs--vertical` stays a flex row. The picker takes
4055
+ * a whole line and the panel wraps under it. While the list shows, the panel's `min-width:0` means it
4056
+ * never wraps.
4057
+ *
4058
+ * 40rem: a column of labels and a panel worth reading do not both fit under it. Below Safari 16
4059
+ * there are no container queries, and the same body applies by viewport width instead; that answers
4060
+ * every phone, and leaves tabs in a narrow drawer on a wide screen as lists. The two bodies are
4061
+ * copies, compared in test/baseline.test.mjs. */
4062
+ .fdy-tabs__picker{display:none;}
4063
+ .fdy-tabs--picker-narrow{flex-wrap:wrap;}
4064
+ .fdy-tabs__picker > .fdy-combo{max-width:none;}
4065
+ @supports (container-type:inline-size){
4066
+ .fdy-tabs--picker-narrow{container:fdy-tabs / inline-size;}
4067
+ @container fdy-tabs (max-width: 40rem){
4068
+ .fdy-tabs--picker-narrow > .fdy-tabs__picker{display:block;flex:0 0 100%;}
4069
+ .fdy-tabs--picker-narrow > .fdy-tabs__picker ~ .fdy-tabs__list{display:none;}
4070
+ }
4071
+ }
4072
+ @supports not (container-type:inline-size){
4073
+ @media (max-width:40rem){
4074
+ .fdy-tabs--picker-narrow > .fdy-tabs__picker{display:block;flex:0 0 100%;}
4075
+ .fdy-tabs--picker-narrow > .fdy-tabs__picker ~ .fdy-tabs__list{display:none;}
4076
+ }
4077
+ }
4078
+
3609
4079
  /* Freeday. Timeline (vertical event feed: dot markers on a connector line). Pure CSS. */
3610
4080
  .fdy-timeline{list-style:none;margin:0;padding:0;}
3611
4081
  .fdy-timeline__item{position:relative;padding:0 0 var(--space-5) var(--space-6);border-left:2px solid var(--color-border);}