@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
package/dist/acid.css CHANGED
@@ -857,7 +857,7 @@
857
857
  color: var(--lily-text-muted);
858
858
  }
859
859
  /* Final crumb (the current page) — muted because it isn't a link. */
860
- :where(.breadcrumb-list-item[aria-current="page"]) {
860
+ :where(.breadcrumb-list-item[data-current], .breadcrumb-list-item[aria-current="page"]) {
861
861
  color: var(--lily-text-muted);
862
862
  }
863
863
 
@@ -1126,11 +1126,114 @@
1126
1126
  background-color: var(--color-primary);
1127
1127
  color: var(--color-primary-content);
1128
1128
  }
1129
- /* Today — outlined rather than filled, so a selected non-today date
1130
- still reads as the "selected" one. */
1129
+ /* Today — outlined and bold, never filled, so a selected non-today date still
1130
+ reads as "selected". The ring takes the cell's own text colour (currentColor),
1131
+ so it holds its contrast on a light page, a dark page and a selected cell
1132
+ alike, and the bold number says it without colour. */
1131
1133
  :where(.calendar-table-td[aria-current="date"]) {
1132
- outline: 2px solid var(--color-primary);
1133
- outline-offset: -2px;
1134
+ outline: 2px solid currentColor;
1135
+ outline-offset: -3px;
1136
+ font-weight: 700;
1137
+ }
1138
+ /* Fit a phone: day cells shrink and wrap instead of forcing the grid wider. */
1139
+ :where(.calendar-table) {
1140
+ table-layout: fixed;
1141
+ }
1142
+ :where(.calendar-table-td, .calendar-table-th) {
1143
+ min-width: 0;
1144
+ overflow-wrap: anywhere;
1145
+ }
1146
+
1147
+ /* --- Data grid: toolbar, sorting, pagination, column visibility, pinned columns ----- */
1148
+ :where(.data-grid-toolbar) {
1149
+ display: flex;
1150
+ flex-wrap: wrap;
1151
+ gap: var(--lily-space-sm);
1152
+ align-items: center;
1153
+ margin-block-end: var(--lily-space-sm);
1154
+ }
1155
+ :where(.data-grid-search, .data-grid-search-field) {
1156
+ padding: var(--lily-space-xs) var(--lily-space-sm);
1157
+ border: var(--border) solid var(--lily-border);
1158
+ border-radius: var(--lily-radius-sm);
1159
+ background-color: var(--lily-surface);
1160
+ color: var(--lily-text);
1161
+ font: inherit;
1162
+ }
1163
+ /* A sortable header is a button that looks like its text; the arrow follows aria-sort,
1164
+ so the state is in the markup for assistive technology and on screen for everyone. */
1165
+ :where(.data-grid-sort-button) {
1166
+ padding: 0;
1167
+ border: 0;
1168
+ background: none;
1169
+ color: inherit;
1170
+ font: inherit;
1171
+ text-align: start;
1172
+ cursor: pointer;
1173
+ }
1174
+ :where(.data-grid-sort-button:focus-visible) {
1175
+ outline: 2px solid var(--color-accent);
1176
+ outline-offset: 2px;
1177
+ }
1178
+ :where([aria-sort="none"] .data-grid-sort-button)::after {
1179
+ content: " \21C5";
1180
+ opacity: 0.5;
1181
+ }
1182
+ :where([aria-sort="ascending"] .data-grid-sort-button)::after {
1183
+ content: " \25B2";
1184
+ }
1185
+ :where([aria-sort="descending"] .data-grid-sort-button)::after {
1186
+ content: " \25BC";
1187
+ }
1188
+ :where(.data-grid-pagination) {
1189
+ display: flex;
1190
+ flex-wrap: wrap;
1191
+ gap: var(--lily-space-sm);
1192
+ align-items: center;
1193
+ justify-content: flex-end;
1194
+ margin-block-start: var(--lily-space-sm);
1195
+ }
1196
+ :where(.data-grid-page-previous, .data-grid-page-next, .data-grid-export-button) {
1197
+ padding: var(--lily-space-xs) var(--lily-space-md);
1198
+ border: var(--border) solid var(--lily-border);
1199
+ border-radius: var(--lily-radius-sm);
1200
+ background-color: var(--lily-surface);
1201
+ color: var(--lily-text);
1202
+ font: inherit;
1203
+ cursor: pointer;
1204
+ }
1205
+ :where(.data-grid-page-previous:disabled, .data-grid-page-next:disabled, .data-grid-export-button:disabled) {
1206
+ opacity: 0.5;
1207
+ cursor: not-allowed;
1208
+ }
1209
+ :where(.data-grid-column-visibility) {
1210
+ display: flex;
1211
+ flex-wrap: wrap;
1212
+ gap: var(--lily-space-sm);
1213
+ margin: 0;
1214
+ padding: var(--lily-space-xs) var(--lily-space-sm);
1215
+ border: var(--border) solid var(--lily-border);
1216
+ border-radius: var(--lily-radius-sm);
1217
+ }
1218
+ /* Pinned columns stay put while the rest scroll; the offset is logical, so it flips in right-to-left. */
1219
+ :where([data-pinned="start"]) {
1220
+ position: sticky;
1221
+ inset-inline-start: 0;
1222
+ z-index: 1;
1223
+ background-color: var(--lily-surface);
1224
+ }
1225
+ :where([data-pinned="end"]) {
1226
+ position: sticky;
1227
+ inset-inline-end: 0;
1228
+ z-index: 1;
1229
+ background-color: var(--lily-surface);
1230
+ }
1231
+ :where(th[data-pinned]) {
1232
+ z-index: 2;
1233
+ }
1234
+ /* A missing value: dimmed, and the grid's emptyValue text (for example a dash) reads as absence. */
1235
+ :where(.data-table-td[data-empty]) {
1236
+ opacity: 0.7;
1134
1237
  }
