@lilydesignsystem/themes 0.5.0 → 0.6.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.
Files changed (58) hide show
  1. package/dist/abyss.css +338 -9
  2. package/dist/acid.css +338 -9
  3. package/dist/adobe-spectrum.css +338 -9
  4. package/dist/ant-design.css +338 -9
  5. package/dist/aqua.css +338 -9
  6. package/dist/atlassian.css +338 -9
  7. package/dist/autumn.css +338 -9
  8. package/dist/black.css +338 -9
  9. package/dist/bumblebee.css +338 -9
  10. package/dist/business.css +338 -9
  11. package/dist/cappuccino.css +338 -9
  12. package/dist/caramellatte.css +338 -9
  13. package/dist/cmyk.css +338 -9
  14. package/dist/coffee.css +338 -9
  15. package/dist/corporate.css +338 -9
  16. package/dist/cupcake.css +338 -9
  17. package/dist/cyberpunk.css +338 -9
  18. package/dist/dark.css +338 -9
  19. package/dist/dim.css +338 -9
  20. package/dist/dracula.css +338 -9
  21. package/dist/emerald.css +338 -9
  22. package/dist/excel.css +338 -9
  23. package/dist/fantasy.css +338 -9
  24. package/dist/fluent.css +338 -9
  25. package/dist/forest.css +338 -9
  26. package/dist/garden.css +338 -9
  27. package/dist/github-primer.css +338 -9
  28. package/dist/halloween.css +338 -9
  29. package/dist/ibm-carbon.css +338 -9
  30. package/dist/lemonade.css +338 -9
  31. package/dist/light.css +338 -9
  32. package/dist/linear.css +338 -9
  33. package/dist/lofi.css +338 -9
  34. package/dist/luxury.css +338 -9
  35. package/dist/mozilla-protocol.css +338 -9
  36. package/dist/night.css +338 -9
  37. package/dist/nord.css +338 -9
  38. package/dist/notion.css +338 -9
  39. package/dist/pastel.css +338 -9
  40. package/dist/retro.css +338 -9
  41. package/dist/salesforce.css +338 -9
  42. package/dist/sap-fiori.css +338 -9
  43. package/dist/silk.css +338 -9
  44. package/dist/sunset.css +338 -9
  45. package/dist/synthwave.css +338 -9
  46. package/dist/united-kingdom-government-digital-service.css +338 -9
  47. package/dist/united-kingdom-national-health-service-england-for-patients.css +338 -9
  48. package/dist/united-kingdom-national-health-service-england-for-practitioners.css +338 -9
  49. package/dist/united-kingdom-national-health-service-scotland-for-patients.css +338 -9
  50. package/dist/united-kingdom-national-health-service-scotland-for-practitioners.css +338 -9
  51. package/dist/united-kingdom-national-health-service-wales-for-patients.css +340 -11
  52. package/dist/united-kingdom-national-health-service-wales-for-practitioners.css +340 -11
  53. package/dist/united-states-web-design-system.css +338 -9
  54. package/dist/valentine.css +338 -9
  55. package/dist/vercel.css +338 -9
  56. package/dist/winter.css +338 -9
  57. package/dist/wireframe.css +338 -9
  58. package/package.json +2 -2
@@ -1072,7 +1072,7 @@
1072
1072
  color: var(--lily-text-muted);
1073
1073
  }
1074
1074
  /* Final crumb (the current page) — muted because it isn't a link. */
1075
- :where(.breadcrumb-list-item[aria-current="page"]) {
1075
+ :where(.breadcrumb-list-item[data-current], .breadcrumb-list-item[aria-current="page"]) {
1076
1076
  color: var(--lily-text-muted);
1077
1077
  }
1078
1078
 
@@ -1344,11 +1344,114 @@
1344
1344
  background-color: var(--color-primary);
1345
1345
  color: var(--color-primary-content);
1346
1346
  }
