@lilydesignsystem/themes 0.6.0 → 0.6.1

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 (66) hide show
  1. package/LICENSE.md +8 -8
  2. package/dist/abyss.css +629 -22
  3. package/dist/acid.css +628 -21
  4. package/dist/adobe-spectrum.css +630 -23
  5. package/dist/ant-design.css +628 -21
  6. package/dist/aqua.css +630 -23
  7. package/dist/atlassian.css +628 -21
  8. package/dist/australia-agriculture-design-system.css +4569 -0
  9. package/dist/autumn.css +630 -23
  10. package/dist/black.css +629 -22
  11. package/dist/brazil-padrao-digital-de-governo.css +4569 -0
  12. package/dist/bumblebee.css +631 -24
  13. package/dist/business.css +629 -22
  14. package/dist/canada-government-of-canada-design-system.css +4569 -0
  15. package/dist/cappuccino.css +628 -21
  16. package/dist/caramellatte.css +629 -22
  17. package/dist/cmyk.css +628 -21
  18. package/dist/coffee.css +628 -21
  19. package/dist/corporate.css +632 -25
  20. package/dist/cupcake.css +629 -22
  21. package/dist/cyberpunk.css +628 -21
  22. package/dist/dark.css +630 -23
  23. package/dist/dim.css +628 -21
  24. package/dist/dracula.css +628 -21
  25. package/dist/emerald.css +629 -22
  26. package/dist/european-union-europa-component-library.css +4569 -0
  27. package/dist/excel.css +628 -21
  28. package/dist/fantasy.css +629 -22
  29. package/dist/fluent.css +628 -21
  30. package/dist/forest.css +628 -21
  31. package/dist/garden.css +630 -23
  32. package/dist/github-primer.css +628 -21
  33. package/dist/halloween.css +629 -22
  34. package/dist/ibm-carbon.css +628 -21
  35. package/dist/japan-digital-agency-design-system.css +4569 -0
  36. package/dist/lemonade.css +628 -21
  37. package/dist/light.css +629 -22
  38. package/dist/linear.css +628 -21
  39. package/dist/lofi.css +628 -21
  40. package/dist/luxury.css +628 -21
  41. package/dist/mozilla-protocol.css +630 -23
  42. package/dist/night.css +628 -21
  43. package/dist/nord.css +628 -21
  44. package/dist/notion.css +628 -21
  45. package/dist/pastel.css +635 -28
  46. package/dist/retro.css +632 -25
  47. package/dist/salesforce.css +628 -21
  48. package/dist/sap-fiori.css +628 -21
  49. package/dist/silk.css +629 -22
  50. package/dist/singapore-government-design-system.css +4569 -0
  51. package/dist/sunset.css +628 -21
  52. package/dist/synthwave.css +628 -21
  53. package/dist/united-kingdom-government-digital-service.css +628 -21
  54. package/dist/united-kingdom-national-health-service-england-for-patients.css +652 -32
  55. package/dist/united-kingdom-national-health-service-england-for-practitioners.css +650 -30
  56. package/dist/united-kingdom-national-health-service-scotland-for-patients.css +663 -40
  57. package/dist/united-kingdom-national-health-service-scotland-for-practitioners.css +658 -35
  58. package/dist/united-kingdom-national-health-service-wales-for-patients.css +663 -38
  59. package/dist/united-kingdom-national-health-service-wales-for-practitioners.css +656 -31
  60. package/dist/united-states-web-design-system.css +629 -22
  61. package/dist/valentine.css +632 -25
  62. package/dist/vercel.css +628 -21
  63. package/dist/winter.css +629 -22
  64. package/dist/wireframe.css +628 -21
  65. package/index.md +8 -4
  66. package/package.json +2 -2
@@ -5,8 +5,10 @@
5
5
  *
6
6
  *
7
7
  * Upstream tracked: DHCW / NHS Wales design system (2026 — navy primary,
8
- * gold rail accent, yellow focus). Independent implementation against Lily
9
- * class hooks; not affiliated with or endorsed by NHS Wales / DHCW.
8
+ * gold rail accent, yellow focus; link, hover, visited and active colours
9
+ * from the DHCW Design System private beta of 2026-10-23, read 2026-10-28).
10
+ * Independent implementation against Lily class hooks; not affiliated with
11
+ * or endorsed by NHS Wales / DHCW.
10
12
  * --------------------------------------------------------------------------
11
13
  * Patients variant
12
14
  * --------------------------------------------------------------------------
@@ -376,7 +378,7 @@
376
378
  published NHSW library needs that have no slot in the *
377
379
  upstream `--color-*` contract. They are declared here
378
380
  rather than * inline in the component rules so a consumer
379
- can retheme a DHCW * service by overriding tokens alone. *
381
+ can retheme a DHCW * service by overriding tokens alone. *
380
382
  -----------------------------------------------------------
381
383
  ------- */ /* #FFEB3B — `$nhsw-colour-focus`. The GDS-
382
384
  lineage focus block. */
@@ -404,12 +406,20 @@
404
406
  /* #007F3B — the DHCW action-link green. Not NHS Green: it is
405
407
  a shade darker so the 36px chevron reads at 5.1:1 on white. */
406
408
  --lily-action-green: oklch(52% 0.141 151);
