/* Thistle — 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: #c8a8d8, which is OKLCH hue 314.4 and chroma 0.076.
 * 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 thistle | Violets | seed #c8a8d8 | hue 314.4 | chroma 0.076
 * @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(50.7% 0.1922 314.35);
  --on-primary: oklch(100% 0 314.35);
  --primary-container: oklch(91.96% 0.056 314.35);
  --on-primary-container: oklch(23.49% 0.0865 314.35);
  --secondary: oklch(49.21% 0.0854 314.35);
  --on-secondary: oklch(100% 0 314.35);
  --secondary-container: oklch(91.76% 0.0385 314.35);
  --on-secondary-container: oklch(22.83% 0.0385 314.35);
  --tertiary: oklch(49.88% 0.1281 14.35);
  --on-tertiary: oklch(100% 0 14.35);
  --tertiary-container: oklch(91.88% 0.0419 14.35);
  --on-tertiary-container: oklch(23.13% 0.0577 14.35);
  --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.36% 0.0077 314.35);
  --surface-dim: oklch(88.96% 0.0167 314.35);
  --surface-bright: oklch(98.36% 0.0077 314.35);
  --on-surface: oklch(22.56% 0.0144 314.35);
  --on-surface-variant: oklch(40.04% 0.0369 314.35);
  --surface-container-lowest: oklch(100% 0 314.35);
  --surface-container-low: oklch(96.65% 0.0095 314.35);
  --surface-container: oklch(94.94% 0.0112 314.35);
  --surface-container-high: oklch(93.23% 0.0128 314.35);
  --surface-container-highest: oklch(91.52% 0.0144 314.35);
  --outline: oklch(57.36% 0.0456 314.35);
  --outline-variant: oklch(83.04% 0.0289 314.35);
  --inverse-surface: oklch(31.26% 0.0217 314.35);
  --inverse-on-surface: oklch(95.8% 0.0103 314.35);
  --inverse-primary: oklch(84% 0.1153 314.35);
  --surface-variant: oklch(91.57% 0.0192 314.35);
  --scrim: oklch(0% 0 314.35);
  --shadow: oklch(0% 0 314.35);
  --primary-fixed: oklch(91.96% 0.056 314.35);
  --primary-fixed-dim: oklch(84% 0.1153 314.35);
  --on-primary-fixed: oklch(23.49% 0.0865 314.35);
  --on-primary-fixed-variant: oklch(41.78% 0.166 314.35);
  --secondary-fixed: oklch(91.76% 0.0385 314.35);
  --secondary-fixed-dim: oklch(83.35% 0.0579 314.35);
  --on-secondary-fixed: oklch(22.83% 0.0385 314.35);
  --on-secondary-fixed-variant: oklch(40.46% 0.0738 314.35);
  --tertiary-fixed: oklch(91.88% 0.0419 14.35);
  --tertiary-fixed-dim: oklch(83.82% 0.0868 14.35);
  --on-tertiary-fixed: oklch(23.13% 0.0577 14.35);
  --on-tertiary-fixed-variant: oklch(41.04% 0.1107 14.35);

  /* primary */
  --p-0: oklch(0% 0 314.35);
  --p-10: oklch(23.49% 0.0865 314.35);
  --p-20: oklch(32.71% 0.1303 314.35);
  --p-30: oklch(41.78% 0.166 314.35);
  --p-40: oklch(50.7% 0.1922 314.35);
  --p-50: oklch(59.42% 0.2051 314.35);
  --p-60: oklch(67.78% 0.1922 314.35);
  --p-70: oklch(76.01% 0.166 314.35);
  --p-80: oklch(84% 0.1153 314.35);
  --p-90: oklch(91.96% 0.056 314.35);
  --p-95: oklch(95.97% 0.0276 314.35);
  --p-98: oklch(98.39% 0.0109 314.35);
  --p-99: oklch(99.2% 0.0054 314.35);
  --p-100: oklch(100% 0 314.35);

  /* secondary */
  --s-0: oklch(0% 0 314.35);
  --s-10: oklch(22.83% 0.0385 314.35);
  --s-20: oklch(31.68% 0.0579 314.35);
  --s-30: oklch(40.46% 0.0738 314.35);
  --s-40: oklch(49.21% 0.0854 314.35);
  --s-50: oklch(57.89% 0.0912 314.35);
  --s-60: oklch(66.43% 0.0854 314.35);
  --s-70: oklch(74.9% 0.0738 314.35);
  --s-80: oklch(83.35% 0.0579 314.35);
  --s-90: oklch(91.76% 0.0385 314.35);
  --s-95: oklch(95.97% 0.0275 314.35);
  --s-98: oklch(98.39% 0.0109 314.35);
  --s-99: oklch(99.2% 0.0054 314.35);
  --s-100: oklch(100% 0 314.35);

  /* tertiary */
  --t-0: oklch(0% 0 14.35);
  --t-10: oklch(23.13% 0.0577 14.35);
  --t-20: oklch(32.13% 0.0868 14.35);
  --t-30: oklch(41.04% 0.1107 14.35);
  --t-40: oklch(49.88% 0.1281 14.35);
  --t-50: oklch(58.6% 0.1367 14.35);
  --t-60: oklch(67.11% 0.1281 14.35);
  --t-70: oklch(75.5% 0.1107 14.35);
  --t-80: oklch(83.82% 0.0868 14.35);
  --t-90: oklch(91.88% 0.0419 14.35);
  --t-95: oklch(95.93% 0.0202 14.35);
  --t-98: oklch(98.37% 0.0079 14.35);
  --t-99: oklch(99.18% 0.004 14.35);
  --t-100: oklch(100% 0 14.35);

  /* neutral */
  --n-0: oklch(0% 0 314.35);
  --n-10: oklch(22.56% 0.0144 314.35);
  --n-20: oklch(31.26% 0.0217 314.35);
  --n-30: oklch(39.94% 0.0277 314.35);
  --n-40: oklch(48.6% 0.032 314.35);
  --n-50: oklch(57.25% 0.0342 314.35);
  --n-60: oklch(65.85% 0.032 314.35);
  --n-70: oklch(74.41% 0.0277 314.35);
  --n-80: oklch(82.98% 0.0217 314.35);
  --n-90: oklch(91.52% 0.0144 314.35);
  --n-95: oklch(95.8% 0.0103 314.35);
  --n-98: oklch(98.36% 0.0077 314.35);
  --n-99: oklch(99.2% 0.0054 314.35);
  --n-100: oklch(100% 0 314.35);

  /* neutral-variant */
  --nv-0: oklch(0% 0 314.35);
  --nv-10: oklch(22.61% 0.0192 314.35);
  --nv-20: oklch(31.33% 0.0289 314.35);
  --nv-30: oklch(40.04% 0.0369 314.35);
  --nv-40: oklch(48.72% 0.0427 314.35);
  --nv-50: oklch(57.36% 0.0456 314.35);
  --nv-60: oklch(65.95% 0.0427 314.35);
  --nv-70: oklch(74.52% 0.0369 314.35);
  --nv-80: oklch(83.04% 0.0289 314.35);
  --nv-90: oklch(91.57% 0.0192 314.35);
  --nv-95: oklch(95.83% 0.0138 314.35);
  --nv-98: oklch(98.37% 0.0103 314.35);
  --nv-99: oklch(99.2% 0.0054 314.35);
  --nv-100: oklch(100% 0 314.35);

  /* 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(84% 0.1153 314.35);
    --on-primary: oklch(32.71% 0.1303 314.35);
    --primary-container: oklch(41.78% 0.166 314.35);
    --on-primary-container: oklch(91.96% 0.056 314.35);
    --secondary: oklch(83.35% 0.0579 314.35);
    --on-secondary: oklch(31.68% 0.0579 314.35);
    --secondary-container: oklch(40.46% 0.0738 314.35);
    --on-secondary-container: oklch(91.76% 0.0385 314.35);
    --tertiary: oklch(83.82% 0.0868 14.35);
    --on-tertiary: oklch(32.13% 0.0868 14.35);
    --tertiary-container: oklch(41.04% 0.1107 14.35);
    --on-tertiary-container: oklch(91.88% 0.0419 14.35);
    --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.91% 0.0112 314.35);
    --surface-dim: oklch(18.91% 0.0112 314.35);
    --surface-bright: oklch(34.73% 0.0243 314.35);
    --on-surface: oklch(91.52% 0.0144 314.35);
    --on-surface-variant: oklch(83.04% 0.0289 314.35);
    --surface-container-lowest: oklch(16.52% 0.0095 314.35);
    --surface-container-low: oklch(22.56% 0.0144 314.35);
    --surface-container: oklch(24.3% 0.016 314.35);
    --surface-container-high: oklch(28.66% 0.0197 314.35);
    --surface-container-highest: oklch(32.99% 0.023 314.35);
    --outline: oklch(65.95% 0.0427 314.35);
    --outline-variant: oklch(40.04% 0.0369 314.35);
    --inverse-surface: oklch(91.52% 0.0144 314.35);
    --inverse-on-surface: oklch(31.26% 0.0217 314.35);
    --inverse-primary: oklch(50.7% 0.1922 314.35);
    --surface-variant: oklch(40.04% 0.0369 314.35);
    --scrim: oklch(0% 0 314.35);
    --shadow: oklch(0% 0 314.35);
    --primary-fixed: oklch(91.96% 0.056 314.35);
    --primary-fixed-dim: oklch(84% 0.1153 314.35);
    --on-primary-fixed: oklch(23.49% 0.0865 314.35);
    --on-primary-fixed-variant: oklch(41.78% 0.166 314.35);
    --secondary-fixed: oklch(91.76% 0.0385 314.35);
    --secondary-fixed-dim: oklch(83.35% 0.0579 314.35);
    --on-secondary-fixed: oklch(22.83% 0.0385 314.35);
    --on-secondary-fixed-variant: oklch(40.46% 0.0738 314.35);
    --tertiary-fixed: oklch(91.88% 0.0419 14.35);
    --tertiary-fixed-dim: oklch(83.82% 0.0868 14.35);
    --on-tertiary-fixed: oklch(23.13% 0.0577 14.35);
    --on-tertiary-fixed-variant: oklch(41.04% 0.1107 14.35);
  }
}

/* dark, pinned by the page */
:root[data-theme="dark"] {
  --primary: oklch(84% 0.1153 314.35);
  --on-primary: oklch(32.71% 0.1303 314.35);
  --primary-container: oklch(41.78% 0.166 314.35);
  --on-primary-container: oklch(91.96% 0.056 314.35);
  --secondary: oklch(83.35% 0.0579 314.35);
  --on-secondary: oklch(31.68% 0.0579 314.35);
  --secondary-container: oklch(40.46% 0.0738 314.35);
  --on-secondary-container: oklch(91.76% 0.0385 314.35);
  --tertiary: oklch(83.82% 0.0868 14.35);
  --on-tertiary: oklch(32.13% 0.0868 14.35);
  --tertiary-container: oklch(41.04% 0.1107 14.35);
  --on-tertiary-container: oklch(91.88% 0.0419 14.35);
  --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.91% 0.0112 314.35);
  --surface-dim: oklch(18.91% 0.0112 314.35);
  --surface-bright: oklch(34.73% 0.0243 314.35);
  --on-surface: oklch(91.52% 0.0144 314.35);
  --on-surface-variant: oklch(83.04% 0.0289 314.35);
  --surface-container-lowest: oklch(16.52% 0.0095 314.35);
  --surface-container-low: oklch(22.56% 0.0144 314.35);
  --surface-container: oklch(24.3% 0.016 314.35);
  --surface-container-high: oklch(28.66% 0.0197 314.35);
  --surface-container-highest: oklch(32.99% 0.023 314.35);
  --outline: oklch(65.95% 0.0427 314.35);
  --outline-variant: oklch(40.04% 0.0369 314.35);
  --inverse-surface: oklch(91.52% 0.0144 314.35);
  --inverse-on-surface: oklch(31.26% 0.0217 314.35);
  --inverse-primary: oklch(50.7% 0.1922 314.35);
  --surface-variant: oklch(40.04% 0.0369 314.35);
  --scrim: oklch(0% 0 314.35);
  --shadow: oklch(0% 0 314.35);
  --primary-fixed: oklch(91.96% 0.056 314.35);
  --primary-fixed-dim: oklch(84% 0.1153 314.35);
  --on-primary-fixed: oklch(23.49% 0.0865 314.35);
  --on-primary-fixed-variant: oklch(41.78% 0.166 314.35);
  --secondary-fixed: oklch(91.76% 0.0385 314.35);
  --secondary-fixed-dim: oklch(83.35% 0.0579 314.35);
  --on-secondary-fixed: oklch(22.83% 0.0385 314.35);
  --on-secondary-fixed-variant: oklch(40.46% 0.0738 314.35);
  --tertiary-fixed: oklch(91.88% 0.0419 14.35);
  --tertiary-fixed-dim: oklch(83.82% 0.0868 14.35);
  --on-tertiary-fixed: oklch(23.13% 0.0577 14.35);
  --on-tertiary-fixed-variant: oklch(41.04% 0.1107 14.35);
}
