@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
@@ -1001,7 +1001,7 @@
1001
1001
  color: var(--lily-text-muted);
1002
1002
  }
1003
1003
  /* Final crumb (the current page) — muted because it isn't a link. */
1004
- :where(.breadcrumb-list-item[aria-current="page"]) {
1004
+ :where(.breadcrumb-list-item[data-current], .breadcrumb-list-item[aria-current="page"]) {
1005
1005
  color: var(--lily-text-muted);
1006
1006
  }
1007
1007
 
@@ -1270,11 +1270,114 @@
1270
1270
  background-color: var(--color-primary);
1271
1271
  color: var(--color-primary-content);
1272
1272
  }
1273
- /* Today — outlined rather than filled, so a selected non-today date
1274
- still reads as the "selected" one. */
1273
+ /* Today — outlined and bold, never filled, so a selected non-today date still
1274
+ reads as "selected". The ring takes the cell's own text colour (currentColor),
1275
+ so it holds its contrast on a light page, a dark page and a selected cell
1276
+ alike, and the bold number says it without colour. */
1275
1277
  :where(.calendar-table-td[aria-current="date"]) {
1276
- outline: 2px solid var(--color-primary);
1277
- outline-offset: -2px;
1278
+ outline: 2px solid currentColor;
1279
+ outline-offset: -3px;
1280
+ font-weight: 700;
1281
+ }
1282
+ /* Fit a phone: day cells shrink and wrap instead of forcing the grid wider. */
1283
+ :where(.calendar-table) {
1284
+ table-layout: fixed;
1285
+ }
1286
+ :where(.calendar-table-td, .calendar-table-th) {
1287
+ min-width: 0;
1288
+ overflow-wrap: anywhere;
1289
+ }
1290
+
1291
+ /* --- Data grid: toolbar, sorting, pagination, column visibility, pinned columns ----- */
1292
+ :where(.data-grid-toolbar) {
1293
+ display: flex;
1294
+ flex-wrap: wrap;
1295
+ gap: var(--lily-space-sm);
1296
+ align-items: center;
1297
+ margin-block-end: var(--lily-space-sm);
1298
+ }
1299
+ :where(.data-grid-search, .data-grid-search-field) {
1300
+ padding: var(--lily-space-xs) var(--lily-space-sm);
1301
+ border: var(--border) solid var(--lily-border);
1302
+ border-radius: var(--lily-radius-sm);
1303
+ background-color: var(--lily-surface);
1304
+ color: var(--lily-text);
1305
+ font: inherit;
1306
+ }
1307
+ /* A sortable header is a button that looks like its text; the arrow follows aria-sort,
1308
+ so the state is in the markup for assistive technology and on screen for everyone. */
1309
+ :where(.data-grid-sort-button) {
1310
+ padding: 0;
1311
+ border: 0;
1312
+ background: none;
1313
+ color: inherit;
1314
+ font: inherit;
1315
+ text-align: start;
1316
+ cursor: pointer;
1317
+ }
1318
+ :where(.data-grid-sort-button:focus-visible) {
1319
+ outline: 2px solid var(--color-accent);
1320
+ outline-offset: 2px;
1321
+ }
1322
+ :where([aria-sort="none"] .data-grid-sort-button)::after {
1323
+ content: " \21C5";
1324
+ opacity: 0.5;
1325
+ }
1326
+ :where([aria-sort="ascending"] .data-grid-sort-button)::after {
1327
+ content: " \25B2";
1328
+ }
1329
+ :where([aria-sort="descending"] .data-grid-sort-button)::after {
1330
+ content: " \25BC";
1331
+ }
1332
+ :where(.data-grid-pagination) {
1333
+ display: flex;
1334
+ flex-wrap: wrap;
1335
+ gap: var(--lily-space-sm);
1336
+ align-items: center;
1337
+ justify-content: flex-end;
1338
+ margin-block-start: var(--lily-space-sm);
1339
+ }
1340
+ :where(.data-grid-page-previous, .data-grid-page-next, .data-grid-export-button) {
1341
+ padding: var(--lily-space-xs) var(--lily-space-md);
1342
+ border: var(--border) solid var(--lily-border);
1343
+ border-radius: var(--lily-radius-sm);
1344
+ background-color: var(--lily-surface);
1345
+ color: var(--lily-text);
1346
+ font: inherit;
1347
+ cursor: pointer;
1348
+ }
1349
+ :where(.data-grid-page-previous:disabled, .data-grid-page-next:disabled, .data-grid-export-button:disabled) {
1350
+ opacity: 0.5;
1351
+ cursor: not-allowed;
1352
+ }
1353
+ :where(.data-grid-column-visibility) {
1354
+ display: flex;
1355
+ flex-wrap: wrap;
1356
+ gap: var(--lily-space-sm);
1357
+ margin: 0;
1358
+ padding: var(--lily-space-xs) var(--lily-space-sm);
1359
+ border: var(--border) solid var(--lily-border);
1360
+ border-radius: var(--lily-radius-sm);
1361
+ }
1362
+ /* Pinned columns stay put while the rest scroll; the offset is logical, so it flips in right-to-left. */
1363
+ :where([data-pinned="start"]) {
1364
+ position: sticky;
1365
+ inset-inline-start: 0;
1366
+ z-index: 1;
1367
+ background-color: var(--lily-surface);
1368
+ }
1369
+ :where([data-pinned="end"]) {
1370
+ position: sticky;
1371
+ inset-inline-end: 0;
1372
+ z-index: 1;
1373
+ background-color: var(--lily-surface);
1374
+ }
1375
+ :where(th[data-pinned]) {
1376
+ z-index: 2;
1377
+ }
1378
+ /* A missing value: dimmed, and the grid's emptyValue text (for example a dash) reads as absence. */
1379
+ :where(.data-table-td[data-empty]) {
1380
+ opacity: 0.7;
1278
1381
  }
