/*
 * Custom daisyUI themes for Emet Bible.
 * Loaded after themes.css; select with <html data-theme="...">.
 * Remember to add the theme name to window.availableThemes in
 * public/scripture-setting.html so it appears in Settings.
 */

/* Parchment: warm aged-paper reading theme (cream page, brown ink, oxblood + gold). */
:root:has(input.theme-controller[value=parchment]:checked),
[data-theme="parchment"] {
  color-scheme: light;
  --color-base-100: oklch(96% 0.025 85);
  --color-base-200: oklch(93% 0.03 83);
  --color-base-300: oklch(88% 0.038 80);
  --color-base-content: oklch(30% 0.04 55);
  --color-primary: oklch(42% 0.13 25);
  --color-primary-content: oklch(96% 0.02 85);
  --color-secondary: oklch(50% 0.07 130);
  --color-secondary-content: oklch(97% 0.015 85);
  --color-accent: oklch(72% 0.13 78);
  --color-accent-content: oklch(28% 0.05 60);
  --color-neutral: oklch(35% 0.03 60);
  --color-neutral-content: oklch(94% 0.02 85);
  --color-info: oklch(55% 0.08 235);
  --color-info-content: oklch(97% 0.01 235);
  --color-success: oklch(55% 0.1 150);
  --color-success-content: oklch(97% 0.015 150);
  --color-warning: oklch(76% 0.14 72);
  --color-warning-content: oklch(30% 0.06 60);
  --color-error: oklch(50% 0.17 28);
  --color-error-content: oklch(97% 0.015 28);
  --radius-selector: 0.5rem;
  --radius-field: 0.5rem;
  --radius-box: 0.75rem;
  --size-selector: 0.25rem;
  --size-field: 0.25rem;
  --border: 1px;
  --depth: 1;
  --noise: 1; /* subtle paper grain */
}

/* Royal: luxury dark theme (deep dark royal blue, champagne gold, ivory ink, wine + emerald). */
:root:has(input.theme-controller[value=royal]:checked),
[data-theme="royal"] {
  color-scheme: dark;
  --color-base-100: oklch(18% 0.065 268);
  --color-base-200: oklch(15% 0.058 268);
  --color-base-300: oklch(12% 0.05 268);
  --color-base-content: oklch(92% 0.02 85);
  --color-primary: oklch(80% 0.1 85);
  --color-primary-content: oklch(22% 0.03 70);
  --color-secondary: oklch(48% 0.14 15);
  --color-secondary-content: oklch(95% 0.02 15);
  --color-accent: oklch(62% 0.11 165);
  --color-accent-content: oklch(18% 0.03 165);
  --color-neutral: oklch(26% 0.07 268);
  --color-neutral-content: oklch(92% 0.02 85);
  --color-info: oklch(72% 0.09 240);
  --color-info-content: oklch(20% 0.03 240);
  --color-success: oklch(70% 0.11 155);
  --color-success-content: oklch(20% 0.03 155);
  --color-warning: oklch(80% 0.13 75);
  --color-warning-content: oklch(25% 0.05 60);
  --color-error: oklch(64% 0.17 22);
  --color-error-content: oklch(20% 0.04 22);
  --radius-selector: 0.25rem;
  --radius-field: 0.25rem;
  --radius-box: 0.375rem;
  --size-selector: 0.25rem;
  --size-field: 0.25rem;
  --border: 1px;
  --depth: 1;
  --noise: 0;
}
