/* Kelly — a theme for the sample screen.
 *
 * WHAT THIS FILE IS. 46 Material colour roles - 28 standard,
 * 12 fixed (the group that holds the same value in both schemes),
 * 3 inverse and 3 extras - for light and dark, generated from ONE seed
 * colour: #2fa02f, which is OKLCH hue 143.0 and chroma 0.181.
 * Under the roles, the five tonal palettes they were cut from.
 *
 * HOW TO USE IT. Link it, then paint with the role names and never with a
 * value:  background: var(--surface-container-high);  color: var(--on-surface);
 * Dark mode is already here, under both prefers-color-scheme and
 * [data-theme="dark"], so a person can follow the system or override it.
 *
 * HOW IT WAS MADE. Material's own method: five key colours by manipulating
 * the seed's hue and chroma (primary and the neutrals hold the hue, tertiary
 * rotates +60 degrees, each key takes a fixed chroma), a tonal palette per
 * key at tones 0-100 in tens plus 95, 98 and 99, then a tone assigned per
 * role per mode. TONE IS CIE L*, solved for, not an OKLCH lightness
 * relabelled — which is why the contrast figures below are identical in every
 * theme in this gallery. WHERE WE DIFFER: Material reads hue and chroma
 * through HCT, which is CAM16; this is OKLCH. Tone is the same quantity in
 * both and is comparable. Hue and chroma are not, and no HCT number is
 * printed anywhere. See _notes/COLOUR-THEMES.md.
 *
 * @theme kelly | Greens | seed #2fa02f | hue 143.0 | chroma 0.181
 * @roles 46
 * @pair --on-primary --primary 4.5
 * @pair --on-primary-container --primary-container 4.5
 * @pair --on-secondary --secondary 4.5
 * @pair --on-secondary-container --secondary-container 4.5
 * @pair --on-tertiary --tertiary 4.5
 * @pair --on-tertiary-container --tertiary-container 4.5
 * @pair --on-error --error 4.5
 * @pair --on-error-container --error-container 4.5
 * @pair --on-surface --surface 4.5
 * @pair --on-surface-variant --surface-container-high 4.5
 * @pair --outline --surface 3
 * @pair --inverse-on-surface --inverse-surface 4.5
 * @pair --inverse-primary --inverse-surface 4.5
 * @pair --on-primary-fixed --primary-fixed 4.5
 * @pair --on-primary-fixed-variant --primary-fixed 4.5
 * @pair --on-secondary-fixed --secondary-fixed 4.5
 * @pair --on-secondary-fixed-variant --secondary-fixed 4.5
 * @pair --on-tertiary-fixed --tertiary-fixed 4.5
 * @pair --on-tertiary-fixed-variant --tertiary-fixed 4.5
 *
 * Generated by _build/themes.mjs on 2026-10-25. Do not hand-edit: change the
 * seed or the role table and rebuild, or the page and the file will disagree.
 */