1135
1238
 
1136
1239
  /* --- Kanban specifics --------------------------------------------------- */
@@ -1144,6 +1247,20 @@
1144
1247
  min-width: 14rem;
1145
1248
  }
1146
1249
 
1250
+ /* Dragging a card: the column it would land in is outlined; one that refuses it
1251
+ (canMove, allowedColumns, a full strict WIP limit) is striped and shows the
1252
+ not-allowed cursor, so "you can't drop here" is visible before the drop. */
1253
+ :where(.kanban-table-td[data-drop-target]) {
1254
+ outline: 2px dashed var(--color-accent);
1255
+ outline-offset: -3px;
1256
+ }
1257
+ :where(.kanban-table-td[data-drop-blocked]) {
1258
+ outline: 2px solid var(--color-error);
1259
+ outline-offset: -3px;
1260
+ cursor: not-allowed;
1261
+ background-image: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--color-error) 18%, transparent) 6px 8px);
1262
+ }
1263
+
1147
1264
  /* --- Gantt specifics ---------------------------------------------------- */
1148
1265
  /* Cells marked as bars are filled with the primary colour to render the
1149
1266
  schedule bar inline within the grid. */
@@ -1151,6 +1268,20 @@
1151
1268
  background-color: var(--color-primary);
1152
1269
  }
1153
1270
 
