@lilydesignsystem/themes 0.6.0 → 0.6.2

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 +635 -22
  3. package/dist/acid.css +634 -21
  4. package/dist/adobe-spectrum.css +636 -23
  5. package/dist/ant-design.css +634 -21
  6. package/dist/aqua.css +636 -23
  7. package/dist/atlassian.css +634 -21
  8. package/dist/australia-agriculture-design-system.css +4575 -0
  9. package/dist/autumn.css +636 -23
  10. package/dist/black.css +635 -22
  11. package/dist/brazil-padrao-digital-de-governo.css +4575 -0
  12. package/dist/bumblebee.css +637 -24
  13. package/dist/business.css +635 -22
  14. package/dist/canada-government-of-canada-design-system.css +4575 -0
  15. package/dist/cappuccino.css +634 -21
  16. package/dist/caramellatte.css +635 -22
  17. package/dist/cmyk.css +634 -21
  18. package/dist/coffee.css +634 -21
  19. package/dist/corporate.css +638 -25
  20. package/dist/cupcake.css +635 -22
  21. package/dist/cyberpunk.css +634 -21
  22. package/dist/dark.css +636 -23
  23. package/dist/dim.css +634 -21
  24. package/dist/dracula.css +634 -21
  25. package/dist/emerald.css +635 -22
  26. package/dist/european-union-europa-component-library.css +4575 -0
  27. package/dist/excel.css +634 -21
  28. package/dist/fantasy.css +635 -22
  29. package/dist/fluent.css +634 -21
  30. package/dist/forest.css +634 -21
  31. package/dist/garden.css +636 -23
  32. package/dist/github-primer.css +634 -21
  33. package/dist/halloween.css +635 -22
  34. package/dist/ibm-carbon.css +634 -21
  35. package/dist/japan-digital-agency-design-system.css +4575 -0
  36. package/dist/lemonade.css +634 -21
  37. package/dist/light.css +635 -22
  38. package/dist/linear.css +634 -21
  39. package/dist/lofi.css +634 -21
  40. package/dist/luxury.css +634 -21
  41. package/dist/mozilla-protocol.css +636 -23
  42. package/dist/night.css +634 -21
  43. package/dist/nord.css +634 -21
  44. package/dist/notion.css +634 -21
  45. package/dist/pastel.css +641 -28
  46. package/dist/retro.css +638 -25
  47. package/dist/salesforce.css +634 -21
  48. package/dist/sap-fiori.css +634 -21
  49. package/dist/silk.css +635 -22
  50. package/dist/singapore-government-design-system.css +4575 -0
  51. package/dist/sunset.css +634 -21
  52. package/dist/synthwave.css +634 -21
  53. package/dist/united-kingdom-government-digital-service.css +634 -21
  54. package/dist/united-kingdom-national-health-service-england-for-patients.css +658 -32
  55. package/dist/united-kingdom-national-health-service-england-for-practitioners.css +656 -30
  56. package/dist/united-kingdom-national-health-service-scotland-for-patients.css +669 -40
  57. package/dist/united-kingdom-national-health-service-scotland-for-practitioners.css +664 -35
  58. package/dist/united-kingdom-national-health-service-wales-for-patients.css +669 -38
  59. package/dist/united-kingdom-national-health-service-wales-for-practitioners.css +662 -31
  60. package/dist/united-states-web-design-system.css +635 -22
  61. package/dist/valentine.css +638 -25
  62. package/dist/vercel.css +634 -21
  63. package/dist/winter.css +635 -22
  64. package/dist/wireframe.css +634 -21
  65. package/index.md +8 -4
  66. package/package.json +2 -2
@@ -18,8 +18,10 @@
18
18
  * more clinical reading of the same palette with magenta/violet
19
19
  * callouts reserved for safety messaging.
20
20
  *
21
- * Upstream tracked: NHS.UK frontend v9.x visual language (v10 is in
22
- * pre-release; re-check the palette when it goes stable). Independent
21
+ * Upstream tracked: nhsuk-frontend 10.7.1 (npm, published 2026-10-29;
22
+ * re-baselined from 9.x on 2026-10-29 against the package's Sass
23
+ * settings and CHANGELOG; v10 has been stable since 10.0.0 on
24
+ * 2025-08-26). Independent
23
25
  * implementation against Lily class hooks; not affiliated with or
24
26
  * endorsed by the NHS.
25
27
  *
@@ -37,10 +39,15 @@
37
39
  * https://www.gov.scot/publications/digital-scotland-service-standard/
38
40
  * - Typography: Frutiger W01 (primary, shared with NHS UK), Roboto for
39
41
  * NHS Inform body copy, Arial / system-ui as the universal fallback.
40
- * - Base font size: 16px; modular scale matches NHS UK (14/16/19/22/26/
41
- * 32/48/64) so components ported from the NHS UK frontend "just work".
42
- * - Spacing scale (px): 0, 4, 8, 12, 16, 24, 32, 40, 48, 64 — identical
43
- * to NHS UK frontend's `$nhsuk-spacing-responsive-scale`.
42
+ * - Base font size: 16px; type scale follows nhsuk-frontend 10 (tablet
43
+ * px 14/16/19/22/26/36/48/64; point 24 was removed in 10.0.0) so
44
+ * components ported from the NHS UK frontend "just work".
45
+ * - Spacing: nhsuk-frontend 10 spacing points (px) are 0, 4, 8, 16, 24,
46
+ * 32, 40, 48, 56, 64 (`$nhsuk-spacing-points`, unchanged from 9.x).
47
+ * - Scotland: no NHS Scotland or NHS Inform frontend package is
48
+ * published (npm search, 2026-10-29), so this theme takes
49
+ * nhsuk-frontend plus the Scottish palette below, which keeps its own
50
+ * values.
44
51
  * - WCAG 2.2 AA mandated by the Digital Scotland Service Standard;
45
52
  * Lily targets AAA. The focus indicator below clears AAA at 3:1
46
53
  * against every surface in the theme.
@@ -84,7 +91,10 @@
84
91
  * NHS Emergency Red #DA291C error / destructive action, also
85
92
  * the colour used on the "999" badge
86
93
  * inside NHS Inform.