407
- /* #7C2855 — `$nhsw-colour-link-visited`. NHS Purple. 9.2:1. */
408
- --lily-link-visited: oklch(42% 0.126 351);
409
- /* #003087 — `$nhsw-colour-link-hover`, NHS Dark Blue /
410
- Pantone 287. No longer the secondary token, but still the
411
- hovered link. 11.9:1. */
412
- --lily-link-hover: oklch(35% 0.153 261);
409
+ /* #005AA8 — `$nhswales-link-colour`, DHCW Design System
410
+ (private beta, 2026-10-23). 6.94:1 on white, 6.26:1 on
411
+ #F0F4F5: AA, just short of AAA. NHS Blue #005EB8 stays on
412
+ --color-secondary for the header band and brand chrome. */
413
+ --lily-link: oklch(46.8% 0.145 253.1);
414
+ /* #002F5C — `$nhswales-link-active-colour`. 13.45:1 on white. */
415
+ --lily-link-active: oklch(30.5% 0.093 252.7);
416
+ /* #330072 — `$nhswales-link-visited-colour`. 15.18:1 on
417
+ white. (Until 2026-10-28 this was #7C2855, which the DHCW
418
+ Design System uses for hover.) */
419
+ --lily-link-visited: oklch(29% 0.162 292.2);
420
+ /* #7C2855 — `$nhswales-link-hover-colour`. 9.16:1 on white.
421
+ (Until 2026-10-28 this was NHS Dark Blue #003087.) */
422
+ --lily-link-hover: oklch(41.8% 0.126 350.8);
413
423
  /* #00A499 — NHS Aqua Green / Pantone 3272. Demoted from the
414
424
  accent slot but retained: DHCW ships an `aqua-green` tag
415
425
  tone, and Public Health Wales and the Welsh Ambulance
@@ -441,6 +451,14 @@
441
451
  --border: 1px;
442
452
  --depth: 0;
443
453
  --noise: 0;
454
+ /* Fluid inline gutter for page containers and the main
455
+ region: grows with the viewport from a 1rem floor to a 2rem
456
+ ceiling. Spacing only, never text. */
457
+ --space-fluid-gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
458
+ /* Fluid gap between sections (stacks and grids): grows with
459
+ the viewport from a 1rem floor to a 2rem ceiling. Spacing
460
+ only, never text. */
461
+ --space-fluid-section: clamp(1rem, 0.75rem + 1vw, 2rem);
444
462
  }
445
463
 
446
464
  /* ----------------------------------------------------------------------------
@@ -551,7 +569,7 @@
551
569
  /* --- Typography ---------------------------------------------------- */
552
570
  /* Body font stack — system fonts first so consumers get a
553
571
  native-feeling baseline without shipping a web font. */
554
- --lily-font-body:
572
+ --lily-font-body-latin:
555
573
  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
556
574
  Arial, sans-serif;