:root {
  color-scheme: light dark;

  --primary: oklch(46.78% 0.1566 143);
  --on-primary: oklch(100% 0 143);
  --primary-container: oklch(90.63% 0.0705 143);
  --on-primary-container: oklch(21.74% 0.0705 143);
  --secondary: oklch(47.56% 0.0696 143);
  --on-secondary: oklch(100% 0 143);
  --secondary-container: oklch(91.04% 0.0313 143);
  --on-secondary-container: oklch(22.1% 0.0313 143);
  --tertiary: oklch(47.41% 0.0808 203);
  --on-tertiary: oklch(100% 0 203);
  --tertiary-container: oklch(90.85% 0.047 203);
  --on-tertiary-container: oklch(22% 0.0378 203);
  --error: oklch(50.37% 0.1724 25);
  --on-error: oklch(100% 0 25);
  --error-container: oklch(91.84% 0.0417 25);
  --on-error-container: oklch(23.36% 0.0776 25);
  --surface: oklch(98.21% 0.0063 143);
  --surface-dim: oklch(88.65% 0.0136 143);
  --surface-bright: oklch(98.21% 0.0063 143);
  --on-surface: oklch(22.28% 0.0118 143);
  --on-surface-variant: oklch(39.33% 0.0301 143);
  --surface-container-lowest: oklch(100% 0 143);
  --surface-container-low: oklch(96.47% 0.0077 143);
  --surface-container: oklch(94.72% 0.0091 143);
  --surface-container-high: oklch(93% 0.0104 143);
  --surface-container-highest: oklch(91.25% 0.0118 143);
  --outline: oklch(56.5% 0.0371 143);
  --outline-variant: oklch(82.5% 0.0236 143);
  --inverse-surface: oklch(30.84% 0.0177 143);
  --inverse-on-surface: oklch(95.6% 0.0084 143);
  --inverse-primary: oklch(81.66% 0.1062 143);
  --surface-variant: oklch(91.21% 0.0157 143);
  --scrim: oklch(0% 0 143);
  --shadow: oklch(0% 0 143);
  --primary-fixed: oklch(90.63% 0.0705 143);
  --primary-fixed-dim: oklch(81.66% 0.1062 143);
  --on-primary-fixed: oklch(21.74% 0.0705 143);
  --on-primary-fixed-variant: oklch(38.42% 0.1288 143);
  --secondary-fixed: oklch(91.04% 0.0313 143);
  --secondary-fixed-dim: oklch(82.26% 0.0472 143);
  --on-secondary-fixed: oklch(22.1% 0.0313 143);
  --on-secondary-fixed-variant: oklch(39.04% 0.0601 143);
  --tertiary-fixed: oklch(90.85% 0.047 203);
  --tertiary-fixed-dim: oklch(81.99% 0.0708 203);
  --on-tertiary-fixed: oklch(22% 0.0378 203);
  --on-tertiary-fixed-variant: oklch(38.93% 0.0664 203);

  /* primary */
  --p-0: oklch(0% 0 143);
  --p-10: oklch(21.74% 0.0705 143);
  --p-20: oklch(30.06% 0.101 143);
  --p-30: oklch(38.42% 0.1288 143);
  --p-40: oklch(46.78% 0.1566 143);
  --p-50: oklch(55.28% 0.1671 143);
  --p-60: oklch(63.96% 0.1566 143);
  --p-70: oklch(72.77% 0.1353 143);
  --p-80: oklch(81.66% 0.1062 143);
  --p-90: oklch(90.63% 0.0705 143);
  --p-95: oklch(95.16% 0.0505 143);
  --p-98: oklch(97.88% 0.0367 143);
  --p-99: oklch(98.94% 0.018 143);
  --p-100: oklch(100% 0 143);

  /* secondary */
  --s-0: oklch(0% 0 143);
  --s-10: oklch(22.1% 0.0313 143);
  --s-20: oklch(30.55% 0.0472 143);
  --s-30: oklch(39.04% 0.0601 143);
  --s-40: oklch(47.56% 0.0696 143);
  --s-50: oklch(56.13% 0.0743 143);
  --s-60: oklch(64.8% 0.0696 143);
  --s-70: oklch(73.5% 0.0601 143);
  --s-80: oklch(82.26% 0.0472 143);
  --s-90: oklch(91.04% 0.0313 143);
  --s-95: oklch(95.44% 0.0224 143);
  --s-98: oklch(98.09% 0.0168 143);
  --s-99: oklch(98.98% 0.0149 143);
  --s-100: oklch(100% 0 143);

  /* tertiary */
  --t-0: oklch(0% 0 203);
  --t-10: oklch(22% 0.0378 203);
  --t-20: oklch(30.46% 0.0521 203);
  --t-30: oklch(38.93% 0.0664 203);
  --t-40: oklch(47.41% 0.0808 203);
  --t-50: oklch(55.87% 0.0952 203);
  --t-60: oklch(64.4% 0.1044 203);
  --t-70: oklch(73.15% 0.0902 203);
  --t-80: oklch(81.99% 0.0708 203);
  --t-90: oklch(90.85% 0.047 203);
  --t-95: oklch(95.31% 0.0337 203);
  --t-98: oklch(98.04% 0.0216 203);
  --t-99: oklch(99.02% 0.0108 203);
  --t-100: oklch(100% 0 203);

  /* neutral */
  --n-0: oklch(0% 0 143);
  --n-10: oklch(22.28% 0.0118 143);
  --n-20: oklch(30.84% 0.0177 143);
  --n-30: oklch(39.41% 0.0225 143);
  --n-40: oklch(48% 0.0261 143);
  --n-50: oklch(56.59% 0.0279 143);
  --n-60: oklch(65.23% 0.0261 143);
  --n-70: oklch(73.9% 0.0225 143);
  --n-80: oklch(82.57% 0.0177 143);
  --n-90: oklch(91.25% 0.0118 143);
  --n-95: oklch(95.6% 0.0084 143);
  --n-98: oklch(98.21% 0.0063 143);
  --n-99: oklch(99.08% 0.0056 143);
  --n-100: oklch(100% 0 143);

  /* neutral-variant */
  --nv-0: oklch(0% 0 143);
  --nv-10: oklch(22.24% 0.0157 143);
  --nv-20: oklch(30.78% 0.0236 143);
  --nv-30: oklch(39.33% 0.0301 143);
  --nv-40: oklch(47.91% 0.0348 143);
  --nv-50: oklch(56.5% 0.0371 143);
  --nv-60: oklch(65.14% 0.0348 143);
  --nv-70: oklch(73.81% 0.0301 143);
  --nv-80: oklch(82.5% 0.0236 143);
  --nv-90: oklch(91.21% 0.0157 143);
  --nv-95: oklch(95.57% 0.0112 143);
  --nv-98: oklch(98.18% 0.0084 143);
  --nv-99: oklch(99.05% 0.0074 143);
  --nv-100: oklch(100% 0 143);

  /* error */
  --e-0: oklch(0% 0 25);
  --e-10: oklch(23.36% 0.0776 25);
  --e-20: oklch(32.45% 0.1169 25);
  --e-30: oklch(41.47% 0.1489 25);
  --e-40: oklch(50.37% 0.1724 25);
  --e-50: oklch(59.11% 0.184 25);
  --e-60: oklch(67.56% 0.1724 25);
  --e-70: oklch(75.82% 0.1444 25);
  --e-80: oklch(83.78% 0.0893 25);
  --e-90: oklch(91.84% 0.0417 25);
  --e-95: oklch(95.92% 0.0202 25);
  --e-98: oklch(98.36% 0.0079 25);
  --e-99: oklch(99.18% 0.0039 25);
  --e-100: oklch(100% 0 25);
}