1279
1382
 
1280
1383
  /* --- Kanban specifics --------------------------------------------------- */
@@ -1288,6 +1391,20 @@
1288
1391
  min-width: 14rem;
1289
1392
  }
1290
1393
 
1394
+ /* Dragging a card: the column it would land in is outlined; one that refuses it
1395
+ (canMove, allowedColumns, a full strict WIP limit) is striped and shows the
1396
+ not-allowed cursor, so "you can't drop here" is visible before the drop. */
1397
+ :where(.kanban-table-td[data-drop-target]) {
1398
+ outline: 2px dashed var(--color-accent);
1399
+ outline-offset: -3px;
1400
+ }
1401
+ :where(.kanban-table-td[data-drop-blocked]) {
1402
+ outline: 2px solid var(--color-error);
1403
+ outline-offset: -3px;
1404
+ cursor: not-allowed;
1405
+ background-image: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--color-error) 18%, transparent) 6px 8px);
1406
+ }
1407
+
1291
1408
  /* --- Gantt specifics ---------------------------------------------------- */
1292
1409
  /* Cells marked as bars are filled with the primary colour to render the
1293
1410
  schedule bar inline within the grid. */
@@ -1295,6 +1412,20 @@
1295
1412
  background-color: var(--color-primary);
1296
1413
  }
1297
1414
 