1271
+ /* Weekend, holiday and time-off shading (Gantt chart and calendar). A weekend
1272
+ is tinted; a day marked as a holiday or time off (data-unavailable /
1273
+ data-range) is striped as well, so no day is told apart by colour alone;
1274
+ a column only partly unavailable gets a bar under its header. */
1275
+ :where(.gantt-table-th[data-weekend], .gantt-table-td[data-weekend], .calendar-table-th[data-weekend], .calendar-table-td[data-weekend]) {
1276
+ background-color: color-mix(in srgb, var(--lily-surface) 92%, var(--lily-text));
1277
+ }
1278
+ :where(.gantt-table-th[data-unavailable], .gantt-table-td[data-unavailable], .calendar-table-td[data-range]) {
1279
+ background-image: repeating-linear-gradient(135deg, transparent 0 4px, color-mix(in srgb, var(--lily-text) 14%, transparent) 4px 5px);
1280
+ }
1281
+ :where(.gantt-table-th[data-partly-unavailable]) {
1282
+ box-shadow: inset 0 -3px 0 color-mix(in srgb, var(--lily-text) 45%, transparent);
1283
+ }
1284
+
1154
1285
  /* ==========================================================================
1155
1286
  * Cards, panels, surfaces
1156
1287
  * --------------------------------------------------------------------------
@@ -2077,6 +2208,7 @@
2077
2208
  .theme-picker,
2078
2209
  .locale-picker,
2079
2210
  .text-size-picker,
2211
+ .time-zone-picker,
2080
2212
  .search-picker,
2081
2213
  .link-picker,
2082
2214
  .menu-picker,
@@ -2092,6 +2224,7 @@
2092
2224
  .theme-picker-button,
2093
2225
  .locale-picker-button,
2094
2226
  .text-size-picker-button,
2227
+ .time-zone-picker-button,
2095
2228
  .search-picker-button,
2096
2229
  .link-picker-button,
2097
2230
  .menu-picker-button,
@@ -2130,6 +2263,7 @@
2130
2263
  .theme-picker-icon,
2131
2264
  .locale-picker-icon,
2132
2265
  .text-size-picker-icon,
2266
+ .time-zone-picker-icon,
2133
2267
  .motion-picker-icon,
2134
2268
  .link-picker-icon,
2135
2269
  .menu-picker-icon,
@@ -2497,6 +2631,7 @@
2497
2631
  .theme-picker-tooltip,
2498
2632
  .locale-picker-tooltip,
2499
2633
  .text-size-picker-tooltip,
2634
+ .time-zone-picker-tooltip,
2500
2635
  .motion-picker-tooltip,
2501
2636
  .link-picker-tooltip,
2502
2637
  .menu-picker-tooltip,
@@ -2524,6 +2659,7 @@
2524
2659
  .theme-picker-tooltip,
2525
2660
  .locale-picker-tooltip,
2526
2661
  .text-size-picker-tooltip,
2662
+ .time-zone-picker-tooltip,
2527
2663
  .motion-picker-tooltip,
2528
2664
  .link-picker-tooltip,
2529
2665
  .menu-picker-tooltip,
@@ -2543,6 +2679,7 @@
2543
2679
  .theme-picker-tooltip,
2544
2680
  .locale-picker-tooltip,
2545
2681
  .text-size-picker-tooltip,
2682
+ .time-zone-picker-tooltip,
2546
2683
  .motion-picker-tooltip,
2547
2684
  .link-picker-tooltip,
2548
2685
  .menu-picker-tooltip,
@@ -2599,6 +2736,7 @@
2599
2736
  .theme-picker-list,
2600
2737
  .locale-picker-list,
2601
2738
  .text-size-picker-list,
2739
+ .time-zone-picker-list,
2602
2740
  .motion-picker-list,
2603
2741
  .link-picker-list,
2604
2742
  .menu-picker-panel,
@@ -2628,6 +2766,7 @@
2628
2766
  .theme-picker-list,
2629
2767
  .locale-picker-list,
2630
2768
  .text-size-picker-list,
2769
+ .time-zone-picker-list,
2631
2770
  .motion-picker-list,
2632
2771
  .link-picker-list,
2633
2772
  .menu-picker-panel,
@@ -2648,6 +2787,7 @@
2648
2787
  :where(.theme-picker) { anchor-name: --lily-theme-picker; }
2649
2788
  :where(.locale-picker) { anchor-name: --lily-locale-picker; }
2650
2789
  :where(.text-size-picker) { anchor-name: --lily-text-size-picker; }
2790
+ :where(.time-zone-picker) { anchor-name: --lily-time-zone-picker; }
2651
2791
  :where(.motion-picker) { anchor-name: --lily-motion-picker; }
2652
2792
  :where(.link-picker) { anchor-name: --lily-link-picker; }
2653
2793
  :where(.menu-picker) { anchor-name: --lily-menu-picker; }
@@ -2657,6 +2797,7 @@
2657
2797
  :where(.theme-picker-list) { position-anchor: --lily-theme-picker; }
2658
2798
  :where(.locale-picker-list) { position-anchor: --lily-locale-picker; }
2659
2799
  :where(.text-size-picker-list) { position-anchor: --lily-text-size-picker; }
2800
+ :where(.time-zone-picker-list) { position-anchor: --lily-time-zone-picker; }
2660
2801
  :where(.motion-picker-list) { position-anchor: --lily-motion-picker; }
2661
2802
  :where(.link-picker-list) { position-anchor: --lily-link-picker; }
2662
2803
  :where(.menu-picker-panel) { position-anchor: --lily-menu-picker; }
@@ -2667,6 +2808,7 @@
2667
2808
  .theme-picker-list,
2668
2809
  .locale-picker-list,
2669
2810
  .text-size-picker-list,
2811
+ .time-zone-picker-list,
2670
2812
  .motion-picker-list,
2671
2813
  .link-picker-list,
2672
2814
  .menu-picker-panel,
@@ -2684,11 +2826,12 @@
2684
2826
  }
2685
2827
  }
2686
2828
 
2687
- :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .motion-picker-list)
2829
+ :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .time-zone-picker-list, .motion-picker-list)
2688
2830
  > :where(
2689
2831
  .theme-picker-option,
2690
2832
  .locale-picker-option,
2691
2833
  .text-size-picker-option,
2834
+ .time-zone-picker-option,
2692
2835
  .motion-picker-option
2693
2836
  ) {
2694
2837
  padding: var(--lily-space-xs) var(--lily-space-sm);
@@ -2698,7 +2841,7 @@
2698
2841
 
2699
2842
  /* data-active is the keyboard cursor (aria-activedescendant); focus
2700
2843
  stays on the listbox, so this is the only visible cue for it. */