1347
- /* Today — outlined rather than filled, so a selected non-today date
1348
- still reads as the "selected" one. */
1347
+ /* Today — outlined and bold, never filled, so a selected non-today date still
1348
+ reads as "selected". The ring takes the cell's own text colour (currentColor),
1349
+ so it holds its contrast on a light page, a dark page and a selected cell
1350
+ alike, and the bold number says it without colour. */
1349
1351
  :where(.calendar-table-td[aria-current="date"]) {
1350
- outline: 2px solid var(--color-primary);
1351
- outline-offset: -2px;
1352
+ outline: 2px solid currentColor;
1353
+ outline-offset: -3px;
1354
+ font-weight: 700;
1355
+ }
1356
+ /* Fit a phone: day cells shrink and wrap instead of forcing the grid wider. */
1357
+ :where(.calendar-table) {
1358
+ table-layout: fixed;
1359
+ }
1360
+ :where(.calendar-table-td, .calendar-table-th) {
1361
+ min-width: 0;
1362
+ overflow-wrap: anywhere;
1363
+ }
1364
+
1365
+ /* --- Data grid: toolbar, sorting, pagination, column visibility, pinned columns ----- */
1366
+ :where(.data-grid-toolbar) {
1367
+ display: flex;
1368
+ flex-wrap: wrap;
1369
+ gap: var(--lily-space-sm);
1370
+ align-items: center;
1371
+ margin-block-end: var(--lily-space-sm);
1372
+ }
1373
+ :where(.data-grid-search, .data-grid-search-field) {
1374
+ padding: var(--lily-space-xs) var(--lily-space-sm);
1375
+ border: var(--border) solid var(--lily-border);
1376
+ border-radius: var(--lily-radius-sm);
1377
+ background-color: var(--lily-surface);
1378
+ color: var(--lily-text);
1379
+ font: inherit;
1380
+ }
1381
+ /* A sortable header is a button that looks like its text; the arrow follows aria-sort,
1382
+ so the state is in the markup for assistive technology and on screen for everyone. */
1383
+ :where(.data-grid-sort-button) {
1384
+ padding: 0;
1385
+ border: 0;
1386
+ background: none;
1387
+ color: inherit;
1388
+ font: inherit;
1389
+ text-align: start;
1390
+ cursor: pointer;
1391
+ }
1392
+ :where(.data-grid-sort-button:focus-visible) {
1393
+ outline: 2px solid var(--color-accent);
1394
+ outline-offset: 2px;
1395
+ }
1396
+ :where([aria-sort="none"] .data-grid-sort-button)::after {
1397
+ content: " \21C5";
1398
+ opacity: 0.5;
1399
+ }
1400
+ :where([aria-sort="ascending"] .data-grid-sort-button)::after {
1401
+ content: " \25B2";
1402
+ }
1403
+ :where([aria-sort="descending"] .data-grid-sort-button)::after {
1404
+ content: " \25BC";
1405
+ }
1406
+ :where(.data-grid-pagination) {
1407
+ display: flex;
1408
+ flex-wrap: wrap;
1409
+ gap: var(--lily-space-sm);
1410
+ align-items: center;
1411
+ justify-content: flex-end;
1412
+ margin-block-start: var(--lily-space-sm);
1413
+ }
1414
+ :where(.data-grid-page-previous, .data-grid-page-next, .data-grid-export-button) {
1415
+ padding: var(--lily-space-xs) var(--lily-space-md);
1416
+ border: var(--border) solid var(--lily-border);
1417
+ border-radius: var(--lily-radius-sm);
1418
+ background-color: var(--lily-surface);
1419
+ color: var(--lily-text);
1420
+ font: inherit;
1421
+ cursor: pointer;
1422
+ }
1423
+ :where(.data-grid-page-previous:disabled, .data-grid-page-next:disabled, .data-grid-export-button:disabled) {
1424
+ opacity: 0.5;
1425
+ cursor: not-allowed;
1426
+ }
1427
+ :where(.data-grid-column-visibility) {
1428
+ display: flex;
1429
+ flex-wrap: wrap;
1430
+ gap: var(--lily-space-sm);
1431
+ margin: 0;
1432
+ padding: var(--lily-space-xs) var(--lily-space-sm);
1433
+ border: var(--border) solid var(--lily-border);
1434
+ border-radius: var(--lily-radius-sm);
1435
+ }
1436
+ /* Pinned columns stay put while the rest scroll; the offset is logical, so it flips in right-to-left. */
1437
+ :where([data-pinned="start"]) {
1438
+ position: sticky;
1439
+ inset-inline-start: 0;
1440
+ z-index: 1;
1441
+ background-color: var(--lily-surface);
1442
+ }
1443
+ :where([data-pinned="end"]) {
1444
+ position: sticky;
1445
+ inset-inline-end: 0;
1446
+ z-index: 1;
1447
+ background-color: var(--lily-surface);
1448
+ }
1449
+ :where(th[data-pinned]) {
1450
+ z-index: 2;
1451
+ }
1452
+ /* A missing value: dimmed, and the grid's emptyValue text (for example a dash) reads as absence. */
1453
+ :where(.data-table-td[data-empty]) {
1454
+ opacity: 0.7;
1352
1455
  }