1415
+ /* Weekend, holiday and time-off shading (Gantt chart and calendar). A weekend
1416
+ is tinted; a day marked as a holiday or time off (data-unavailable /
1417
+ data-range) is striped as well, so no day is told apart by colour alone;
1418
+ a column only partly unavailable gets a bar under its header. */
1419
+ :where(.gantt-table-th[data-weekend], .gantt-table-td[data-weekend], .calendar-table-th[data-weekend], .calendar-table-td[data-weekend]) {
1420
+ background-color: color-mix(in srgb, var(--lily-surface) 92%, var(--lily-text));
1421
+ }
1422
+ :where(.gantt-table-th[data-unavailable], .gantt-table-td[data-unavailable], .calendar-table-td[data-range]) {
1423
+ background-image: repeating-linear-gradient(135deg, transparent 0 4px, color-mix(in srgb, var(--lily-text) 14%, transparent) 4px 5px);
1424
+ }
1425
+ :where(.gantt-table-th[data-partly-unavailable]) {
1426
+ box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--lily-text) 45%, transparent);
1427
+ }
1428
+
1298
1429
  /* ==========================================================================
1299
1430
  * Cards, panels, surfaces
1300
1431
  * --------------------------------------------------------------------------
@@ -2221,6 +2352,7 @@
2221
2352
  .theme-picker,
2222
2353
  .locale-picker,
2223
2354
  .text-size-picker,
2355
+ .time-zone-picker,
2224
2356
  .search-picker,
2225
2357
  .link-picker,
2226
2358
  .menu-picker,
@@ -2236,6 +2368,7 @@
2236
2368
  .theme-picker-button,
2237
2369
  .locale-picker-button,
2238
2370
  .text-size-picker-button,
2371
+ .time-zone-picker-button,
2239
2372
  .search-picker-button,
2240
2373
  .link-picker-button,
2241
2374
  .menu-picker-button,
@@ -2274,6 +2407,7 @@
2274
2407
  .theme-picker-icon,
2275
2408
  .locale-picker-icon,
2276
2409
  .text-size-picker-icon,
2410
+ .time-zone-picker-icon,
2277
2411
  .motion-picker-icon,
2278
2412
  .link-picker-icon,
2279
2413
  .menu-picker-icon,
@@ -2641,6 +2775,7 @@
2641
2775
  .theme-picker-tooltip,
2642
2776
  .locale-picker-tooltip,
2643
2777
  .text-size-picker-tooltip,
2778
+ .time-zone-picker-tooltip,
2644
2779
  .motion-picker-tooltip,
2645
2780
  .link-picker-tooltip,
2646
2781
  .menu-picker-tooltip,
@@ -2668,6 +2803,7 @@
2668
2803
  .theme-picker-tooltip,
2669
2804
  .locale-picker-tooltip,
2670
2805
  .text-size-picker-tooltip,
2806
+ .time-zone-picker-tooltip,
2671
2807
  .motion-picker-tooltip,
2672
2808
  .link-picker-tooltip,
2673
2809
  .menu-picker-tooltip,
@@ -2687,6 +2823,7 @@
2687
2823
  .theme-picker-tooltip,
2688
2824
  .locale-picker-tooltip,
2689
2825
  .text-size-picker-tooltip,
2826
+ .time-zone-picker-tooltip,
2690
2827
  .motion-picker-tooltip,
2691
2828
  .link-picker-tooltip,
2692
2829
  .menu-picker-tooltip,
@@ -2743,6 +2880,7 @@
2743
2880
  .theme-picker-list,
2744
2881
  .locale-picker-list,
2745
2882
  .text-size-picker-list,
2883
+ .time-zone-picker-list,
2746
2884
  .motion-picker-list,
2747
2885
  .link-picker-list,
2748
2886
  .menu-picker-panel,
@@ -2772,6 +2910,7 @@
2772
2910
  .theme-picker-list,
2773
2911
  .locale-picker-list,
2774
2912
  .text-size-picker-list,
2913
+ .time-zone-picker-list,
2775
2914
  .motion-picker-list,
2776
2915
  .link-picker-list,
2777
2916
  .menu-picker-panel,
@@ -2792,6 +2931,7 @@
2792
2931
  :where(.theme-picker) { anchor-name: --lily-theme-picker; }
2793
2932
  :where(.locale-picker) { anchor-name: --lily-locale-picker; }
2794
2933
  :where(.text-size-picker) { anchor-name: --lily-text-size-picker; }
2934
+ :where(.time-zone-picker) { anchor-name: --lily-time-zone-picker; }
2795
2935
  :where(.motion-picker) { anchor-name: --lily-motion-picker; }
2796
2936
  :where(.link-picker) { anchor-name: --lily-link-picker; }
2797
2937
  :where(.menu-picker) { anchor-name: --lily-menu-picker; }
@@ -2801,6 +2941,7 @@
2801
2941
  :where(.theme-picker-list) { position-anchor: --lily-theme-picker; }
2802
2942
  :where(.locale-picker-list) { position-anchor: --lily-locale-picker; }
2803
2943
  :where(.text-size-picker-list) { position-anchor: --lily-text-size-picker; }
2944
+ :where(.time-zone-picker-list) { position-anchor: --lily-time-zone-picker; }
2804
2945
  :where(.motion-picker-list) { position-anchor: --lily-motion-picker; }
2805
2946
  :where(.link-picker-list) { position-anchor: --lily-link-picker; }
2806
2947
  :where(.menu-picker-panel) { position-anchor: --lily-menu-picker; }
@@ -2811,6 +2952,7 @@
2811
2952
  .theme-picker-list,
2812
2953
  .locale-picker-list,
2813
2954
  .text-size-picker-list,
2955
+ .time-zone-picker-list,
2814
2956
  .motion-picker-list,
2815
2957
  .link-picker-list,
2816
2958
  .menu-picker-panel,
@@ -2828,11 +2970,12 @@
2828
2970
  }
2829
2971
  }
2830
2972
 
2831
- :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .motion-picker-list)
2973
+ :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .time-zone-picker-list, .motion-picker-list)
2832
2974
  > :where(
2833
2975
  .theme-picker-option,
2834
2976
  .locale-picker-option,
2835
2977
  .text-size-picker-option,
2978
+ .time-zone-picker-option,
2836
2979
  .motion-picker-option
2837
2980
  ) {
2838
2981
  padding: var(--lily-space-xs) var(--lily-space-sm);
@@ -2842,7 +2985,7 @@
2842
2985
 
2843
2986
  /* data-active is the keyboard cursor (aria-activedescendant); focus
2844
2987
  stays on the listbox, so this is the only visible cue for it. */