557
575
  /* Monospaced font stack — used by code, kbd, identifiers, and
@@ -711,9 +729,12 @@
711
729
  }
712
730
 
713
731
  /* Invalid input — red border. The `aria-invalid="true"` attribute is the
714
- ARIA contract; pairing it with a colour change keeps WCAG 1.4.1
715
- (no colour-only meaning) honest because the ARIA state is also there. */
716
- :where([class$="-input"], .input)[aria-invalid="true"] {
732
+ ARIA contract (server-rendered errors); `:user-invalid` is the native
733
+ state that matches only after the user has interacted, so a required
734
+ field is not styled invalid on load. Pairing a colour change with the
735
+ ARIA state keeps WCAG 1.4.1 (no colour-only meaning) honest. */
736
+ :where([class$="-input"], .input)[aria-invalid="true"],
737
+ :where([class$="-input"], .input):user-invalid {
717
738
  border-color: var(--color-error);
718
739
  }
719
740
 
@@ -1071,11 +1092,14 @@
1071
1092
  the published library rather than inventing a third vocabulary, at
1072
1093
  the cost of it not meaning "caution". If you need caution, that is
1073
1094
  the warning-callout below, not a button. */
1095
+ /* DHCW's delete red #D5281B is 5.06:1 under a white label: AA, not the
1096
+ AAA this system targets. The fill is mixed 20% towards black (8.2:1)
1097
+ so the label meets 7:1; the hue is unchanged. */
1074
1098
  :where([class$="-button"], .button)[data-variant="warning"] {
1075
- background-color: var(--color-error);
1099
+ background-color: color-mix(in oklch, var(--color-error) 80%, black);
1076
1100
  color: var(--color-error-content);
1077
- border-color: var(--color-error);
1078
- box-shadow: 0 2px 0 color-mix(in oklch, var(--color-error) 60%, black);
1101
+ border-color: color-mix(in oklch, var(--color-error) 80%, black);
1102
+ box-shadow: 0 2px 0 color-mix(in oklch, var(--color-error) 50%, black);
1079
1103
  }
1080
1104
  :where([class$="-button"], .button)[data-variant="warning"]:hover:not(
1081
1105
  :disabled
@@ -1276,28 +1300,33 @@
1276
1300
  * exclusions (`skip-link`, `back-link`) are styled as buttons above.
1277
1301
  * ====================================================================== */
1278
1302
 
1279
- /* Links are NHS Blue (`$nhsw-colour-link`), i.e. --color-secondary
1280
- under this palette — not the navy primary. Keeping links blue and
1303
+ /* Links are `$nhswales-link-colour` #005AA8 (--lily-link), a shade
1304
+ off NHS Blue #005EB8, which stays on --color-secondary for the
1305
+ header band — not the navy primary. Keeping links blue and
1281
1306
  buttons navy is what lets a reader tell "this navigates" from "this
1282
1307
  acts" without reading either one. */
1283
1308
  :where([class$="-link"]:not(.skip-link):not(.back-link)) {
1284
- color: var(--color-secondary);
1309
+ color: var(--lily-link);
1285
1310
  text-decoration: underline;
1286
1311
  text-underline-offset: 0.12em;
1287
1312
  }
1288
- /* Hover — DHCW drops to NHS Dark Blue #003087 and thickens the rule.
1313
+ /* Hover — DHCW moves to #7C2855 and thickens the rule.
1289
1314
  Both, not either: colour alone is not a state change (WCAG 1.4.1). */
1290
1315
  :where([class$="-link"]):hover {
1291
1316
  color: var(--lily-link-hover);
1292
1317
  text-decoration-thickness: max(3px, 0.1875rem);
1293
1318
  }
1294
- /* Visited — NHS Purple #7C2855 (`$nhsw-colour-link-visited`). Worth
1319
+ /* Visited — #330072 (`$nhswales-link-visited-colour`). Worth
1295
1320
  keeping on a patient surface specifically: someone working through
1296
1321
  a list of conditions or services needs to see where they have
1297
1322
  already been, and that is the whole job of a visited colour. */
1298
1323
  :where([class$="-link"]):visited {
1299
1324
  color: var(--lily-link-visited);
1300
1325
  }
1326
+ /* Active — #002F5C while the link is pressed. */
1327
+ :where([class$="-link"]):active {
1328
+ color: var(--lily-link-active);
1329
+ }
1301
1330
 
1302
1331
  /* ----------------------------------------------------------------------
1303
1332
  * Action link — DHCW's green-chevron call to action
@@ -2162,13 +2191,17 @@
2162
2191
  padding: 0.75rem 1rem;
2163
2192
  }
2164
2193
 
2165
- /* Sticky promo — sits at the very top of the viewport on scroll. */
2194
+ /* Sticky promo — stays at one edge of the viewport on scroll. A bottom banner must not also pin its top edge: with
2195
+ the component's own bottom: 0 it would stretch over the whole page and take every click. */
2166
2196
  :where(.sticky-promo-banner) {
2167
2197
  position: sticky;
2168
- inset-block-start: 0;
2169
2198
  z-index: 10;
2170
2199
  }
2171
2200
 
2201
+ :where(.sticky-promo-banner:not([data-position="bottom"])) {
2202
+ inset-block-start: 0;
2203
+ }
2204
+
2172
2205
  /* Error message — inline form-validation message. */
2173
2206
  :where(.error-message) {
2174
2207
  color: var(--lily-error-text);
@@ -2248,7 +2281,7 @@
2248
2281
  display: block;
2249
2282
  width: 100%;
2250
2283
  margin-inline: auto;
2251
- padding-inline: 1rem;
2284
+ padding-inline: var(--space-fluid-gutter);
2252
2285
  box-sizing: border-box;
2253
2286
  }
2254
2287
  /* Fixed-width — caps at a comfortable reading width (~1152px). */
@@ -2268,11 +2301,11 @@
2268
2301
  :where(.flex-stack) {
2269
2302
  display: flex;
2270
2303
  flex-direction: column;
2271
- gap: 1rem;
2304
+ gap: var(--space-fluid-section);
2272
2305
  }
2273
2306
  :where(.grid) {
2274
2307
  display: grid;
2275
- gap: 1rem;
2308
+ gap: var(--space-fluid-section);
2276
2309
  }
2277
2310
  :where(.masonry) {
2278
2311
  column-count: 3;
@@ -2327,7 +2360,7 @@
2327
2360
  :where(.content-block) {
2328
2361
  max-width: var(--content-width-normal);
2329
2362
  margin-inline: auto;
2330
- padding-inline: 1rem;
2363
+ padding-inline: var(--space-fluid-gutter);
2331
2364
  box-sizing: border-box;
2332
2365
  }
2333
2366
  :where(.content-block[data-width="narrower"]) {
@@ -2345,7 +2378,8 @@
2345
2378
 
2346
2379
  /* --- Grail layout (5-region responsive page shell) --------------------- */
2347
2380
  /* Header spans the top; left-aside / main / right-aside fill the middle;
2348
- footer spans the bottom. At ≤768px the asides drop below the main. */
2381
+ footer spans the bottom. The collapse as the window narrows is in the shared
2382
+ container section at the end of this file. */
2349
2383
  :where(.grail-layout) {
2350
2384
  display: grid;
2351
2385
  min-height: 100vh;
@@ -2385,15 +2419,7 @@
2385
2419
  }
2386
2420
  /* Main content area — primary surface, more generous padding. */
2387
2421
  :where(.grail-layout-center-main) {
2388
- padding: 1.5rem;
2389
- }
2390
- /* Mobile breakpoint — collapse to a single column, stacking the regions. */
2391
- @media (max-width: 48rem) {
2392
- :where(.grail-layout) {
2393
- grid-template-areas: "header" "main" "left" "right" "footer";
2394
- grid-template-columns: 1fr;
2395
- grid-template-rows: auto auto auto auto auto;
2396
- }
2422
+ padding: var(--space-fluid-gutter);
2397
2423
  }
2398
2424
 
2399
2425
  /* Standalone semantic header / footer landmarks. */
@@ -2484,6 +2510,15 @@
2484
2510
  /* Drawers — side panels (right edge by default; RTL-aware via logical
2485
2511
  properties). Sit above the overlay container (z-index 101). */
2486
2512
  :where(.drawer, .slide-out-drawer, .sheet) {
2513
+ /* These are <dialog> elements opened with showModal() (P18-T6): undo the
2514
+ browser's centred-box defaults so the panel docks to the edge. */
2515
+ margin: 0;
2516
+ border: 0;
2517
+ inset-inline-start: auto;
2518
+ max-block-size: none;
2519
+ max-inline-size: none;
2520
+ block-size: 100%;
2521
+ box-sizing: border-box;
2487
2522
  position: fixed;
2488
2523
  inset-block: 0;
2489
2524
  inset-inline-end: 0;
@@ -2496,6 +2531,10 @@
2496
2531
  z-index: 101;
2497
2532
  }
2498
2533
 
2534
+ :where(.drawer, .slide-out-drawer, .sheet)::backdrop {
2535
+ background-color: color-mix(in oklch, black 50%, transparent);
2536
+ }
2537
+
2499
2538
  /* ==========================================================================
2500
2539
  * Menus
2501
2540
  * ====================================================================== */
@@ -2548,7 +2587,7 @@
2548
2587
  gap: 0.25rem;
2549
2588
  }
2550
2589
  /* Hamburger — bordered icon-button. */
2551
- :where(.hamburger-menu) {
2590
+ :where(.hamburger-menu > button) {
2552
2591
  display: inline-flex;
2553
2592
  align-items: center;
2554
2593
  justify-content: center;
@@ -3641,6 +3680,50 @@
3641
3680
  }
3642
3681
  }
3643
3682
 
3683
+ /* Anchored popups (P16-T4). These nine render `popover="manual"`, which puts them in the top layer; the
3684
+ browser's own popover style would centre them in the viewport. Closed, they are display: none (or `hidden`
3685
+ where the Popover API is missing). Where anchor positioning exists, the four that live inside a component
3686
+ open under that component's trigger or input, as wide as it at least; the five that stand alone (tooltip,
3687
+ hover card, floating panel, coachmark, popconfirm) open under the element the consumer names with
3688
+ `position-anchor`, or the invoker of a `popovertarget`. Those five use anchor() with a fallback, not
3689
+ position-area: with no anchor, position-area does nothing and a static position can be off screen. */
3690
+ :where(.cascader-panel, .tree-select-panel, .mentions-input-suggestions, .combobox > [role="listbox"], .tooltip, .hover-card, .floating-panel, .coachmark, .popconfirm-dialog)[hidden] {
3691
+ display: none;
3692
+ }
3693
+
3694
+ :where(.cascader-panel, .tree-select-panel, .mentions-input-suggestions, .combobox > [role="listbox"], .tooltip, .hover-card, .floating-panel, .coachmark, .popconfirm-dialog)[popover]:not(:popover-open) {
3695
+ display: none;
3696
+ }
3697
+
3698
+ @supports (position-area: block-end) {
3699
+ :where(.cascader-trigger) { anchor-name: --lily-cascader; }
3700
+ :where(.tree-select-trigger) { anchor-name: --lily-tree-select; }
3701
+ :where(.mentions-input-control) { anchor-name: --lily-mentions-input; }
3702
+ :where(.combobox > input) { anchor-name: --lily-combobox; }
3703
+ :where(.cascader-panel) { position-anchor: --lily-cascader; }
3704
+ :where(.tree-select-panel) { position-anchor: --lily-tree-select; }
3705
+ :where(.mentions-input-suggestions) { position-anchor: --lily-mentions-input; }
3706
+ :where(.combobox > [role="listbox"]) { position-anchor: --lily-combobox; }
3707
+ :where(.cascader-panel, .tree-select-panel, .mentions-input-suggestions, .combobox > [role="listbox"], .tooltip, .hover-card, .floating-panel, .coachmark, .popconfirm-dialog)[popover] {
3708
+ position: fixed;
3709
+ inset: auto;
3710
+ margin: 0;
3711
+ position-try-fallbacks: flip-inline, flip-block, flip-block flip-inline;
3712
+ width: max-content;
3713
+ max-width: calc(100vw - 1rem);
3714
+ }
3715
+ :where(.tooltip, .hover-card, .floating-panel, .coachmark, .popconfirm-dialog)[popover] {
3716
+ inset-block-start: anchor(end, 25%);
3717
+ inset-inline-start: anchor(start, 25%);
3718
+ }
3719
+ :where(.cascader-panel, .tree-select-panel, .mentions-input-suggestions, .combobox > [role="listbox"])[popover] {
3720
+ position-area: block-end span-inline-end;
3721
+ }
3722
+ :where(.cascader-panel, .tree-select-panel, .mentions-input-suggestions, .combobox > [role="listbox"])[popover] {
3723
+ min-inline-size: anchor-size(inline);
3724
+ }
3725
+ }
3726
+
3644
3727
  :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .time-zone-picker-list, .motion-picker-list)
3645
3728
  > :where(
3646
3729
  .theme-picker-option,
@@ -4819,6 +4902,81 @@
4819
4902
  min-block-size: 24px;
4820
4903
  }
4821
4904
 
4905
+ /* ============================================================================
4906
+ * Coarse pointer targets — WCAG 2.2 2.5.5 (AAA), shared verbatim by all themes.
4907
+ *
4908
+ * Where the primary pointer is coarse (a finger), interactive hooks are at least
4909
+ * 44x44 CSS pixels: buttons, tabs, options, menu items, the page-header picker
4910
+ * buttons, form fields, checkboxes and radios, and the link-shaped navigation
4911
+ * hooks. Links inside running text are exempt, so bare `a` is not listed. The
4912
+ * query is the capability, never a viewport width. :where() keeps specificity
4913
+ * at zero, so any consumer rule still wins.
4914
+ * ========================================================================= */
4915
+
4916
+ @media (pointer: coarse) {
4917
+ :where(button,
4918
+ [role="button"],
4919
+ [role="tab"],
4920
+ [role="option"],
4921
+ [role="menuitem"],
4922
+ [class*="-picker-button"],
4923
+ summary,
4924
+ input:not([type="hidden"]),
4925
+ select,
4926
+ textarea,
4927
+ .action-link,
4928
+ .back-link,
4929
+ .breadcrumb-list-item > a,
4930
+ .pagination-list-item > a,
4931
+ .contents-list-item > a,
4932
+ .section-list-item > a) {
4933
+ min-inline-size: 44px;
4934
+ min-block-size: 44px;
4935
+ }
4936
+ }
4937
+
4938
+ /* ============================================================================
4939
+ * Brand colour — shared verbatim by all themes (spec/visual-identity, P21-T3).
4940
+ *
4941
+ * --lily-brand is the identity's decorative colour: a header band, a rule, a
4942
+ * logo background. It is NEVER a text colour or a control's boundary, because a
4943
+ * brand colour need not reach 4.5:1 (WCAG 1.4.3, 1.4.11). --lily-on-brand is the
4944
+ * text drawn on it. By default they follow the theme's primary pair, which every
4945
+ * theme keeps readable; an adopter whose brand colour is lighter or darker sets
4946
+ * both in their own CSS, with a pair of at least 4.5:1, and text keeps using the
4947
+ * content pairs (--color-base-content, --lily-error-text and so on).
4948
+ * ========================================================================== */
4949
+
4950
+ :where(:root) {
4951
+ --lily-brand: var(--color-primary);
4952
+ --lily-on-brand: var(--color-primary-content);
4953
+ }
4954
+
4955
+ /* ============================================================================
4956
+ * Logo slot — shared verbatim by all themes (spec/visual-identity, P21-T4).
4957
+ *
4958
+ * The adopter's logo link carries data-lily-logo: an <a href="/"> holding the
4959
+ * adopter's own <img alt> or <svg role="img" aria-label>. Lily ships no logo
4960
+ * and no clear-space rule, because national and local guidelines disagree: a
4961
+ * theme or the adopter sets --lily-logo-clear-space (padding around the mark)
4962
+ * and --lily-logo-min-size (its smallest inline size). Both are unset by
4963
+ * default, so nothing changes until one is set.
4964
+ * ========================================================================== */
4965
+
4966
+ @layer lily {
4967
+ :where([data-lily-logo]) {
4968
+ display: inline-block;
4969
+ padding: var(--lily-logo-clear-space, 0);
4970
+ }
4971
+
4972
+ :where([data-lily-logo] > img, [data-lily-logo] > svg) {
4973
+ display: block;
4974
+ min-inline-size: var(--lily-logo-min-size, 0);
4975
+ max-inline-size: 100%;
4976
+ block-size: auto;
4977
+ }
4978
+ }
4979
+
4822
4980
  /* ============================================================================
4823
4981
  * Overflow guards — narrow-viewport safety, shared verbatim by all themes.
4824
4982
  *
@@ -4847,6 +5005,140 @@
4847
5005
  overflow-wrap: anywhere;
4848
5006
  }
4849
5007
 
5008
+ /* ============================================================================
5009
+ * Scoped overflow — shared verbatim by all themes.
5010
+ *
5011
+ * Long unbroken strings (a national identifier, an email address, a URL) and
5012
+ * grid/flex tracks that refuse to shrink are the usual causes of horizontal
5013
+ * page scroll (WCAG 1.4.10). Both fixes are scoped, never put on `body` or `*`:
5014
+ * `overflow-wrap: anywhere` on the places a long value lands (table cells are
5015
+ * covered by Overflow guards above), and `min-inline-size: 0` on the direct
5016
+ * children of Lily's grid and flex containers so a child can shrink below its
5017
+ * content. The identifier `-view` list below is the catalog's 70 national
5018
+ * identifier views (components-categories.tsv); bin/check-theme fails when it
5019
+ * drifts from the catalog. :where() keeps specificity at zero.
5020
+ * ========================================================================= */
5021
+
5022
+ :where(
5023
+ .alba-community-health-index-view,
5024
+ .australia-individual-healthcare-identifier-view,
5025
+ .belgique-numero-de-registre-national-view,
5026
+ .bulgaria-edinen-grazhdanski-nomer-view,
5027
+ .cesko-cestovni-pas-view,
5028
+ .cesko-rodne-cislo-view,
5029
+ .cymru-rhif-y-gwasanaeth-iechyd-gwladol-view,
5030
+ .kypros-national-passport-number-view,
5031
+ .danmark-personnummer-view,
5032
+ .deutschland-krankenversichertennummer-view,
5033
+ .eesti-isikukood-view,
5034
+ .ellada-dematerialised-securities-system-view,
5035
+ .england-national-health-service-number-view,
5036
+ .espana-codigo-de-identificacion-fiscal-view,
5037
+ .espana-tarjeta-sanitaria-individual-view,
5038
+ .france-numero-d-identification-au-repertoire-view,
5039
+ .hrvatska-osobni-identifikacijski-broj-view,
5040
+ .eire-individual-health-identifier-view,
5041
+ .island-kennitala-view,
5042
+ .italia-codice-fiscale-view,
5043
+ .latvija-personas-kods-view,
5044
+ .liechtenstein-national-identity-card-number-view,
5045
+ .liechtenstein-passport-number-view,
5046
+ .lietuva-asmens-kodas-view,
5047
+ .lietuva-pasas-view,
5048
+ .malta-national-identification-number-view,
5049
+ .malta-passport-number-view,
5050
+ .nederland-burgerservice-nummer-view,
5051
+ .nederland-identiteitskaart-nummer-view,
5052
+ .nederland-paspoort-nummer-view,
5053
+ .norge-fodselsnummer-view,
5054
+ .tuaisceart-eireann-health-and-care-number-view,
5055
+ .polska-numer-identyfikacji-podatkowej-view,
5056
+ .polska-pesel-view,
5057
+ .portugal-numero-de-identificacao-fiscal-view,
5058
+ .portugal-passaporte-view,
5059
+ .romania-cod-numeric-personal-view,
5060
+ .romania-pasaport-view,
5061
+ .slovenija-emso-view,
5062
+ .slovensko-pas-view,
5063
+ .slovensko-rodne-cislo-view,
5064
+ .suomi-henkilotunnus-view,
5065
+ .sverige-personnummer-view,
5066
+ .iban-view,
5067
+ .united-kingdom-national-health-service-number-view,
5068
+ .united-kingdom-national-insurance-number-view,
5069
+ .united-states-social-security-number-view,
5070
+ .aotearoa-national-health-index-view,
5071
+ .pilipinas-philhealth-identification-number-view,
5072
+ .brasil-cartao-nacional-de-saude-view,
5073
+ .schweiz-ahv-nummer-view,
5074
+ .canada-social-insurance-number-view,
5075
+ .hanguk-jumin-deungnok-beonho-view,
5076
+ .nihon-kojin-bango-view,
5077
+ .bharat-aadhaar-view,
5078
+ .yisrael-teudat-zehut-view,
5079
+ .south-africa-identity-number-view,
5080
+ .mexico-clave-unica-de-registro-de-poblacion-view,
5081
+ .singapore-national-registration-identity-card-view,
5082
+ .osterreich-sozialversicherungsnummer-view,
5083
+ .magyarorszag-taj-szam-view,
5084
+ .luxembourg-matricule-view,
5085
+ .zhongguo-jumin-shenfenzheng-haoma-view,
5086
+ .rossiya-snils-view,
5087
+ .turkiye-tc-kimlik-numarasi-view,
5088
+ .argentina-codigo-unico-de-identificacion-laboral-view,
5089
+ .ukrayina-reyestratsiyniy-nomer-oblikovoyi-kartky-platnyka-podatkiv-view,
5090
+ .indonesia-nomor-induk-kependudukan-view,
5091
+ .prathet-thai-lek-prajam-tua-prachachon-view,
5092
+ .chile-rol-unico-nacional-view,
5093
+ .taiwan-guomin-shenfenzheng-tongyi-bianhao-view,
5094
+ .hong-kong-identity-card-view,
5095
+ .iran-kod-e-melli-view,
5096
+ .as-saudiyah-raqm-al-huwiyah-al-wataniyah-view,
5097
+ .malaysia-kad-pengenalan-view,
5098
+ .viet-nam-can-cuoc-cong-dan-view,
5099
+ .pakistan-computerized-national-identity-card-view,
5100
+ .uruguay-cedula-de-identidad-view,
5101
+ .ecuador-cedula-de-identidad-view,
5102
+ .colombia-cedula-de-ciudadania-view,
5103
+ .australia-tax-file-number-view,
5104
+ .nigeria-national-identification-number-view,
5105
+ .misr-al-raqm-al-qawmi-view
5106
+ ) {
5107
+ overflow-wrap: anywhere;
5108
+ }
5109
+
5110
+ /* overflow-wrap is inherited, so this reaches whatever the consumer puts in an item (dd, span, strong). */
5111
+ :where(.summary-list, .summary-list-item, .description-list) {
5112
+ overflow-wrap: anywhere;
5113
+ }
5114
+
5115
+ :where(
5116
+ .grid,
5117
+ .flex-stack,
5118
+ .grail-layout,
5119
+ .summary-list,
5120
+ .summary-list-item,
5121
+ .description-list,
5122
+ .form,
5123
+ .editable-form,
5124
+ .field,
5125
+ .input-group,
5126
+ .button-group,
5127
+ .radio-group,
5128
+ .checkbox-group,
5129
+ .toggle-group,
5130
+ .tag-group,
5131
+ .split-view,
5132
+ .photo-pack,
5133
+ .data-filter-form,
5134
+ .action-bar,
5135
+ .tool-bar,
5136
+ .menu-bar,
5137
+ .tab-bar
5138
+ ) > :where(*) {
5139
+ min-inline-size: 0;
5140
+ }
5141
+
4850
5142
  /* ============================================================================
4851
5143
  * Helper packages — layout and look, shared verbatim by all themes.
4852
5144
  *
@@ -4974,6 +5266,8 @@
4974
5266
 
4975
5267
  :where(.gantt-table-td[data-in-range]) {
4976
5268
  background-color: var(--color-primary);
5269
+ /* Text inside a bar (the Alpine port's milestone label, say) sits on the primary fill. */
5270
+ color: var(--color-primary-content);
4977
5271
  }
4978
5272
 
4979
5273
  :where(.gantt-table-td[data-in-range][data-milestone]) {
@@ -4996,3 +5290,334 @@
4996
5290
  :where(.time-zone-picker-option) {
4997
5291
  overflow-wrap: anywhere;
4998
5292
  }
5293
+
5294
+ /* ============================================================================
5295
+ * Overflow navigation — shared verbatim by all themes.
5296
+ *
5297
+ * The `overflow` mode of `navigation-menu` (contract: components/navigation-menu/index.md).
5298
+ * With no script the list simply wraps, so every link stays reachable at 320 CSS pixels
5299
+ * (WCAG 1.4.10) and the "More" item stays `hidden`. With the script a ResizeObserver moves
5300
+ * the links that do not fit into the More list. That list is in normal flow (position
5301
+ * static, never absolute), so opening it pushes the content below down and never covers it
5302
+ * (WCAG 2.4.11). Every target is at least 24 x 24 CSS pixels (WCAG 2.5.8). :where() keeps
5303
+ * specificity at zero, so any consumer rule wins.
5304
+ * ========================================================================= */
5305
+
5306
+ :where(.navigation-menu-list) {
5307
+ display: flex;
5308
+ flex: 1 1 auto;
5309
+ flex-wrap: wrap;
5310
+ align-items: flex-start;
5311
+ gap: 0.25rem 0.5rem;
5312
+ min-inline-size: 0;
5313
+ margin: 0;
5314
+ padding: 0;
5315
+ list-style: none;
5316
+ }
5317
+
5318
+ :where(.navigation-menu-list > li > a, .navigation-menu-more-list > li > a) {
5319
+ display: inline-block;
5320
+ min-inline-size: 24px;
5321
+ min-block-size: 24px;
5322
+ }
5323
+
5324
+ :where(.navigation-menu-more) {
5325
+ position: static;
5326
+ }
5327
+
5328
+ :where(.navigation-menu-more[hidden], .navigation-menu-more-list[hidden]) {
5329
+ display: none;
5330
+ }
5331
+
5332
+ :where(.navigation-menu-more-button) {
5333
+ min-inline-size: 24px;
5334
+ min-block-size: 24px;
5335
+ padding: 0.25rem 0.5rem;
5336
+ font: inherit;
5337
+ color: inherit;
5338
+ background: transparent;
5339
+ border: 1px solid currentcolor;
5340
+ cursor: pointer;
5341
+ }
5342
+
5343
+ :where(.navigation-menu-more-list) {
5344
+ position: static;
5345
+ margin: 0.25rem 0 0;
5346
+ padding: 0;
5347
+ list-style: none;
5348
+ }
5349
+
5350
+ /* ============================================================================
5351
+ * Container queries — shared verbatim by all themes.
5352
+ *
5353
+ * A component answers to the space it is given, not to the window: a summary
5354
+ * list in a narrow aside on a wide screen needs the narrow layout, which the
5355
+ * viewport query above cannot know. The three grail-layout regions are the
5356
+ * containers because their width comes from a grid track (`minmax(0, 1fr)`), so
5357
+ * inline-size containment cannot collapse them. `.card` is deliberately not a
5358
+ * container: in a shrink-to-fit parent (a flex row, an inline grid) containment
5359
+ * would collapse it to nothing. A component outside a grail region has no
5360
+ * container and keeps its wide layout. :where() keeps specificity at zero, so
5361
+ * any consumer rule wins.
5362
+ * ========================================================================= */
5363
+
5364
+ :where(.grail-layout-left-aside, .grail-layout-center-main, .grail-layout-right-aside) {
5365
+ container-type: inline-size;
5366
+ }
5367
+
5368
+ /* grail-layout collapse (contract: components/grail-layout/AGENTS.md). The page shell answers to the
5369
+ window, so these are viewport queries: the grail-layout root is not a container, only its regions are.
5370
+ Priority: the right aside collapses first (at lg it drops below main, full width), then the left aside
5371
+ (at md everything is one column). Every step keeps DOM order = visual order (header, left aside, main,
5372
+ right aside, footer), so reading and tab order match what is seen (WCAG 1.3.2, 2.4.3); nothing is
5373
+ hidden, so all content stays reachable. */
5374
+ @media (max-width: 64rem) {
5375
+ :where(.grail-layout) {
5376
+ grid-template-areas:
5377
+ "header header"
5378
+ "left main"
5379
+ "right right"
5380
+ "footer footer";
5381
+ grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
5382
+ grid-template-rows: auto auto auto auto;
5383
+ }
5384
+ }
5385
+
5386
+ @media (max-width: 48rem) {
5387
+ :where(.grail-layout) {
5388
+ grid-template-areas:
5389
+ "header"
5390
+ "left"
5391
+ "main"
5392
+ "right"
5393
+ "footer";
5394
+ grid-template-columns: minmax(0, 1fr);
5395
+ grid-template-rows: auto auto auto auto auto;
5396
+ }
5397
+ }
5398
+
5399
+ @container (max-width: 30rem) {
5400
+ :where(.summary-list) {
5401
+ grid-template-columns: minmax(0, 1fr);
5402
+ row-gap: 0.25rem;
5403
+ }
5404
+
5405
+ :where(.kanban-table-td) {
5406
+ min-width: 10rem;
5407
+ }
5408
+
5409
+ :where(.data-table, .calendar-table, .kanban-table, .gantt-table) :where(th, td) {
5410
+ padding-inline: 0.5rem;
5411
+ }
5412
+ }
5413
+
5414
+ /* ============================================================================
5415
+ * Focus not obscured — shared verbatim by all themes.
5416
+ *
5417
+ * WCAG 2.2 SC 2.4.11 (Focus Not Obscured, Minimum): a focused control is never
5418
+ * entirely hidden by author-created content, such as a bar fixed to the top or
5419
+ * bottom of the viewport. The browser scrolls a focused control into view, but
5420
+ * only as far as the edge of the viewport, which is where a fixed bar sits.
5421
+ * `scroll-padding` moves that edge in by the bar's height.
5422
+ *
5423
+ * Contract: whatever fixes a bar to the viewport (sticky-promo-banner, a
5424
+ * theme's or an app's own fixed header, a mobile bottom navigation) sets the
5425
+ * bar's height on the root element:
5426
+ *
5427
+ * --lily-fixed-bar-block-start: 4rem; (a bar fixed at the top)
5428
+ * --lily-fixed-bar-block-end: 3rem; (a bar fixed at the bottom)
5429
+ *
5430
+ * With both bars, set both. The defaults are 0px, so a page without a fixed bar
5431
+ * is unchanged. Specificity is zero (`:where`), so an app's own
5432
+ * `scroll-padding` wins.
5433
+ * ========================================================================= */
5434
+
5435
+ :where(html) {
5436
+ scroll-padding-block: var(--lily-fixed-bar-block-start, 0px) var(--lily-fixed-bar-block-end, 0px);
5437
+ }
5438
+
5439
+ /* ============================================================================
5440
+ * Text size and motion preferences — shared verbatim by all themes.
5441
+ *
5442
+ * The text-size-picker sets `data-text-size` on the root and the motion-picker
5443
+ * sets `data-motion`; neither styles anything itself. These rules are what make
5444
+ * the choice visible.
5445
+ *
5446
+ * Text size: the seven steps scale the root font size, and every theme sizes in
5447
+ * `rem`, so the whole page follows (WCAG 1.4.4). `normal` is 100% (the viewer's
5448
+ * own browser setting), and the scale is percentages of that, never pixels, so
5449
+ * a viewer who raised their browser font size keeps it. The steps below
5450
+ * `normal` are the viewer's explicit choice.
5451
+ *
5452
+ * Motion: `data-motion="reduce"` shortens every animation and transition to
5453
+ * 0.01ms instead of removing it. The end state still arrives and `animationend`
5454
+ * / `transitionend` still fire, so nothing that depends on them breaks and no
5455
+ * information is lost: a spinner's `role="status"` text, a disclosure's open
5456
+ * state and a toast's content are untouched. Scrolling is instant.
5457
+ * ========================================================================= */
5458
+
5459
+ :where(html[data-text-size="smallest"]) { font-size: 80%; }
5460
+ :where(html[data-text-size="smaller"]) { font-size: 90%; }
5461
+ :where(html[data-text-size="small"]) { font-size: 95%; }
5462
+ :where(html[data-text-size="normal"]) { font-size: 100%; }
5463
+ :where(html[data-text-size="large"]) { font-size: 110%; }
5464
+ :where(html[data-text-size="larger"]) { font-size: 125%; }
5465
+ :where(html[data-text-size="largest"]) { font-size: 150%; }
5466
+
5467
+ :where(html[data-motion="reduce"]) {
5468
+ scroll-behavior: auto;
5469
+ }
5470
+ :where(html[data-motion="reduce"], html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after) {
5471
+ animation-duration: 0.01ms !important;
5472
+ animation-iteration-count: 1 !important;
5473
+ animation-delay: 0s !important;
5474
+ transition-duration: 0.01ms !important;
5475
+ transition-delay: 0s !important;
5476
+ scroll-behavior: auto !important;
5477
+ }
5478
+
5479
+ /* ============================================================================
5480
+ * Forced colours and contrast preference — shared verbatim by all themes.
5481
+ *
5482
+ * Forced colours (Windows High Contrast, `forced-colors: active`): the browser
5483
+ * replaces every colour with a system colour, which erases anything a control
5484
+ * told apart by background alone. These rules give such controls a border,
5485
+ * keep the focus ring, and mark selected and current items with `Highlight`
5486
+ * and `SelectedItem` rather than a tint (WCAG 1.4.1, 2.4.7, 1.4.11).
5487
+ *
5488
+ * Contrast preference (`prefers-contrast: more`): a heavier border on controls
5489
+ * and a thicker focus ring. Colours are not changed here; a theme's colours are
5490
+ * its author's decision.
5491
+ * ========================================================================= */
5492
+
5493
+ @media (forced-colors: active) {
5494
+ :where(button, input, select, textarea, summary, [role="button"], [role="option"], [role="tab"], [role="menuitem"], [role="switch"], [role="checkbox"], [role="radio"], [class$="-button"]) {
5495
+ border: 1px solid ButtonBorder;
5496
+ }
5497
+ :where(a, button, input, select, textarea, summary, [tabindex], [role="button"], [role="option"], [role="tab"], [class$="-button"]):focus-visible {
5498
+ outline: 3px solid Highlight;
5499
+ outline-offset: 2px;
5500
+ }
5501
+ :where([aria-selected="true"], [aria-pressed="true"], [aria-checked="true"], [data-active]) {
5502
+ background: SelectedItem;
5503
+ color: SelectedItemText;
5504
+ forced-color-adjust: none;
5505
+ }
5506
+ :where([aria-current]:not([aria-current="false"])) {
5507
+ outline: 2px solid Highlight;
5508
+ outline-offset: -2px;
5509
+ }
5510
+ :where(:disabled, [aria-disabled="true"]) {
5511
+ border-color: GrayText;
5512
+ color: GrayText;
5513
+ }
5514
+ }
5515
+
5516
+ @media (prefers-contrast: more) {
5517
+ :where(button, input, select, textarea, [role="button"], [class$="-button"]) {
5518
+ border-width: 2px;
5519
+ border-style: solid;
5520
+ border-color: currentColor;
5521
+ }
5522
+ :where(a, button, input, select, textarea, summary, [tabindex], [role="button"], [role="option"], [role="tab"], [class$="-button"]):focus-visible {
5523
+ outline-width: 3px;
5524
+ outline-offset: 2px;
5525
+ }
5526
+ }
5527
+
5528
+ /* ============================================================================
5529
+ * Writing systems — shared verbatim by all themes.
5530
+ *
5531
+ * A theme names its Latin font stack (`--lily-font-body-latin`). This section
5532
+ * builds `--lily-font-body` from it, with the system fonts of the element's
5533
+ * script in front: Chinese (Simplified, Traditional, Hong Kong), Japanese,
5534
+ * Korean, Arabic script (Arabic, Persian, Urdu in Nastaliq), Hebrew, the Indic
5535
+ * scripts the site's locales use (Devanagari, Bengali, Gujarati, Gurmukhi,
5536
+ * Kannada, Tamil, Telugu), Thai, Lao and Khmer. Han characters are shared by
5537
+ * Chinese and Japanese but drawn differently, so the language picks the font,
5538
+ * not the script.
5539
+ *
5540
+ * `--lily-font-body` is re-declared on every element with a `lang`, so a
5541
+ * `<p lang="ja">` inside an English page gets Japanese fonts and a
5542
+ * `<span lang="en">` inside it gets none. A language not listed here keeps the
5543
+ * Latin stack, whose final generic family the browser resolves per language.
5544
+ *
5545
+ * `--lily-line-height-body` is 1.5, and 1.75 for scripts with tall marks above
5546
+ * and below the line (Arabic script, the Indic scripts, Thai, Lao, Khmer).
5547
+ * Elements with a `lang` use it; the app's body text should too.
5548
+ *
5549
+ * To change a theme's font, set `--lily-font-body-latin`; to change a script's,
5550
+ * set `--lily-font-script` under `:lang(...)`. Overriding `--lily-font-body`
5551
+ * itself still works on the element you set it on.
5552
+ * ========================================================================= */
5553
+
5554
+ :where(:root, [lang]) {
5555
+ --lily-font-body: var(--lily-font-script,) var(--lily-font-body-latin);
5556
+ --lily-line-height-body: 1.5;
5557
+ }
5558
+
5559
+ :where([lang]) {
5560
+ --lily-font-script: initial;
5561
+ line-height: var(--lily-line-height-body);
5562
+ }
5563
+
5564
+ :where([lang|="zh"], [lang|="wuu"]) {
5565
+ --lily-font-script: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC",;
5566
+ }
5567
+ :where([lang|="zh-Hant"], [lang="zh-TW"], [lang|="zh-Hant-TW"]) {
5568
+ --lily-font-script: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", "Source Han Sans TC",;
5569
+ }
5570
+ :where([lang="zh-HK"], [lang="zh-MO"], [lang|="zh-Hant-HK"], [lang|="yue"]) {
5571
+ --lily-font-script: "PingFang HK", "Microsoft JhengHei", "Noto Sans HK", "Noto Sans CJK HK", "Source Han Sans HC",;
5572
+ }
5573
+ :where([lang|="ja"]) {
5574
+ --lily-font-script: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "Noto Sans CJK JP",;
5575
+ }
5576
+ :where([lang|="ko"]) {
5577
+ --lily-font-script: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR",;
5578
+ }
5579
+ :where([lang|="ar"], [lang|="fa"], [lang|="ps"], [lang|="ku"], [lang|="sd"], [lang|="ug"]) {
5580
+ --lily-font-script: "Segoe UI", "Geeza Pro", "Noto Sans Arabic", "Noto Naskh Arabic", Tahoma,;
5581
+ }
5582
+ :where([lang|="ur"]) {
5583
+ --lily-font-script: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Segoe UI", "Geeza Pro", "Noto Sans Arabic", Tahoma,;
5584
+ }
5585
+ :where([lang|="he"], [lang|="yi"]) {
5586
+ --lily-font-script: "Segoe UI", "Arial Hebrew", "Noto Sans Hebrew",;
5587
+ }
5588
+ :where([lang|="hi"], [lang|="mr"], [lang|="ne"], [lang|="bh"], [lang|="sa"], [lang|="mai"]) {
5589
+ --lily-font-script: "Nirmala UI", "Kohinoor Devanagari", "Devanagari Sangam MN", "Noto Sans Devanagari",;
5590
+ }
5591
+ :where([lang|="bn"], [lang|="as"]) {
5592
+ --lily-font-script: "Nirmala UI", "Kohinoor Bangla", "Bangla Sangam MN", "Noto Sans Bengali",;
5593
+ }
5594
+ :where([lang|="gu"]) {
5595
+ --lily-font-script: "Nirmala UI", "Kohinoor Gujarati", "Gujarati Sangam MN", "Noto Sans Gujarati",;
5596
+ }
5597
+ :where([lang|="pa"]) {
5598
+ --lily-font-script: "Nirmala UI", "Gurmukhi Sangam MN", "Gurmukhi MN", "Noto Sans Gurmukhi",;
5599
+ }
5600
+ :where([lang|="kn"]) {
5601
+ --lily-font-script: "Nirmala UI", "Kannada Sangam MN", "Noto Sans Kannada",;
5602
+ }
5603
+ :where([lang|="ta"]) {
5604
+ --lily-font-script: "Nirmala UI", "Tamil Sangam MN", "Noto Sans Tamil",;
5605
+ }
5606
+ :where([lang|="te"]) {
5607
+ --lily-font-script: "Nirmala UI", "Kohinoor Telugu", "Telugu Sangam MN", "Noto Sans Telugu",;
5608
+ }
5609
+ :where([lang|="th"]) {
5610
+ --lily-font-script: "Leelawadee UI", Thonburi, "Noto Sans Thai",;
5611
+ }
5612
+ :where([lang|="lo"]) {
5613
+ --lily-font-script: "Leelawadee UI", "Lao Sangam MN", "Noto Sans Lao",;
5614
+ }
5615
+ :where([lang|="km"]) {
5616
+ --lily-font-script: "Khmer UI", "Khmer Sangam MN", "Noto Sans Khmer",;
5617
+ }
5618
+ :where([lang|="ar"], [lang|="fa"], [lang|="ps"], [lang|="ku"], [lang|="sd"], [lang|="ug"], [lang|="ur"],
5619
+ [lang|="hi"], [lang|="mr"], [lang|="ne"], [lang|="bh"], [lang|="sa"], [lang|="mai"], [lang|="bn"],
5620
+ [lang|="as"], [lang|="gu"], [lang|="pa"], [lang|="kn"], [lang|="ta"], [lang|="te"], [lang|="th"],
5621
+ [lang|="lo"], [lang|="km"]) {
5622
+ --lily-line-height-body: 1.75;
5623
+ }