1353
1456
 
1354
1457
  /* --- Kanban specifics --------------------------------------------------- */
@@ -1362,6 +1465,20 @@
1362
1465
  min-width: 14rem;
1363
1466
  }
1364
1467
 
1468
+ /* Dragging a card: the column it would land in is outlined; one that refuses it
1469
+ (canMove, allowedColumns, a full strict WIP limit) is striped and shows the
1470
+ not-allowed cursor, so "you can't drop here" is visible before the drop. */
1471
+ :where(.kanban-table-td[data-drop-target]) {
1472
+ outline: 2px dashed var(--color-accent);
1473
+ outline-offset: -3px;
1474
+ }
1475
+ :where(.kanban-table-td[data-drop-blocked]) {
1476
+ outline: 2px solid var(--color-error);
1477
+ outline-offset: -3px;
1478
+ cursor: not-allowed;
1479
+ background-image: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--color-error) 18%, transparent) 6px 8px);
1480
+ }
1481
+
1365
1482
  /* --- Gantt specifics ---------------------------------------------------- */
1366
1483
  /* Cells marked as bars are filled with the primary colour to render the
1367
1484
  schedule bar inline within the grid. */
@@ -1369,6 +1486,20 @@
1369
1486
  background-color: var(--color-primary);
1370
1487
  }
1371
1488
 