87
- * NHS Green #009639 success / confirmation.
94
+ * NHS.UK Green #007F3B success / confirmation (nhsuk-frontend
95
+ * 10 `$nhsuk-success-colour`; was NHS
96
+ * Identity green #009639 until
97
+ * 2026-10-29).
88
98
  * NHS Dark Green #006747 success hover / pressed state.
89
99
  *
90
100
  * Geometry rules (shared with NHS UK frontend)
@@ -198,13 +208,17 @@
198
208
  --color-info: oklch(54% 0.17 247);
199
209
  --color-info-content: oklch(100% 0 0);
200
210
  /* ---- Success (NHS Green)
201
- -------------------------------------------- */ /* NHS
202
- Green #009639 — confirmation panels, completed-step
203
- indicators */ /* ("you have been booked"), and the success
204
- state on form summaries. */ /* Identical role and contrast
205
- target as the NHS UK system so shared */ /* components
206
- carry the same meaning across the border. */
207
- --color-success: oklch(56% 0.16 145);
211
+ -------------------------------------------- */ /* NHS.UK
212
+ frontend green #007F3B — confirmation panels, completed-
213
+ step indicators */ /* ("you have been booked"), and the
214
+ success state on form summaries. */ /* Identical role and
215
+ contrast target as the NHS UK system so shared */ /*
216
+ components carry the same meaning across the border. Re-
217
+ baselined 2026-10-29 to nhsuk-frontend 10.7.1 `$nhsuk-
218
+ success-colour` (core/settings/_colours-applied.scss, new
219
+ in v10); it was NHS Identity green #009639, which gave
220
+ white content 4.37:1 (below AA). Now 5.19:1. */
221
+ --color-success: oklch(52% 0.14 151);
208
222
  --color-success-content: oklch(100% 0 0);
209
223
  /* ---- Warning (NHS Warm Yellow)
210
224
  -------------------------------------- */ /* NHS Warm
@@ -244,11 +258,13 @@
244
258
  /* Inner padding hints for selectors and fields (Lily sizing). */
245
259
  --size-selector: 0.25rem;
246
260
  --size-field: 0.25rem;
247
- /* Border width: 1px hairline, matching `$nhsuk-border-width-
248
- form`. */ /* NHS Scotland's primary buttons use a 4px
249
- bottom shadow border in */ /* their own implementation;
250
- that is left to example-app CSS so the */ /* Lily token
251
- stays the universal 1px hairline. */
261
+ /* Border width: 1px hairline, Lily's own hairline, not an
262
+ upstream value: nhsuk-frontend 10 has no `$nhsuk-border-
263
+ width-form`; its form controls use `$nhsuk-border-width-
264
+ form-element` (2px). */ /* NHS Scotland's primary buttons
265
+ use a 4px bottom shadow border in */ /* their own
266
+ implementation; that is left to example-app CSS so the */
267
+ /* Lily token stays the universal 1px hairline. */
252
268
  --border: 1px;
253
269
  /* Depth & noise off — NHS Scotland identity guidance, like
254
270
  NHS UK, */ /* avoids shadows, gradients, and textures so
@@ -257,6 +273,14 @@
257
273
  settings. */
258
274
  --depth: 0;
259
275
  --noise: 0;
276
+ /* Fluid inline gutter for page containers and the main
277
+ region: grows with the viewport from a 1rem floor to a 2rem
278
+ ceiling. Spacing only, never text. */
279
+ --space-fluid-gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
280
+ /* Fluid gap between sections (stacks and grids): grows with
281
+ the viewport from a 1rem floor to a 2rem ceiling. Spacing
282
+ only, never text. */
283
+ --space-fluid-section: clamp(1rem, 0.75rem + 1vw, 2rem);
260
284
  }
261
285
 
262
286
  /* ----------------------------------------------------------------------------
@@ -355,7 +379,7 @@
355
379
  /* --- Typography ---------------------------------------------------- */
356
380
  /* Body font stack — system fonts first so consumers get a
357
381
  native-feeling baseline without shipping a web font. */
358
- --lily-font-body:
382
+ --lily-font-body-latin:
359
383
  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
360
384
  Arial, sans-serif;
361
385
  /* Monospaced font stack — used by code, kbd, identifiers, and
@@ -462,9 +486,12 @@
462
486
  }
463
487
 
464
488
  /* Invalid input — red border. The `aria-invalid="true"` attribute is the
465
- ARIA contract; pairing it with a colour change keeps WCAG 1.4.1
466
- (no colour-only meaning) honest because the ARIA state is also there. */
467
- :where([class$="-input"], .input)[aria-invalid="true"] {
489
+ ARIA contract (server-rendered errors); `:user-invalid` is the native
490
+ state that matches only after the user has interacted, so a required
491
+ field is not styled invalid on load. Pairing a colour change with the
492
+ ARIA state keeps WCAG 1.4.1 (no colour-only meaning) honest. */
493
+ :where([class$="-input"], .input)[aria-invalid="true"],
494
+ :where([class$="-input"], .input):user-invalid {
468
495
  border-color: var(--color-error);
469
496
  }
470
497
 
@@ -1608,13 +1635,17 @@
1608
1635
  padding: 0.75rem 1rem;
1609
1636
  }
1610
1637
 
1611
- /* Sticky promo — sits at the very top of the viewport on scroll. */
1638
+ /* Sticky promo — stays at one edge of the viewport on scroll. A bottom banner must not also pin its top edge: with
1639
+ the component's own bottom: 0 it would stretch over the whole page and take every click. */
1612
1640
  :where(.sticky-promo-banner) {
1613
1641
  position: sticky;
1614
- inset-block-start: 0;
1615
1642
  z-index: 10;
1616
1643
  }
1617
1644
 
1645
+ :where(.sticky-promo-banner:not([data-position="bottom"])) {
1646
+ inset-block-start: 0;
1647
+ }
1648
+
1618
1649
  /* Error message — inline form-validation message. */
1619
1650
  :where(.error-message) {
1620
1651
  color: var(--lily-error-text);
@@ -1694,7 +1725,7 @@
1694
1725
  display: block;
1695
1726
  width: 100%;
1696
1727
  margin-inline: auto;
1697
- padding-inline: 1rem;
1728
+ padding-inline: var(--space-fluid-gutter);
1698
1729
  box-sizing: border-box;
1699
1730
  }