/* dark, by the system's own preference — unless the page has pinned light */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: oklch(81.66% 0.1062 143);
    --on-primary: oklch(30.06% 0.101 143);
    --primary-container: oklch(38.42% 0.1288 143);
    --on-primary-container: oklch(90.63% 0.0705 143);
    --secondary: oklch(82.26% 0.0472 143);
    --on-secondary: oklch(30.55% 0.0472 143);
    --secondary-container: oklch(39.04% 0.0601 143);
    --on-secondary-container: oklch(91.04% 0.0313 143);
    --tertiary: oklch(81.99% 0.0708 203);
    --on-tertiary: oklch(30.46% 0.0521 203);
    --tertiary-container: oklch(38.93% 0.0664 203);
    --on-tertiary-container: oklch(90.85% 0.047 203);
    --error: oklch(83.78% 0.0893 25);
    --on-error: oklch(32.45% 0.1169 25);
    --error-container: oklch(41.47% 0.1489 25);
    --on-error-container: oklch(91.84% 0.0417 25);
    --surface: oklch(18.7% 0.0091 143);
    --surface-dim: oklch(18.7% 0.0091 143);
    --surface-bright: oklch(34.28% 0.0198 143);
    --on-surface: oklch(91.25% 0.0118 143);
    --on-surface-variant: oklch(82.5% 0.0236 143);
    --surface-container-lowest: oklch(16.34% 0.0077 143);
    --surface-container-low: oklch(22.28% 0.0118 143);
    --surface-container: oklch(23.99% 0.013 143);
    --surface-container-high: oklch(28.27% 0.016 143);
    --surface-container-highest: oklch(32.56% 0.0188 143);
    --outline: oklch(65.14% 0.0348 143);
    --outline-variant: oklch(39.33% 0.0301 143);
    --inverse-surface: oklch(91.25% 0.0118 143);
    --inverse-on-surface: oklch(30.84% 0.0177 143);
    --inverse-primary: oklch(46.78% 0.1566 143);
    --surface-variant: oklch(39.33% 0.0301 143);
    --scrim: oklch(0% 0 143);
    --shadow: oklch(0% 0 143);
    --primary-fixed: oklch(90.63% 0.0705 143);
    --primary-fixed-dim: oklch(81.66% 0.1062 143);
    --on-primary-fixed: oklch(21.74% 0.0705 143);
    --on-primary-fixed-variant: oklch(38.42% 0.1288 143);
    --secondary-fixed: oklch(91.04% 0.0313 143);
    --secondary-fixed-dim: oklch(82.26% 0.0472 143);
    --on-secondary-fixed: oklch(22.1% 0.0313 143);
    --on-secondary-fixed-variant: oklch(39.04% 0.0601 143);
    --tertiary-fixed: oklch(90.85% 0.047 203);
    --tertiary-fixed-dim: oklch(81.99% 0.0708 203);
    --on-tertiary-fixed: oklch(22% 0.0378 203);
    --on-tertiary-fixed-variant: oklch(38.93% 0.0664 203);
  }
}