2845
- :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .motion-picker-list)
2988
+ :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .time-zone-picker-list, .motion-picker-list)
2846
2989
  > :where([data-active]) {
2847
2990
  background-color: var(--lily-surface-alt);
2848
2991
  outline: var(--lily-focus-ring);
@@ -2851,7 +2994,7 @@
2851
2994
 
2852
2995
  /* aria-selected marks the applied theme/locale, which is not the
2853
2996
  same thing as the keyboard cursor. Both can be visible at once. */
2854
- :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .motion-picker-list)
2997
+ :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .time-zone-picker-list, .motion-picker-list)
2855
2998
  > :where([aria-selected="true"]) {
2856
2999
  font-weight: 600;
2857
3000
  background-color: var(--lily-surface-sunken);
@@ -3204,7 +3347,7 @@
3204
3347
  }
3205
3348
  /* Screen-reader-only — visually hidden but available to AT. The
3206
3349
  classic clip-rect pattern (works in every screen reader). */
3207
- :where(.screen-reader-span) {
3350
+ :where(.screen-reader-span, .middle-truncation-full) {
3208
3351
  position: absolute;
3209
3352
  width: 1px;
3210
3353
  height: 1px;
@@ -3215,6 +3358,42 @@
3215
3358
  white-space: nowrap;
3216
3359
  border: 0;
3217
3360
  }
3361
+ /* Middle truncation — a bounded one-line block; the shortened string is aria-hidden and the full
3362
+ text (hidden above) stays in the accessibility tree. */
3363
+ :where(.middle-truncation) {
3364
+ display: block;
3365
+ position: relative;
3366
+ overflow: hidden;
3367
+ white-space: nowrap;
3368
+ }
3369
+ /* Wheel picker — a scrolling listbox that snaps the chosen option to the centre. The selected option is filled with the
3370
+ primary colour (aria-selected, not colour alone: it is also the activedescendant and gets a bold weight). */
3371
+ :where(.wheel-picker-list) {
3372
+ max-block-size: 10em;
3373
+ overflow-y: auto;
3374
+ overscroll-behavior: contain;
3375
+ scroll-snap-type: y mandatory;
3376
+ border: 1px solid var(--color-base-300);
3377
+ border-radius: var(--lily-radius-md);
3378
+ }
3379
+ :where(.wheel-picker-list:focus-visible) {
3380
+ outline: 2px solid var(--lily-focus-ring);
3381
+ outline-offset: 2px;
3382
+ }
3383
+ :where(.wheel-picker-option) {
3384
+ padding: 0.5rem 1rem;
3385
+ scroll-snap-align: center;
3386
+ cursor: pointer;
3387
+ }
3388
+ :where(.wheel-picker-option[aria-selected="true"]) {
3389
+ background-color: var(--color-primary);
3390
+ color: var(--color-primary-content);
3391
+ font-weight: 600;
3392
+ }
3393
+ :where(.wheel-picker-option[aria-disabled="true"]) {
3394
+ opacity: 0.5;
3395
+ cursor: not-allowed;
3396
+ }
3218
3397
 
3219
3398
  /* ==========================================================================
3220
3399
  * Hero, figure, photo, media
@@ -3774,3 +3953,153 @@
3774
3953
  :where(a, code) {
3775
3954
  overflow-wrap: anywhere;
3776
3955
  }
3956
+
3957
+ /* ============================================================================
3958
+ * Helper packages — layout and look, shared verbatim by all themes.
3959
+ *
3960
+ * The data grid, kanban board, Gantt chart and calendar view are wide by nature.
3961
+ * Each root scrolls sideways inside its own box and its table sizes to its content,
3962
+ * so a narrow screen scrolls the table instead of wrapping every cell to a letter
3963
+ * (the overflow guard above lets cells break anywhere, which is right for prose and
3964
+ * wrong for a table that has a scroller). The toolbar controls of all four helpers
3965
+ * share the data grid's look, every button has a >=24px target (WCAG 2.2 2.5.8), and
3966
+ * the Gantt chart draws its bars from `data-in-range`, a milestone as a diamond and
3967
+ * today as a rule. :where() keeps specificity at zero, so any consumer rule wins.
3968
+ * ========================================================================= */
3969
+
3970
+ :where(.data-grid, .kanban-board, .gantt-chart, .calendar-view) {
3971
+ max-inline-size: 100%;
3972
+ overflow-x: auto;
3973
+ }
3974
+
3975
+ :where(.data-grid table, .kanban-board table, .gantt-chart table, .calendar-view table) {
3976
+ inline-size: max-content;
3977
+ min-inline-size: 100%;
3978
+ }
3979
+
3980
+ :where(.kanban-board-export, .gantt-chart-export, .gantt-chart-zoom, .calendar-view-export,
3981
+ .calendar-view-toolbar, .calendar-view-nav, .calendar-view-switcher) {
3982
+ display: flex;
3983
+ flex-wrap: wrap;
3984
+ gap: var(--lily-space-sm);
3985
+ align-items: center;
3986
+ margin-block-end: var(--lily-space-sm);
3987
+ }
3988
+
3989
+ :where(.kanban-board-search, .gantt-chart-search, .calendar-view-search) {
3990
+ padding: var(--lily-space-xs) var(--lily-space-sm);
3991
+ border: var(--border) solid var(--lily-border);
3992
+ border-radius: var(--lily-radius-sm);
3993
+ background-color: var(--lily-surface);
3994
+ color: var(--lily-text);
3995
+ font: inherit;
3996
+ min-block-size: 24px;
3997
+ }
3998
+
3999
+ :where(.kanban-board-export-button,
4000
+ .kanban-board-add-button,
4001
+ .kanban-board-undo-button,
4002
+ .kanban-board-collapse-button,
4003
+ .kanban-board-lane-toggle,
4004
+ .kanban-board-move-button,
4005
+ .gantt-chart-export-button,
4006
+ .gantt-chart-zoom-in-button,
4007
+ .gantt-chart-zoom-out-button,
4008
+ .gantt-chart-collapse-button,
4009
+ .gantt-chart-collapse-all-button,
4010
+ .gantt-chart-expand-all-button,
4011
+ .gantt-chart-save-button,
4012
+ .gantt-chart-cancel-button,
4013
+ .calendar-view-export-button,
4014
+ .calendar-view-previous-button,
4015
+ .calendar-view-next-button,
4016
+ .calendar-view-today-button,
4017
+ .calendar-view-switcher-button) {
4018
+ padding: var(--lily-space-xs) var(--lily-space-md);
4019
+ border: var(--border) solid var(--lily-border);
4020
+ border-radius: var(--lily-radius-sm);
4021
+ background-color: var(--lily-surface);
4022
+ color: var(--lily-text);
4023
+ font: inherit;
4024
+ cursor: pointer;
4025
+ min-inline-size: 24px;
4026
+ min-block-size: 24px;
4027
+ }
4028
+
4029
+ :where(.kanban-board-export-button:disabled,
4030
+ .kanban-board-add-button:disabled,
4031
+ .kanban-board-undo-button:disabled,
4032
+ .gantt-chart-export-button:disabled,
4033
+ .gantt-chart-zoom-in-button:disabled,
4034
+ .gantt-chart-zoom-out-button:disabled,
4035
+ .calendar-view-export-button:disabled,
4036
+ .calendar-view-previous-button[aria-disabled="true"],
4037
+ .calendar-view-next-button[aria-disabled="true"]) {
4038
+ opacity: 0.5;
4039
+ cursor: not-allowed;
4040
+ }
4041
+
4042
+ :where(.calendar-view-switcher-button[aria-pressed="true"]) {
4043
+ background-color: var(--color-base-300);
4044
+ font-weight: 600;
4045
+ }
4046
+
4047
+ :where(.kanban-board-status, .gantt-chart-status, .calendar-view-status) {
4048
+ margin-block-start: var(--lily-space-sm);
4049
+ font-size: 0.875em;
4050
+ opacity: 0.8;
4051
+ }
4052
+
4053
+ :where(.calendar-view-event) {
4054
+ display: block;
4055
+ padding: 0 var(--lily-space-xs);
4056
+ border-radius: var(--lily-radius-sm);
4057
+ background-color: color-mix(in srgb, var(--color-primary) 18%, transparent);
4058
+ font-size: 0.75rem;
4059
+ }
4060
+
4061
+ :where(.gantt-table-th) {
4062
+ min-inline-size: 2rem;
4063
+ padding-inline: 0.25rem;
4064
+ font-size: 0.75rem;
4065
+ text-align: center;
4066
+ white-space: nowrap;
4067
+ }
4068
+
4069
+ :where(.gantt-table-th[scope="row"], .gantt-table-th:first-child) {
4070
+ min-inline-size: 10rem;
4071
+ padding-inline: var(--lily-space-sm);
4072
+ font-size: inherit;
4073
+ text-align: start;
4074
+ white-space: normal;
4075
+ }
4076
+
4077
+ :where(.gantt-table-td) {
4078
+ min-block-size: 1.7rem;
4079
+ padding: 0;
4080
+ }
4081
+
4082
+ :where(.gantt-table-td[data-in-range]) {
4083
+ background-color: var(--color-primary);
4084
+ }
4085
+
4086
+ :where(.gantt-table-td[data-in-range][data-milestone]) {
4087
+ clip-path: polygon(50% 8%, 92% 50%, 50% 92%, 8% 50%);
4088
+ }
4089
+
4090
+ :where(.gantt-table-td[data-today]) {
4091
+ border-inline-start: 2px solid var(--color-accent);
4092
+ }
4093
+
4094
+ /* The time zone picker's options are long ("UTC+10:30 – Lord Howe Daylight Time"): size the list to its widest
4095
+ option up to a cap, then wrap, rather than clipping the name or running off a phone. */
4096
+ :where(.time-zone-picker-list) {
4097
+ inline-size: max-content;
4098
+ max-inline-size: min(26rem, 90vw);
4099
+ max-block-size: min(24rem, 70vh);
4100
+ overflow-y: auto;
4101
+ }
4102
+
4103
+ :where(.time-zone-picker-option) {
4104
+ overflow-wrap: anywhere;
4105
+ }