1700
1731
  /* Fixed-width — caps at a comfortable reading width (~1152px). */
@@ -1714,11 +1745,11 @@
1714
1745
  :where(.flex-stack) {
1715
1746
  display: flex;
1716
1747
  flex-direction: column;
1717
- gap: 1rem;
1748
+ gap: var(--space-fluid-section);
1718
1749
  }
1719
1750
  :where(.grid) {
1720
1751
  display: grid;
1721
- gap: 1rem;
1752
+ gap: var(--space-fluid-section);
1722
1753
  }
1723
1754
  :where(.masonry) {
1724
1755
  column-count: 3;
@@ -1773,7 +1804,7 @@
1773
1804
  :where(.content-block) {
1774
1805
  max-width: var(--content-width-normal);
1775
1806
  margin-inline: auto;
1776
- padding-inline: 1rem;
1807
+ padding-inline: var(--space-fluid-gutter);
1777
1808
  box-sizing: border-box;
1778
1809
  }
1779
1810
  :where(.content-block[data-width="narrower"]) {
@@ -1791,7 +1822,8 @@
1791
1822
 
1792
1823
  /* --- Grail layout (5-region responsive page shell) --------------------- */
1793
1824
  /* Header spans the top; left-aside / main / right-aside fill the middle;
1794
- footer spans the bottom. At ≤768px the asides drop below the main. */
1825
+ footer spans the bottom. The collapse as the window narrows is in the shared
1826
+ container section at the end of this file. */
1795
1827
  :where(.grail-layout) {
1796
1828
  display: grid;
1797
1829
  min-height: 100vh;
@@ -1831,15 +1863,7 @@
1831
1863
  }
1832
1864
  /* Main content area — primary surface, more generous padding. */
1833
1865
  :where(.grail-layout-center-main) {
1834
- padding: 1.5rem;
1835
- }
1836
- /* Mobile breakpoint — collapse to a single column, stacking the regions. */
1837
- @media (max-width: 48rem) {
1838
- :where(.grail-layout) {
1839
- grid-template-areas: "header" "main" "left" "right" "footer";
1840
- grid-template-columns: 1fr;
1841
- grid-template-rows: auto auto auto auto auto;
1842
- }
1866
+ padding: var(--space-fluid-gutter);
1843
1867
  }
1844
1868
 
1845
1869
  /* Standalone semantic header / footer landmarks. */
@@ -1930,6 +1954,15 @@
1930
1954
  /* Drawers — side panels (right edge by default; RTL-aware via logical
1931
1955
  properties). Sit above the overlay container (z-index 101). */
1932
1956
  :where(.drawer, .slide-out-drawer, .sheet) {
1957
+ /* These are <dialog> elements opened with showModal() (P18-T6): undo the
1958
+ browser's centred-box defaults so the panel docks to the edge. */
1959
+ margin: 0;
1960
+ border: 0;
1961
+ inset-inline-start: auto;
1962
+ max-block-size: none;
1963
+ max-inline-size: none;
1964
+ block-size: 100%;
1965
+ box-sizing: border-box;
1933
1966
  position: fixed;
1934
1967
  inset-block: 0;
1935
1968
  inset-inline-end: 0;
@@ -1942,6 +1975,10 @@
1942
1975
  z-index: 101;
1943
1976
  }
1944
1977
 
1978
+ :where(.drawer, .slide-out-drawer, .sheet)::backdrop {
1979
+ background-color: color-mix(in oklch, black 50%, transparent);
1980
+ }
1981
+
1945
1982
  /* ==========================================================================
1946
1983
  * Menus
1947
1984
  * ====================================================================== */
@@ -1994,7 +2031,7 @@
1994
2031
  gap: 0.25rem;
1995
2032
  }
1996
2033
  /* Hamburger — bordered icon-button. */
1997
- :where(.hamburger-menu) {
2034
+ :where(.hamburger-menu > button) {
1998
2035
  display: inline-flex;
1999
2036
  align-items: center;
2000
2037
  justify-content: center;
@@ -2970,6 +3007,56 @@
2970
3007
  }
2971
3008
  }
2972
3009
 
3010
+ /* A closed popover stays closed. Author `display` beats the browser's own rule for a closed popover, so the
3011
+ menu rule above would otherwise leave every closed dropdown-menu and context-menu on the page. */
3012
+ :where([popover]:not(:popover-open)) {
3013
+ display: none;
3014
+ }
3015
+
3016
+ /* Anchored popups (P16-T4). These nine render `popover="manual"`, which puts them in the top layer; the
3017
+ browser's own popover style would centre them in the viewport. Closed, they are display: none (or `hidden`
3018
+ where the Popover API is missing). Where anchor positioning exists, the four that live inside a component
3019
+ open under that component's trigger or input, as wide as it at least; the five that stand alone (tooltip,
3020
+ hover card, floating panel, coachmark, popconfirm) open under the element the consumer names with
3021
+ `position-anchor`, or the invoker of a `popovertarget`. Those five use anchor() with a fallback, not
3022
+ position-area: with no anchor, position-area does nothing and a static position can be off screen. */
3023
+ :where(.cascader-panel, .tree-select-panel, .mentions-input-suggestions, .combobox > [role="listbox"], .tooltip, .hover-card, .floating-panel, .coachmark, .popconfirm-dialog)[hidden] {
3024
+ display: none;
3025
+ }
3026
+
3027
+ :where(.cascader-panel, .tree-select-panel, .mentions-input-suggestions, .combobox > [role="listbox"], .tooltip, .hover-card, .floating-panel, .coachmark, .popconfirm-dialog)[popover]:not(:popover-open) {
3028
+ display: none;
3029
+ }
3030
+
3031
+ @supports (position-area: block-end) {
3032
+ :where(.cascader-trigger) { anchor-name: --lily-cascader; }
3033
+ :where(.tree-select-trigger) { anchor-name: --lily-tree-select; }
3034
+ :where(.mentions-input-control) { anchor-name: --lily-mentions-input; }
3035
+ :where(.combobox > input) { anchor-name: --lily-combobox; }
3036
+ :where(.cascader-panel) { position-anchor: --lily-cascader; }
3037
+ :where(.tree-select-panel) { position-anchor: --lily-tree-select; }
3038
+ :where(.mentions-input-suggestions) { position-anchor: --lily-mentions-input; }
3039
+ :where(.combobox > [role="listbox"]) { position-anchor: --lily-combobox; }
3040
+ :where(.cascader-panel, .tree-select-panel, .mentions-input-suggestions, .combobox > [role="listbox"], .tooltip, .hover-card, .floating-panel, .coachmark, .popconfirm-dialog)[popover] {
3041
+ position: fixed;
3042
+ inset: auto;
3043
+ margin: 0;
3044
+ position-try-fallbacks: flip-inline, flip-block, flip-block flip-inline;
3045
+ width: max-content;
3046
+ max-width: calc(100vw - 1rem);
3047
+ }
3048
+ :where(.tooltip, .hover-card, .floating-panel, .coachmark, .popconfirm-dialog)[popover] {
3049
+ inset-block-start: anchor(end, 25%);
3050
+ inset-inline-start: anchor(start, 25%);
3051
+ }
3052
+ :where(.cascader-panel, .tree-select-panel, .mentions-input-suggestions, .combobox > [role="listbox"])[popover] {
3053
+ position-area: block-end span-inline-end;
3054
+ }
3055
+ :where(.cascader-panel, .tree-select-panel, .mentions-input-suggestions, .combobox > [role="listbox"])[popover] {
3056
+ min-inline-size: anchor-size(inline);
3057
+ }
3058
+ }
3059
+
2973
3060
  :where(.theme-picker-list, .locale-picker-list, .text-size-picker-list, .time-zone-picker-list, .motion-picker-list)
2974
3061
  > :where(
2975
3062
  .theme-picker-option,
@@ -3926,6 +4013,81 @@
3926
4013
  min-block-size: 24px;
3927
4014
  }
3928
4015
 
4016
+ /* ============================================================================
4017
+ * Coarse pointer targets — WCAG 2.2 2.5.5 (AAA), shared verbatim by all themes.
4018
+ *
4019
+ * Where the primary pointer is coarse (a finger), interactive hooks are at least
4020
+ * 44x44 CSS pixels: buttons, tabs, options, menu items, the page-header picker
4021
+ * buttons, form fields, checkboxes and radios, and the link-shaped navigation
4022
+ * hooks. Links inside running text are exempt, so bare `a` is not listed. The
4023
+ * query is the capability, never a viewport width. :where() keeps specificity
4024
+ * at zero, so any consumer rule still wins.
4025
+ * ========================================================================= */
4026
+
4027
+ @media (pointer: coarse) {
4028
+ :where(button,
4029
+ [role="button"],
4030
+ [role="tab"],
4031
+ [role="option"],
4032
+ [role="menuitem"],
4033
+ [class*="-picker-button"],
4034
+ summary,
4035
+ input:not([type="hidden"]),
4036
+ select,
4037
+ textarea,
4038
+ .action-link,
4039
+ .back-link,
4040
+ .breadcrumb-list-item > a,
4041
+ .pagination-list-item > a,
4042
+ .contents-list-item > a,
4043
+ .section-list-item > a) {
4044
+ min-inline-size: 44px;
4045
+ min-block-size: 44px;
4046
+ }
4047
+ }
4048
+
4049
+ /* ============================================================================
4050
+ * Brand colour — shared verbatim by all themes (spec/visual-identity, P21-T3).
4051
+ *
4052
+ * --lily-brand is the identity's decorative colour: a header band, a rule, a
4053
+ * logo background. It is NEVER a text colour or a control's boundary, because a
4054
+ * brand colour need not reach 4.5:1 (WCAG 1.4.3, 1.4.11). --lily-on-brand is the
4055
+ * text drawn on it. By default they follow the theme's primary pair, which every
4056
+ * theme keeps readable; an adopter whose brand colour is lighter or darker sets
4057
+ * both in their own CSS, with a pair of at least 4.5:1, and text keeps using the
4058
+ * content pairs (--color-base-content, --lily-error-text and so on).
4059
+ * ========================================================================== */
4060
+
4061
+ :where(:root) {
4062
+ --lily-brand: var(--color-primary);
4063
+ --lily-on-brand: var(--color-primary-content);
4064
+ }
4065
+
4066
+ /* ============================================================================
4067
+ * Logo slot — shared verbatim by all themes (spec/visual-identity, P21-T4).
4068
+ *
4069
+ * The adopter's logo link carries data-lily-logo: an <a href="/"> holding the
4070
+ * adopter's own <img alt> or <svg role="img" aria-label>. Lily ships no logo
4071
+ * and no clear-space rule, because national and local guidelines disagree: a
4072
+ * theme or the adopter sets --lily-logo-clear-space (padding around the mark)
4073
+ * and --lily-logo-min-size (its smallest inline size). Both are unset by
4074
+ * default, so nothing changes until one is set.
4075
+ * ========================================================================== */
4076
+
4077
+ @layer lily {
4078
+ :where([data-lily-logo]) {
4079
+ display: inline-block;
4080
+ padding: var(--lily-logo-clear-space, 0);
4081
+ }
4082
+
4083
+ :where([data-lily-logo] > img, [data-lily-logo] > svg) {
4084
+ display: block;
4085
+ min-inline-size: var(--lily-logo-min-size, 0);
4086
+ max-inline-size: 100%;
4087
+ block-size: auto;
4088
+ }
4089
+ }
4090
+
3929
4091
  /* ============================================================================
3930
4092
  * Overflow guards — narrow-viewport safety, shared verbatim by all themes.
3931
4093
  *
@@ -3954,6 +4116,140 @@
3954
4116
  overflow-wrap: anywhere;
3955
4117
  }
3956
4118
 
4119
+ /* ============================================================================
4120
+ * Scoped overflow — shared verbatim by all themes.
4121
+ *
4122
+ * Long unbroken strings (a national identifier, an email address, a URL) and
4123
+ * grid/flex tracks that refuse to shrink are the usual causes of horizontal
4124
+ * page scroll (WCAG 1.4.10). Both fixes are scoped, never put on `body` or `*`:
4125
+ * `overflow-wrap: anywhere` on the places a long value lands (table cells are
4126
+ * covered by Overflow guards above), and `min-inline-size: 0` on the direct
4127
+ * children of Lily's grid and flex containers so a child can shrink below its
4128
+ * content. The identifier `-view` list below is the catalog's 70 national
4129
+ * identifier views (components-categories.tsv); bin/check-theme fails when it
4130
+ * drifts from the catalog. :where() keeps specificity at zero.
4131
+ * ========================================================================= */
4132
+
4133
+ :where(
4134
+ .alba-community-health-index-view,
4135
+ .australia-individual-healthcare-identifier-view,
4136
+ .belgique-numero-de-registre-national-view,
4137
+ .bulgaria-edinen-grazhdanski-nomer-view,
4138
+ .cesko-cestovni-pas-view,
4139
+ .cesko-rodne-cislo-view,
4140
+ .cymru-rhif-y-gwasanaeth-iechyd-gwladol-view,
4141
+ .kypros-national-passport-number-view,
4142
+ .danmark-personnummer-view,
4143
+ .deutschland-krankenversichertennummer-view,
4144
+ .eesti-isikukood-view,
4145
+ .ellada-dematerialised-securities-system-view,
4146
+ .england-national-health-service-number-view,
4147
+ .espana-codigo-de-identificacion-fiscal-view,
4148
+ .espana-tarjeta-sanitaria-individual-view,
4149
+ .france-numero-d-identification-au-repertoire-view,
4150
+ .hrvatska-osobni-identifikacijski-broj-view,
4151
+ .eire-individual-health-identifier-view,
4152
+ .island-kennitala-view,
4153
+ .italia-codice-fiscale-view,
4154
+ .latvija-personas-kods-view,
4155
+ .liechtenstein-national-identity-card-number-view,
4156
+ .liechtenstein-passport-number-view,
4157
+ .lietuva-asmens-kodas-view,
4158
+ .lietuva-pasas-view,
4159
+ .malta-national-identification-number-view,
4160
+ .malta-passport-number-view,
4161
+ .nederland-burgerservice-nummer-view,
4162
+ .nederland-identiteitskaart-nummer-view,
4163
+ .nederland-paspoort-nummer-view,
4164
+ .norge-fodselsnummer-view,
4165
+ .tuaisceart-eireann-health-and-care-number-view,
4166
+ .polska-numer-identyfikacji-podatkowej-view,
4167
+ .polska-pesel-view,
4168
+ .portugal-numero-de-identificacao-fiscal-view,
4169
+ .portugal-passaporte-view,
4170
+ .romania-cod-numeric-personal-view,
4171
+ .romania-pasaport-view,
4172
+ .slovenija-emso-view,
4173
+ .slovensko-pas-view,
4174
+ .slovensko-rodne-cislo-view,
4175
+ .suomi-henkilotunnus-view,
4176
+ .sverige-personnummer-view,
4177
+ .iban-view,
4178
+ .united-kingdom-national-health-service-number-view,
4179
+ .united-kingdom-national-insurance-number-view,
4180
+ .united-states-social-security-number-view,
4181
+ .aotearoa-national-health-index-view,
4182
+ .pilipinas-philhealth-identification-number-view,
4183
+ .brasil-cartao-nacional-de-saude-view,
4184
+ .schweiz-ahv-nummer-view,
4185
+ .canada-social-insurance-number-view,
4186
+ .hanguk-jumin-deungnok-beonho-view,
4187
+ .nihon-kojin-bango-view,
4188
+ .bharat-aadhaar-view,
4189
+ .yisrael-teudat-zehut-view,
4190
+ .south-africa-identity-number-view,
4191
+ .mexico-clave-unica-de-registro-de-poblacion-view,
4192
+ .singapore-national-registration-identity-card-view,
4193
+ .osterreich-sozialversicherungsnummer-view,
4194
+ .magyarorszag-taj-szam-view,
4195
+ .luxembourg-matricule-view,
4196
+ .zhongguo-jumin-shenfenzheng-haoma-view,
4197
+ .rossiya-snils-view,
4198
+ .turkiye-tc-kimlik-numarasi-view,
4199
+ .argentina-codigo-unico-de-identificacion-laboral-view,
4200
+ .ukrayina-reyestratsiyniy-nomer-oblikovoyi-kartky-platnyka-podatkiv-view,
4201
+ .indonesia-nomor-induk-kependudukan-view,
4202
+ .prathet-thai-lek-prajam-tua-prachachon-view,
4203
+ .chile-rol-unico-nacional-view,
4204
+ .taiwan-guomin-shenfenzheng-tongyi-bianhao-view,
4205
+ .hong-kong-identity-card-view,
4206
+ .iran-kod-e-melli-view,
4207
+ .as-saudiyah-raqm-al-huwiyah-al-wataniyah-view,
4208
+ .malaysia-kad-pengenalan-view,
4209
+ .viet-nam-can-cuoc-cong-dan-view,
4210
+ .pakistan-computerized-national-identity-card-view,
4211
+ .uruguay-cedula-de-identidad-view,
4212
+ .ecuador-cedula-de-identidad-view,
4213
+ .colombia-cedula-de-ciudadania-view,
4214
+ .australia-tax-file-number-view,
4215
+ .nigeria-national-identification-number-view,
4216
+ .misr-al-raqm-al-qawmi-view
4217
+ ) {
4218
+ overflow-wrap: anywhere;
4219
+ }
4220
+
4221
+ /* overflow-wrap is inherited, so this reaches whatever the consumer puts in an item (dd, span, strong). */
4222
+ :where(.summary-list, .summary-list-item, .description-list) {
4223
+ overflow-wrap: anywhere;
4224
+ }
4225
+
4226
+ :where(
4227
+ .grid,
4228
+ .flex-stack,
4229
+ .grail-layout,
4230
+ .summary-list,
4231
+ .summary-list-item,
4232
+ .description-list,
4233
+ .form,
4234
+ .editable-form,
4235
+ .field,
4236
+ .input-group,
4237
+ .button-group,
4238
+ .radio-group,
4239
+ .checkbox-group,
4240
+ .toggle-group,
4241
+ .tag-group,
4242
+ .split-view,
4243
+ .photo-pack,
4244
+ .data-filter-form,
4245
+ .action-bar,
4246
+ .tool-bar,
4247
+ .menu-bar,
4248
+ .tab-bar
4249
+ ) > :where(*) {
4250
+ min-inline-size: 0;
4251
+ }
4252
+
3957
4253
  /* ============================================================================
3958
4254
  * Helper packages — layout and look, shared verbatim by all themes.
3959
4255
  *
@@ -4081,6 +4377,8 @@
4081
4377
 
4082
4378
  :where(.gantt-table-td[data-in-range]) {
4083
4379
  background-color: var(--color-primary);
4380
+ /* Text inside a bar (the Alpine port's milestone label, say) sits on the primary fill. */
4381
+ color: var(--color-primary-content);
4084
4382
  }