1489
+ /* Weekend, holiday and time-off shading (Gantt chart and calendar). A weekend
1490
+ is tinted; a day marked as a holiday or time off (data-unavailable /
1491
+ data-range) is striped as well, so no day is told apart by colour alone;
1492
+ a column only partly unavailable gets a bar under its header. */
1493
+ :where(.gantt-table-th[data-weekend], .gantt-table-td[data-weekend], .calendar-table-th[data-weekend], .calendar-table-td[data-weekend]) {
1494
+ background-color: color-mix(in srgb, var(--lily-surface) 92%, var(--lily-text));
1495
+ }
1496
+ :where(.gantt-table-th[data-unavailable], .gantt-table-td[data-unavailable], .calendar-table-td[data-range]) {
1497
+ background-image: repeating-linear-gradient(135deg, transparent 0 4px, color-mix(in srgb, var(--lily-text) 14%, transparent) 4px 5px);
1498
+ }
1499
+ :where(.gantt-table-th[data-partly-unavailable]) {
1500
+ box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--lily-text) 45%, transparent);
1501
+ }
1502
+
1372
1503
  /* ==========================================================================
1373
1504
  * Cards, panels, surfaces
1374
1505
  * --------------------------------------------------------------------------
@@ -2305,6 +2436,7 @@
2305
2436
  .theme-picker,
2306
2437
  .locale-picker,
2307
2438
  .text-size-picker,
2439
+ .time-zone-picker,
2308
2440
  .search-picker,
2309
2441
  .link-picker,
2310
2442
  .menu-picker,
@@ -2320,6 +2452,7 @@
2320
2452
  .theme-picker-button,
2321
2453
  .locale-picker-button,
2322
2454
  .text-size-picker-button,
2455
+ .time-zone-picker-button,
2323
2456
  .search-picker-button,
2324
2457
  .link-picker-button,
2325
2458
  .menu-picker-button,
@@ -2358,6 +2491,7 @@
2358
2491
  .theme-picker-icon,
2359
2492
  .locale-picker-icon,
2360
2493
  .text-size-picker-icon,
2494
+ .time-zone-picker-icon,
2361
2495
  .motion-picker-icon,
2362
2496
  .link-picker-icon,
2363
2497
  .menu-picker-icon,
@@ -2725,6 +2859,7 @@
2725
2859
  .theme-picker-tooltip,
2726
2860
  .locale-picker-tooltip,
2727
2861
  .text-size-picker-tooltip,
2862
+ .time-zone-picker-tooltip,
2728
2863
  .motion-picker-tooltip,
2729
2864
  .link-picker-tooltip,
2730
2865
  .menu-picker-tooltip,
@@ -2752,6 +2887,7 @@
2752
2887
  .theme-picker-tooltip,
2753
2888
  .locale-picker-tooltip,
2754
2889
  .text-size-picker-tooltip,
2890
+ .time-zone-picker-tooltip,
2755
2891
  .motion-picker-tooltip,
2756
2892
  .link-picker-tooltip,
2757
2893
  .menu-picker-tooltip,
@@ -2771,6 +2907,7 @@
2771
2907
  .theme-picker-tooltip,
2772
2908
  .locale-picker-tooltip,
2773
2909
  .text-size-picker-tooltip,
2910
+ .time-zone-picker-tooltip,
2774
2911
  .motion-picker-tooltip,
2775
2912
  .link-picker-tooltip,
2776
2913
  .menu-picker-tooltip,
@@ -2827,6 +2964,7 @@
2827
2964
  .theme-picker-list,
2828
2965
  .locale-picker-list,
2829
2966
  .text-size-picker-list,
2967
+ .time-zone-picker-list,
2830
2968
  .motion-picker-list,
2831
2969
  .link-picker-list,
2832
2970
  .menu-picker-panel,
@@ -2856,6 +2994,7 @@
2856
2994
  .theme-picker-list,
2857
2995
  .locale-picker-list,
2858
2996
  .text-size-picker-list,
2997
+ .time-zone-picker-list,
2859
2998
  .motion-picker-list,
2860
2999
  .link-picker-list,
2861
3000
  .menu-picker-panel,
@@ -2876,6 +3015,7 @@
2876
3015
  :where(.theme-picker) { anchor-name: --lily-theme-picker; }
2877
3016
  :where(.locale-picker) { anchor-name: --lily-locale-picker; }
2878
3017
  :where(.text-size-picker) { anchor-name: --lily-text-size-picker; }
3018
+ :where(.time-zone-picker) { anchor-name: --lily-time-zone-picker; }
2879
3019
  :where(.motion-picker) { anchor-name: --lily-motion-picker; }
2880
3020
  :where(.link-picker) { anchor-name: --lily-link-picker; }
2881
3021
  :where(.menu-picker) { anchor-name: --lily-menu-picker; }
@@ -2885,6 +3025,7 @@
2885
3025
  :where(.theme-picker-list) { position-anchor: --lily-theme-picker; }
2886
3026
  :where(.locale-picker-list) { position-anchor: --lily-locale-picker; }
2887
3027
  :where(.text-size-picker-list) { position-anchor: --lily-text-size-picker; }
3028
+ :where(.time-zone-picker-list) { position-anchor: --lily-time-zone-picker; }
2888
3029
  :where(.motion-picker-list) { position-anchor: --lily-motion-picker; }
2889
3030
  :where(.link-picker-list) { position-anchor: --lily-link-picker; }
2890
3031
  :where(.menu-picker-panel) { position-anchor: --lily-menu-picker; }
@@ -2895,6 +3036,7 @@
2895
3036
  .theme-picker-list,
2896
3037
  .locale-picker-list,
2897
3038
  .text-size-picker-list,
3039
+ .time-zone-picker-list,
2898
3040
  .motion-picker-list,
2899
3041
  .link-picker-list,
2900
3042
  .menu-picker-panel,
@@ -2912,11 +3054,12 @@
2912
3054
  }
2913
3055
  }
2914
3056
 
2915
- :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .motion-picker-list)
3057
+ :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .time-zone-picker-list, .motion-picker-list)
2916
3058
  > :where(
2917
3059
  .theme-picker-option,
2918
3060
  .locale-picker-option,
2919
3061
  .text-size-picker-option,
3062
+ .time-zone-picker-option,
2920
3063
  .motion-picker-option
2921
3064
  ) {
2922
3065
  padding: var(--lily-space-xs) var(--lily-space-sm);
@@ -2926,7 +3069,7 @@
2926
3069
 
2927
3070
  /* data-active is the keyboard cursor (aria-activedescendant); focus
2928
3071
  stays on the listbox, so this is the only visible cue for it. */