2701
- :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .motion-picker-list)
2844
+ :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .time-zone-picker-list, .motion-picker-list)
2702
2845
  > :where([data-active]) {
2703
2846
  background-color: var(--lily-surface-alt);
2704
2847
  outline: var(--lily-focus-ring);
@@ -2707,7 +2850,7 @@
2707
2850
 
2708
2851
  /* aria-selected marks the applied theme/locale, which is not the
2709
2852
  same thing as the keyboard cursor. Both can be visible at once. */
2710
- :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .motion-picker-list)
2853
+ :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .time-zone-picker-list, .motion-picker-list)
2711
2854
  > :where([aria-selected="true"]) {
2712
2855
  font-weight: 600;
2713
2856
  background-color: var(--lily-surface-sunken);
@@ -3060,7 +3203,7 @@
3060
3203
  }
3061
3204
  /* Screen-reader-only — visually hidden but available to AT. The
3062
3205
  classic clip-rect pattern (works in every screen reader). */
3063
- :where(.screen-reader-span) {
3206
+ :where(.screen-reader-span, .middle-truncation-full) {
3064
3207
  position: absolute;
3065
3208
  width: 1px;
3066
3209
  height: 1px;
@@ -3071,6 +3214,42 @@
3071
3214
  white-space: nowrap;
3072
3215
  border: 0;
3073
3216
  }
3217
+ /* Middle truncation — a bounded one-line block; the shortened string is aria-hidden and the full
3218
+ text (hidden above) stays in the accessibility tree. */
3219
+ :where(.middle-truncation) {
3220
+ display: block;
3221
+ position: relative;
3222
+ overflow: hidden;
3223
+ white-space: nowrap;
3224
+ }
3225
+ /* Wheel picker — a scrolling listbox that snaps the chosen option to the centre. The selected option is filled with the
3226
+ primary colour (aria-selected, not colour alone: it is also the activedescendant and gets a bold weight). */
3227
+ :where(.wheel-picker-list) {
3228
+ max-block-size: 10em;
3229
+ overflow-y: auto;
3230
+ overscroll-behavior: contain;
3231
+ scroll-snap-type: y mandatory;
3232
+ border: 1px solid var(--color-base-300);
3233
+ border-radius: var(--lily-radius-md);
3234
+ }
3235
+ :where(.wheel-picker-list:focus-visible) {
3236
+ outline: 2px solid var(--lily-focus-ring);
3237
+ outline-offset: 2px;
3238
+ }
3239
+ :where(.wheel-picker-option) {
3240
+ padding: 0.5rem 1rem;
3241
+ scroll-snap-align: center;
3242
+ cursor: pointer;
3243
+ }
3244
+ :where(.wheel-picker-option[aria-selected="true"]) {
3245
+ background-color: var(--color-primary);
3246
+ color: var(--color-primary-content);
3247
+ font-weight: 600;
3248
+ }
3249
+ :where(.wheel-picker-option[aria-disabled="true"]) {
3250
+ opacity: 0.5;
3251
+ cursor: not-allowed;
3252
+ }
3074
3253
 
3075
3254
  /* ==========================================================================
3076
3255
  * Hero, figure, photo, media
@@ -3630,3 +3809,153 @@
3630
3809
  :where(a, code) {
3631
3810
  overflow-wrap: anywhere;
3632
3811
  }
3812
+
3813
+ /* ============================================================================
3814
+ * Helper packages — layout and look, shared verbatim by all themes.
3815
+ *
3816
+ * The data grid, kanban board, Gantt chart and calendar view are wide by nature.
3817
+ * Each root scrolls sideways inside its own box and its table sizes to its content,
3818
+ * so a narrow screen scrolls the table instead of wrapping every cell to a letter
3819
+ * (the overflow guard above lets cells break anywhere, which is right for prose and
3820
+ * wrong for a table that has a scroller). The toolbar controls of all four helpers
3821
+ * share the data grid's look, every button has a >=24px target (WCAG 2.2 2.5.8), and
3822
+ * the Gantt chart draws its bars from `data-in-range`, a milestone as a diamond and
3823
+ * today as a rule. :where() keeps specificity at zero, so any consumer rule wins.
3824
+ * ========================================================================= */
3825
+
3826
+ :where(.data-grid, .kanban-board, .gantt-chart, .calendar-view) {
3827
+ max-inline-size: 100%;
3828
+ overflow-x: auto;
3829
+ }
3830
+
3831
+ :where(.data-grid table, .kanban-board table, .gantt-chart table, .calendar-view table) {
3832
+ inline-size: max-content;
3833
+ min-inline-size: 100%;
3834
+ }
3835
+
3836
+ :where(.kanban-board-export, .gantt-chart-export, .gantt-chart-zoom, .calendar-view-export,
3837
+ .calendar-view-toolbar, .calendar-view-nav, .calendar-view-switcher) {
3838
+ display: flex;
3839
+ flex-wrap: wrap;
3840
+ gap: var(--lily-space-sm);
3841
+ align-items: center;
3842
+ margin-block-end: var(--lily-space-sm);
3843
+ }
3844
+
3845
+ :where(.kanban-board-search, .gantt-chart-search, .calendar-view-search) {
3846
+ padding: var(--lily-space-xs) var(--lily-space-sm);
3847
+ border: var(--border) solid var(--lily-border);
3848
+ border-radius: var(--lily-radius-sm);
3849
+ background-color: var(--lily-surface);
3850
+ color: var(--lily-text);
3851
+ font: inherit;
3852
+ min-block-size: 24px;
3853
+ }
3854
+
3855
+ :where(.kanban-board-export-button,
3856
+ .kanban-board-add-button,
3857
+ .kanban-board-undo-button,
3858
+ .kanban-board-collapse-button,
3859
+ .kanban-board-lane-toggle,
3860
+ .kanban-board-move-button,
3861
+ .gantt-chart-export-button,
3862
+ .gantt-chart-zoom-in-button,
3863
+ .gantt-chart-zoom-out-button,
3864
+ .gantt-chart-collapse-button,
3865
+ .gantt-chart-collapse-all-button,
3866
+ .gantt-chart-expand-all-button,
3867
+ .gantt-chart-save-button,
3868
+ .gantt-chart-cancel-button,
3869
+ .calendar-view-export-button,
3870
+ .calendar-view-previous-button,
3871
+ .calendar-view-next-button,
3872
+ .calendar-view-today-button,
3873
+ .calendar-view-switcher-button) {
3874
+ padding: var(--lily-space-xs) var(--lily-space-md);
3875
+ border: var(--border) solid var(--lily-border);
3876
+ border-radius: var(--lily-radius-sm);
3877
+ background-color: var(--lily-surface);
3878
+ color: var(--lily-text);
3879
+ font: inherit;
3880
+ cursor: pointer;
3881
+ min-inline-size: 24px;
3882
+ min-block-size: 24px;
3883
+ }
3884
+
3885
+ :where(.kanban-board-export-button:disabled,
3886
+ .kanban-board-add-button:disabled,
3887
+ .kanban-board-undo-button:disabled,
3888
+ .gantt-chart-export-button:disabled,
3889
+ .gantt-chart-zoom-in-button:disabled,
3890
+ .gantt-chart-zoom-out-button:disabled,
3891
+ .calendar-view-export-button:disabled,
3892
+ .calendar-view-previous-button[aria-disabled="true"],
3893
+ .calendar-view-next-button[aria-disabled="true"]) {
3894
+ opacity: 0.5;
3895
+ cursor: not-allowed;
3896
+ }
3897
+
3898
+ :where(.calendar-view-switcher-button[aria-pressed="true"]) {
3899
+ background-color: var(--color-base-300);
3900
+ font-weight: 600;
3901
+ }
3902
+
3903
+ :where(.kanban-board-status, .gantt-chart-status, .calendar-view-status) {
3904
+ margin-block-start: var(--lily-space-sm);
3905
+ font-size: 0.875em;
3906
+ opacity: 0.8;
3907
+ }
3908
+
3909
+ :where(.calendar-view-event) {
3910
+ display: block;
3911
+ padding: 0 var(--lily-space-xs);
3912
+ border-radius: var(--lily-radius-sm);
3913
+ background-color: color-mix(in srgb, var(--color-primary) 18%, transparent);
3914
+ font-size: 0.75rem;
3915
+ }
3916
+
3917
+ :where(.gantt-table-th) {
3918
+ min-inline-size: 2rem;
3919
+ padding-inline: 0.25rem;
3920
+ font-size: 0.75rem;
3921
+ text-align: center;
3922
+ white-space: nowrap;
3923
+ }
3924
+
3925
+ :where(.gantt-table-th[scope="row"], .gantt-table-th:first-child) {
3926
+ min-inline-size: 10rem;
3927
+ padding-inline: var(--lily-space-sm);
3928
+ font-size: inherit;
3929
+ text-align: start;
3930
+ white-space: normal;
3931
+ }
3932
+
3933
+ :where(.gantt-table-td) {
3934
+ min-block-size: 1.7rem;
3935
+ padding: 0;
3936
+ }
3937
+
3938
+ :where(.gantt-table-td[data-in-range]) {
3939
+ background-color: var(--color-primary);
3940
+ }
3941
+
3942
+ :where(.gantt-table-td[data-in-range][data-milestone]) {
3943
+ clip-path: polygon(50% 8%, 92% 50%, 50% 92%, 8% 50%);
3944
+ }
3945
+
3946
+ :where(.gantt-table-td[data-today]) {
3947
+ border-inline-start: 2px solid var(--color-accent);
3948
+ }
3949
+
3950
+ /* The time zone picker's options are long ("UTC+10:30 – Lord Howe Daylight Time"): size the list to its widest
3951
+ option up to a cap, then wrap, rather than clipping the name or running off a phone. */
3952
+ :where(.time-zone-picker-list) {
3953
+ inline-size: max-content;
3954
+ max-inline-size: min(26rem, 90vw);
3955
+ max-block-size: min(24rem, 70vh);
3956
+ overflow-y: auto;
3957
+ }
3958
+
3959
+ :where(.time-zone-picker-option) {
3960
+ overflow-wrap: anywhere;
3961
+ }