4085
4383
 
4086
4384
  :where(.gantt-table-td[data-in-range][data-milestone]) {
@@ -4103,3 +4401,334 @@
4103
4401
  :where(.time-zone-picker-option) {
4104
4402
  overflow-wrap: anywhere;
4105
4403
  }
4404
+
4405
+ /* ============================================================================
4406
+ * Overflow navigation — shared verbatim by all themes.
4407
+ *
4408
+ * The `overflow` mode of `navigation-menu` (contract: components/navigation-menu/index.md).
4409
+ * With no script the list simply wraps, so every link stays reachable at 320 CSS pixels
4410
+ * (WCAG 1.4.10) and the "More" item stays `hidden`. With the script a ResizeObserver moves
4411
+ * the links that do not fit into the More list. That list is in normal flow (position
4412
+ * static, never absolute), so opening it pushes the content below down and never covers it
4413
+ * (WCAG 2.4.11). Every target is at least 24 x 24 CSS pixels (WCAG 2.5.8). :where() keeps
4414
+ * specificity at zero, so any consumer rule wins.
4415
+ * ========================================================================= */
4416
+
4417
+ :where(.navigation-menu-list) {
4418
+ display: flex;
4419
+ flex: 1 1 auto;
4420
+ flex-wrap: wrap;
4421
+ align-items: flex-start;
4422
+ gap: 0.25rem 0.5rem;
4423
+ min-inline-size: 0;
4424
+ margin: 0;
4425
+ padding: 0;
4426
+ list-style: none;
4427
+ }
4428
+
4429
+ :where(.navigation-menu-list > li > a, .navigation-menu-more-list > li > a) {
4430
+ display: inline-block;
4431
+ min-inline-size: 24px;
4432
+ min-block-size: 24px;
4433
+ }
4434
+
4435
+ :where(.navigation-menu-more) {
4436
+ position: static;
4437
+ }
4438
+
4439
+ :where(.navigation-menu-more[hidden], .navigation-menu-more-list[hidden]) {
4440
+ display: none;
4441
+ }
4442
+
4443
+ :where(.navigation-menu-more-button) {
4444
+ min-inline-size: 24px;
4445
+ min-block-size: 24px;
4446
+ padding: 0.25rem 0.5rem;
4447
+ font: inherit;
4448
+ color: inherit;
4449
+ background: transparent;
4450
+ border: 1px solid currentcolor;
4451
+ cursor: pointer;
4452
+ }
4453
+
4454
+ :where(.navigation-menu-more-list) {
4455
+ position: static;
4456
+ margin: 0.25rem 0 0;
4457
+ padding: 0;
4458
+ list-style: none;
4459
+ }
4460
+
4461
+ /* ============================================================================
4462
+ * Container queries — shared verbatim by all themes.
4463
+ *
4464
+ * A component answers to the space it is given, not to the window: a summary
4465
+ * list in a narrow aside on a wide screen needs the narrow layout, which the
4466
+ * viewport query above cannot know. The three grail-layout regions are the
4467
+ * containers because their width comes from a grid track (`minmax(0, 1fr)`), so
4468
+ * inline-size containment cannot collapse them. `.card` is deliberately not a
4469
+ * container: in a shrink-to-fit parent (a flex row, an inline grid) containment
4470
+ * would collapse it to nothing. A component outside a grail region has no
4471
+ * container and keeps its wide layout. :where() keeps specificity at zero, so
4472
+ * any consumer rule wins.
4473
+ * ========================================================================= */
4474
+
4475
+ :where(.grail-layout-left-aside, .grail-layout-center-main, .grail-layout-right-aside) {
4476
+ container-type: inline-size;
4477
+ }
4478
+
4479
+ /* grail-layout collapse (contract: components/grail-layout/AGENTS.md). The page shell answers to the
4480
+ window, so these are viewport queries: the grail-layout root is not a container, only its regions are.
4481
+ Priority: the right aside collapses first (at lg it drops below main, full width), then the left aside
4482
+ (at md everything is one column). Every step keeps DOM order = visual order (header, left aside, main,
4483
+ right aside, footer), so reading and tab order match what is seen (WCAG 1.3.2, 2.4.3); nothing is
4484
+ hidden, so all content stays reachable. */
4485
+ @media (max-width: 64rem) {
4486
+ :where(.grail-layout) {
4487
+ grid-template-areas:
4488
+ "header header"
4489
+ "left main"
4490
+ "right right"
4491
+ "footer footer";
4492
+ grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
4493
+ grid-template-rows: auto auto auto auto;
4494
+ }
4495
+ }
4496
+
4497
+ @media (max-width: 48rem) {
4498
+ :where(.grail-layout) {
4499
+ grid-template-areas:
4500
+ "header"
4501
+ "left"
4502
+ "main"
4503
+ "right"
4504
+ "footer";
4505
+ grid-template-columns: minmax(0, 1fr);
4506
+ grid-template-rows: auto auto auto auto auto;
4507
+ }
4508
+ }
4509
+
4510
+ @container (max-width: 30rem) {
4511
+ :where(.summary-list) {
4512
+ grid-template-columns: minmax(0, 1fr);
4513
+ row-gap: 0.25rem;
4514
+ }
4515
+
4516
+ :where(.kanban-table-td) {
4517
+ min-width: 10rem;
4518
+ }
4519
+
4520
+ :where(.data-table, .calendar-table, .kanban-table, .gantt-table) :where(th, td) {
4521
+ padding-inline: 0.5rem;
4522
+ }
4523
+ }
4524
+
4525
+ /* ============================================================================
4526
+ * Focus not obscured — shared verbatim by all themes.
4527
+ *
4528
+ * WCAG 2.2 SC 2.4.11 (Focus Not Obscured, Minimum): a focused control is never
4529
+ * entirely hidden by author-created content, such as a bar fixed to the top or
4530
+ * bottom of the viewport. The browser scrolls a focused control into view, but
4531
+ * only as far as the edge of the viewport, which is where a fixed bar sits.
4532
+ * `scroll-padding` moves that edge in by the bar's height.
4533
+ *
4534
+ * Contract: whatever fixes a bar to the viewport (sticky-promo-banner, a
4535
+ * theme's or an app's own fixed header, a mobile bottom navigation) sets the
4536
+ * bar's height on the root element:
4537
+ *
4538
+ * --lily-fixed-bar-block-start: 4rem; (a bar fixed at the top)
4539
+ * --lily-fixed-bar-block-end: 3rem; (a bar fixed at the bottom)
4540
+ *
4541
+ * With both bars, set both. The defaults are 0px, so a page without a fixed bar
4542
+ * is unchanged. Specificity is zero (`:where`), so an app's own
4543
+ * `scroll-padding` wins.
4544
+ * ========================================================================= */
4545
+
4546
+ :where(html) {
4547
+ scroll-padding-block: var(--lily-fixed-bar-block-start, 0px) var(--lily-fixed-bar-block-end, 0px);
4548
+ }
4549
+
4550
+ /* ============================================================================
4551
+ * Text size and motion preferences — shared verbatim by all themes.
4552
+ *
4553
+ * The text-size-picker sets `data-text-size` on the root and the motion-picker
4554
+ * sets `data-motion`; neither styles anything itself. These rules are what make
4555
+ * the choice visible.
4556
+ *
4557
+ * Text size: the seven steps scale the root font size, and every theme sizes in
4558
+ * `rem`, so the whole page follows (WCAG 1.4.4). `normal` is 100% (the viewer's
4559
+ * own browser setting), and the scale is percentages of that, never pixels, so
4560
+ * a viewer who raised their browser font size keeps it. The steps below
4561
+ * `normal` are the viewer's explicit choice.
4562
+ *
4563
+ * Motion: `data-motion="reduce"` shortens every animation and transition to
4564
+ * 0.01ms instead of removing it. The end state still arrives and `animationend`
4565
+ * / `transitionend` still fire, so nothing that depends on them breaks and no
4566
+ * information is lost: a spinner's `role="status"` text, a disclosure's open
4567
+ * state and a toast's content are untouched. Scrolling is instant.
4568
+ * ========================================================================= */
4569
+
4570
+ :where(html[data-text-size="smallest"]) { font-size: 80%; }
4571
+ :where(html[data-text-size="smaller"]) { font-size: 90%; }
4572
+ :where(html[data-text-size="small"]) { font-size: 95%; }
4573
+ :where(html[data-text-size="normal"]) { font-size: 100%; }
4574
+ :where(html[data-text-size="large"]) { font-size: 110%; }
4575
+ :where(html[data-text-size="larger"]) { font-size: 125%; }
4576
+ :where(html[data-text-size="largest"]) { font-size: 150%; }
4577
+
4578
+ :where(html[data-motion="reduce"]) {
4579
+ scroll-behavior: auto;
4580
+ }
4581
+ :where(html[data-motion="reduce"], html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after) {
4582
+ animation-duration: 0.01ms !important;
4583
+ animation-iteration-count: 1 !important;
4584
+ animation-delay: 0s !important;
4585
+ transition-duration: 0.01ms !important;
4586
+ transition-delay: 0s !important;
4587
+ scroll-behavior: auto !important;
4588
+ }
4589
+
4590
+ /* ============================================================================
4591
+ * Forced colours and contrast preference — shared verbatim by all themes.
4592
+ *
4593
+ * Forced colours (Windows High Contrast, `forced-colors: active`): the browser
4594
+ * replaces every colour with a system colour, which erases anything a control
4595
+ * told apart by background alone. These rules give such controls a border,
4596
+ * keep the focus ring, and mark selected and current items with `Highlight`
4597
+ * and `SelectedItem` rather than a tint (WCAG 1.4.1, 2.4.7, 1.4.11).
4598
+ *
4599
+ * Contrast preference (`prefers-contrast: more`): a heavier border on controls
4600
+ * and a thicker focus ring. Colours are not changed here; a theme's colours are
4601
+ * its author's decision.
4602
+ * ========================================================================= */
4603
+
4604
+ @media (forced-colors: active) {
4605
+ :where(button, input, select, textarea, summary, [role="button"], [role="option"], [role="tab"], [role="menuitem"], [role="switch"], [role="checkbox"], [role="radio"], [class$="-button"]) {
4606
+ border: 1px solid ButtonBorder;
4607
+ }
4608
+ :where(a, button, input, select, textarea, summary, [tabindex], [role="button"], [role="option"], [role="tab"], [class$="-button"]):focus-visible {
4609
+ outline: 3px solid Highlight;
4610
+ outline-offset: 2px;
4611
+ }
4612
+ :where([aria-selected="true"], [aria-pressed="true"], [aria-checked="true"], [data-active]) {
4613
+ background: SelectedItem;
4614
+ color: SelectedItemText;
4615
+ forced-color-adjust: none;
4616
+ }
4617
+ :where([aria-current]:not([aria-current="false"])) {
4618
+ outline: 2px solid Highlight;
4619
+ outline-offset: -2px;
4620
+ }
4621
+ :where(:disabled, [aria-disabled="true"]) {
4622
+ border-color: GrayText;
4623
+ color: GrayText;
4624
+ }
4625
+ }
4626
+
4627
+ @media (prefers-contrast: more) {
4628
+ :where(button, input, select, textarea, [role="button"], [class$="-button"]) {
4629
+ border-width: 2px;
4630
+ border-style: solid;
4631
+ border-color: currentColor;
4632
+ }
4633
+ :where(a, button, input, select, textarea, summary, [tabindex], [role="button"], [role="option"], [role="tab"], [class$="-button"]):focus-visible {
4634
+ outline-width: 3px;
4635
+ outline-offset: 2px;
4636
+ }
4637
+ }
4638
+
4639
+ /* ============================================================================
4640
+ * Writing systems — shared verbatim by all themes.
4641
+ *
4642
+ * A theme names its Latin font stack (`--lily-font-body-latin`). This section
4643
+ * builds `--lily-font-body` from it, with the system fonts of the element's
4644
+ * script in front: Chinese (Simplified, Traditional, Hong Kong), Japanese,
4645
+ * Korean, Arabic script (Arabic, Persian, Urdu in Nastaliq), Hebrew, the Indic
4646
+ * scripts the site's locales use (Devanagari, Bengali, Gujarati, Gurmukhi,
4647
+ * Kannada, Tamil, Telugu), Thai, Lao and Khmer. Han characters are shared by
4648
+ * Chinese and Japanese but drawn differently, so the language picks the font,
4649
+ * not the script.
4650
+ *
4651
+ * `--lily-font-body` is re-declared on every element with a `lang`, so a
4652
+ * `<p lang="ja">` inside an English page gets Japanese fonts and a
4653
+ * `<span lang="en">` inside it gets none. A language not listed here keeps the
4654
+ * Latin stack, whose final generic family the browser resolves per language.
4655
+ *
4656
+ * `--lily-line-height-body` is 1.5, and 1.75 for scripts with tall marks above
4657
+ * and below the line (Arabic script, the Indic scripts, Thai, Lao, Khmer).
4658
+ * Elements with a `lang` use it; the app's body text should too.
4659
+ *
4660
+ * To change a theme's font, set `--lily-font-body-latin`; to change a script's,
4661
+ * set `--lily-font-script` under `:lang(...)`. Overriding `--lily-font-body`
4662
+ * itself still works on the element you set it on.
4663
+ * ========================================================================= */
4664
+
4665
+ :where(:root, [lang]) {
4666
+ --lily-font-body: var(--lily-font-script,) var(--lily-font-body-latin);
4667
+ --lily-line-height-body: 1.5;
4668
+ }
4669
+
4670
+ :where([lang]) {
4671
+ --lily-font-script: initial;
4672
+ line-height: var(--lily-line-height-body);
4673
+ }
4674
+
4675
+ :where([lang|="zh"], [lang|="wuu"]) {
4676
+ --lily-font-script: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC",;
4677
+ }
4678
+ :where([lang|="zh-Hant"], [lang="zh-TW"], [lang|="zh-Hant-TW"]) {
4679
+ --lily-font-script: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", "Source Han Sans TC",;
4680
+ }
4681
+ :where([lang="zh-HK"], [lang="zh-MO"], [lang|="zh-Hant-HK"], [lang|="yue"]) {
4682
+ --lily-font-script: "PingFang HK", "Microsoft JhengHei", "Noto Sans HK", "Noto Sans CJK HK", "Source Han Sans HC",;
4683
+ }
4684
+ :where([lang|="ja"]) {
4685
+ --lily-font-script: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "Noto Sans CJK JP",;
4686
+ }
4687
+ :where([lang|="ko"]) {
4688
+ --lily-font-script: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR",;
4689
+ }
4690
+ :where([lang|="ar"], [lang|="fa"], [lang|="ps"], [lang|="ku"], [lang|="sd"], [lang|="ug"]) {
4691
+ --lily-font-script: "Segoe UI", "Geeza Pro", "Noto Sans Arabic", "Noto Naskh Arabic", Tahoma,;
4692
+ }
4693
+ :where([lang|="ur"]) {
4694
+ --lily-font-script: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Segoe UI", "Geeza Pro", "Noto Sans Arabic", Tahoma,;
4695
+ }
4696
+ :where([lang|="he"], [lang|="yi"]) {
4697
+ --lily-font-script: "Segoe UI", "Arial Hebrew", "Noto Sans Hebrew",;
4698
+ }
4699
+ :where([lang|="hi"], [lang|="mr"], [lang|="ne"], [lang|="bh"], [lang|="sa"], [lang|="mai"]) {
4700
+ --lily-font-script: "Nirmala UI", "Kohinoor Devanagari", "Devanagari Sangam MN", "Noto Sans Devanagari",;
4701
+ }
4702
+ :where([lang|="bn"], [lang|="as"]) {
4703
+ --lily-font-script: "Nirmala UI", "Kohinoor Bangla", "Bangla Sangam MN", "Noto Sans Bengali",;
4704
+ }
4705
+ :where([lang|="gu"]) {
4706
+ --lily-font-script: "Nirmala UI", "Kohinoor Gujarati", "Gujarati Sangam MN", "Noto Sans Gujarati",;
4707
+ }
4708
+ :where([lang|="pa"]) {
4709
+ --lily-font-script: "Nirmala UI", "Gurmukhi Sangam MN", "Gurmukhi MN", "Noto Sans Gurmukhi",;
4710
+ }
4711
+ :where([lang|="kn"]) {
4712
+ --lily-font-script: "Nirmala UI", "Kannada Sangam MN", "Noto Sans Kannada",;
4713
+ }
4714
+ :where([lang|="ta"]) {
4715
+ --lily-font-script: "Nirmala UI", "Tamil Sangam MN", "Noto Sans Tamil",;
4716
+ }
4717
+ :where([lang|="te"]) {
4718
+ --lily-font-script: "Nirmala UI", "Kohinoor Telugu", "Telugu Sangam MN", "Noto Sans Telugu",;
4719
+ }
4720
+ :where([lang|="th"]) {
4721
+ --lily-font-script: "Leelawadee UI", Thonburi, "Noto Sans Thai",;
4722
+ }
4723
+ :where([lang|="lo"]) {
4724
+ --lily-font-script: "Leelawadee UI", "Lao Sangam MN", "Noto Sans Lao",;
4725
+ }
4726
+ :where([lang|="km"]) {
4727
+ --lily-font-script: "Khmer UI", "Khmer Sangam MN", "Noto Sans Khmer",;
4728
+ }
4729
+ :where([lang|="ar"], [lang|="fa"], [lang|="ps"], [lang|="ku"], [lang|="sd"], [lang|="ug"], [lang|="ur"],
4730
+ [lang|="hi"], [lang|="mr"], [lang|="ne"], [lang|="bh"], [lang|="sa"], [lang|="mai"], [lang|="bn"],
4731
+ [lang|="as"], [lang|="gu"], [lang|="pa"], [lang|="kn"], [lang|="ta"], [lang|="te"], [lang|="th"],
4732
+ [lang|="lo"], [lang|="km"]) {
4733
+ --lily-line-height-body: 1.75;
4734
+ }