/* dark, pinned by the page */
:root[data-theme="dark"] {
  --primary: oklch(81.66% 0.1062 143);
  --on-primary: oklch(30.06% 0.101 143);
  --primary-container: oklch(38.42% 0.1288 143);
  --on-primary-container: oklch(90.63% 0.0705 143);
  --secondary: oklch(82.26% 0.0472 143);
  --on-secondary: oklch(30.55% 0.0472 143);
  --secondary-container: oklch(39.04% 0.0601 143);
  --on-secondary-container: oklch(91.04% 0.0313 143);
  --tertiary: oklch(81.99% 0.0708 203);
  --on-tertiary: oklch(30.46% 0.0521 203);
  --tertiary-container: oklch(38.93% 0.0664 203);
  --on-tertiary-container: oklch(90.85% 0.047 203);
  --error: oklch(83.78% 0.0893 25);
  --on-error: oklch(32.45% 0.1169 25);
  --error-container: oklch(41.47% 0.1489 25);
  --on-error-container: oklch(91.84% 0.0417 25);
  --surface: oklch(18.7% 0.0091 143);
  --surface-dim: oklch(18.7% 0.0091 143);
  --surface-bright: oklch(34.28% 0.0198 143);
  --on-surface: oklch(91.25% 0.0118 143);
  --on-surface-variant: oklch(82.5% 0.0236 143);
  --surface-container-lowest: oklch(16.34% 0.0077 143);
  --surface-container-low: oklch(22.28% 0.0118 143);
  --surface-container: oklch(23.99% 0.013 143);
  --surface-container-high: oklch(28.27% 0.016 143);
  --surface-container-highest: oklch(32.56% 0.0188 143);
  --outline: oklch(65.14% 0.0348 143);
  --outline-variant: oklch(39.33% 0.0301 143);
  --inverse-surface: oklch(91.25% 0.0118 143);
  --inverse-on-surface: oklch(30.84% 0.0177 143);
  --inverse-primary: oklch(46.78% 0.1566 143);
  --surface-variant: oklch(39.33% 0.0301 143);
  --scrim: oklch(0% 0 143);
  --shadow: oklch(0% 0 143);
  --primary-fixed: oklch(90.63% 0.0705 143);
  --primary-fixed-dim: oklch(81.66% 0.1062 143);
  --on-primary-fixed: oklch(21.74% 0.0705 143);
  --on-primary-fixed-variant: oklch(38.42% 0.1288 143);
  --secondary-fixed: oklch(91.04% 0.0313 143);
  --secondary-fixed-dim: oklch(82.26% 0.0472 143);
  --on-secondary-fixed: oklch(22.1% 0.0313 143);
  --on-secondary-fixed-variant: oklch(39.04% 0.0601 143);
  --tertiary-fixed: oklch(90.85% 0.047 203);
  --tertiary-fixed-dim: oklch(81.99% 0.0708 203);
  --on-tertiary-fixed: oklch(22% 0.0378 203);
  --on-tertiary-fixed-variant: oklch(38.93% 0.0664 203);
}