2929
- :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .motion-picker-list)
3072
+ :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .time-zone-picker-list, .motion-picker-list)
2930
3073
  > :where([data-active]) {
2931
3074
  background-color: var(--lily-surface-alt);
2932
3075
  outline: var(--lily-focus-ring);
@@ -2935,7 +3078,7 @@
2935
3078
 
2936
3079
  /* aria-selected marks the applied theme/locale, which is not the
2937
3080
  same thing as the keyboard cursor. Both can be visible at once. */
2938
- :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .motion-picker-list)
3081
+ :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .time-zone-picker-list, .motion-picker-list)
2939
3082
  > :where([aria-selected="true"]) {
2940
3083
  font-weight: 600;
2941
3084
  background-color: var(--lily-surface-sunken);
@@ -3288,7 +3431,7 @@
3288
3431
  }
3289
3432
  /* Screen-reader-only — visually hidden but available to AT. The
3290
3433
  classic clip-rect pattern (works in every screen reader). */
3291
- :where(.screen-reader-span) {
3434
+ :where(.screen-reader-span, .middle-truncation-full) {
3292
3435
  position: absolute;
3293
3436
  width: 1px;
3294
3437
  height: 1px;
@@ -3299,6 +3442,42 @@
3299
3442
  white-space: nowrap;
3300
3443
  border: 0;
3301
3444
  }
3445
+ /* Middle truncation — a bounded one-line block; the shortened string is aria-hidden and the full
3446
+ text (hidden above) stays in the accessibility tree. */
3447
+ :where(.middle-truncation) {
3448
+ display: block;
3449
+ position: relative;
3450
+ overflow: hidden;
3451
+ white-space: nowrap;
3452
+ }
3453
+ /* Wheel picker — a scrolling listbox that snaps the chosen option to the centre. The selected option is filled with the
3454
+ primary colour (aria-selected, not colour alone: it is also the activedescendant and gets a bold weight). */
3455
+ :where(.wheel-picker-list) {
3456
+ max-block-size: 10em;
3457
+ overflow-y: auto;
3458
+ overscroll-behavior: contain;
3459
+ scroll-snap-type: y mandatory;
3460
+ border: 1px solid var(--color-base-300);
3461
+ border-radius: var(--lily-radius-md);
3462
+ }
3463
+ :where(.wheel-picker-list:focus-visible) {
3464
+ outline: 2px solid var(--lily-focus-ring);
3465
+ outline-offset: 2px;
3466
+ }
3467
+ :where(.wheel-picker-option) {
3468
+ padding: 0.5rem 1rem;
3469
+ scroll-snap-align: center;
3470
+ cursor: pointer;
3471
+ }
3472
+ :where(.wheel-picker-option[aria-selected="true"]) {
3473
+ background-color: var(--color-primary);
3474
+ color: var(--color-primary-content);
3475
+ font-weight: 600;
3476
+ }
3477
+ :where(.wheel-picker-option[aria-disabled="true"]) {
3478
+ opacity: 0.5;
3479
+ cursor: not-allowed;
3480
+ }
3302
3481
 
3303
3482
  /* ==========================================================================
3304
3483
  * Hero, figure, photo, media
@@ -3860,3 +4039,153 @@
3860
4039
  :where(a, code) {
3861
4040
  overflow-wrap: anywhere;
3862
4041
  }
4042
+
4043
+ /* ============================================================================
4044
+ * Helper packages — layout and look, shared verbatim by all themes.
4045
+ *
4046
+ * The data grid, kanban board, Gantt chart and calendar view are wide by nature.
4047
+ * Each root scrolls sideways inside its own box and its table sizes to its content,
4048
+ * so a narrow screen scrolls the table instead of wrapping every cell to a letter
4049
+ * (the overflow guard above lets cells break anywhere, which is right for prose and
4050
+ * wrong for a table that has a scroller). The toolbar controls of all four helpers
4051
+ * share the data grid's look, every button has a >=24px target (WCAG 2.2 2.5.8), and
4052
+ * the Gantt chart draws its bars from `data-in-range`, a milestone as a diamond and
4053
+ * today as a rule. :where() keeps specificity at zero, so any consumer rule wins.
4054
+ * ========================================================================= */
4055
+
4056
+ :where(.data-grid, .kanban-board, .gantt-chart, .calendar-view) {
4057
+ max-inline-size: 100%;
4058
+ overflow-x: auto;
4059
+ }
4060
+
4061
+ :where(.data-grid table, .kanban-board table, .gantt-chart table, .calendar-view table) {
4062
+ inline-size: max-content;
4063
+ min-inline-size: 100%;
4064
+ }
4065
+
4066
+ :where(.kanban-board-export, .gantt-chart-export, .gantt-chart-zoom, .calendar-view-export,
4067
+ .calendar-view-toolbar, .calendar-view-nav, .calendar-view-switcher) {
4068
+ display: flex;
4069
+ flex-wrap: wrap;
4070
+ gap: var(--lily-space-sm);
4071
+ align-items: center;
4072
+ margin-block-end: var(--lily-space-sm);
4073
+ }
4074
+
4075
+ :where(.kanban-board-search, .gantt-chart-search, .calendar-view-search) {
4076
+ padding: var(--lily-space-xs) var(--lily-space-sm);
4077
+ border: var(--border) solid var(--lily-border);
4078
+ border-radius: var(--lily-radius-sm);
4079
+ background-color: var(--lily-surface);
4080
+ color: var(--lily-text);
4081
+ font: inherit;
4082
+ min-block-size: 24px;
4083
+ }
4084
+
4085
+ :where(.kanban-board-export-button,
4086
+ .kanban-board-add-button,
4087
+ .kanban-board-undo-button,
4088
+ .kanban-board-collapse-button,
4089
+ .kanban-board-lane-toggle,
4090
+ .kanban-board-move-button,
4091
+ .gantt-chart-export-button,
4092
+ .gantt-chart-zoom-in-button,
4093
+ .gantt-chart-zoom-out-button,
4094
+ .gantt-chart-collapse-button,
4095
+ .gantt-chart-collapse-all-button,
4096
+ .gantt-chart-expand-all-button,
4097
+ .gantt-chart-save-button,
4098
+ .gantt-chart-cancel-button,
4099
+ .calendar-view-export-button,
4100
+ .calendar-view-previous-button,
4101
+ .calendar-view-next-button,
4102
+ .calendar-view-today-button,
4103
+ .calendar-view-switcher-button) {
4104
+ padding: var(--lily-space-xs) var(--lily-space-md);
4105
+ border: var(--border) solid var(--lily-border);
4106
+ border-radius: var(--lily-radius-sm);
4107
+ background-color: var(--lily-surface);
4108
+ color: var(--lily-text);
4109
+ font: inherit;
4110
+ cursor: pointer;
4111
+ min-inline-size: 24px;
4112
+ min-block-size: 24px;
4113
+ }
4114
+
4115
+ :where(.kanban-board-export-button:disabled,
4116
+ .kanban-board-add-button:disabled,
4117
+ .kanban-board-undo-button:disabled,
4118
+ .gantt-chart-export-button:disabled,
4119
+ .gantt-chart-zoom-in-button:disabled,
4120
+ .gantt-chart-zoom-out-button:disabled,
4121
+ .calendar-view-export-button:disabled,
4122
+ .calendar-view-previous-button[aria-disabled="true"],
4123
+ .calendar-view-next-button[aria-disabled="true"]) {
4124
+ opacity: 0.5;
4125
+ cursor: not-allowed;
4126
+ }
4127
+
4128
+ :where(.calendar-view-switcher-button[aria-pressed="true"]) {
4129
+ background-color: var(--color-base-300);
4130
+ font-weight: 600;
4131
+ }
4132
+
4133
+ :where(.kanban-board-status, .gantt-chart-status, .calendar-view-status) {
4134
+ margin-block-start: var(--lily-space-sm);
4135
+ font-size: 0.875em;
4136
+ opacity: 0.8;
4137
+ }
4138
+
4139
+ :where(.calendar-view-event) {
4140
+ display: block;
4141
+ padding: 0 var(--lily-space-xs);
4142
+ border-radius: var(--lily-radius-sm);
4143
+ background-color: color-mix(in srgb, var(--color-primary) 18%, transparent);
4144
+ font-size: 0.75rem;
4145
+ }
4146
+
4147
+ :where(.gantt-table-th) {
4148
+ min-inline-size: 2rem;
4149
+ padding-inline: 0.25rem;
4150
+ font-size: 0.75rem;
4151
+ text-align: center;
4152
+ white-space: nowrap;
4153
+ }
4154
+
4155
+ :where(.gantt-table-th[scope="row"], .gantt-table-th:first-child) {
4156
+ min-inline-size: 10rem;
4157
+ padding-inline: var(--lily-space-sm);
4158
+ font-size: inherit;
4159
+ text-align: start;
4160
+ white-space: normal;
4161
+ }
4162
+
4163
+ :where(.gantt-table-td) {
4164
+ min-block-size: 1.7rem;
4165
+ padding: 0;
4166
+ }
4167
+
4168
+ :where(.gantt-table-td[data-in-range]) {
4169
+ background-color: var(--color-primary);
4170
+ }
4171
+
4172
+ :where(.gantt-table-td[data-in-range][data-milestone]) {
4173
+ clip-path: polygon(50% 8%, 92% 50%, 50% 92%, 8% 50%);
4174
+ }
4175
+
4176
+ :where(.gantt-table-td[data-today]) {
4177
+ border-inline-start: 2px solid var(--color-accent);
4178
+ }
4179
+
4180
+ /* The time zone picker's options are long ("UTC+10:30 – Lord Howe Daylight Time"): size the list to its widest
4181
+ option up to a cap, then wrap, rather than clipping the name or running off a phone. */
4182
+ :where(.time-zone-picker-list) {
4183
+ inline-size: max-content;
4184
+ max-inline-size: min(26rem, 90vw);
4185
+ max-block-size: min(24rem, 70vh);
4186
+ overflow-y: auto;
4187
+ }
4188
+
4189
+ :where(.time-zone-picker-option) {
4190
+ overflow-wrap: anywhere;
4191
+ }