:root {
  color-scheme: light;
  --theme-hue: 263;
  --theme-saturation: 34%;
  --primary-lightness: 42%;
  --primary: hsl(var(--theme-hue) var(--theme-saturation) var(--primary-lightness));
  --primary-hover: hsl(var(--theme-hue) var(--theme-saturation) calc(var(--primary-lightness) - 5%));
  --ink: #26232d;
  --muted: #686473;
  --secondary-ink: #4d4857;
  --on-primary: #fff;
  --canvas: #fcfbfc;
  --surface: #fff;
  --window-chrome: #f2f2f2;
  --workspace-surface: #fff;
  --inspector-surface: #f5f5f5;
  --shadow-color: 37 29 47;
  --accent: var(--primary);
  --accent-muted: color-mix(in srgb, var(--accent) 58%, var(--muted));
  --focus: color-mix(in srgb, var(--accent) 75%, var(--surface));
  --surface-raised: color-mix(in srgb, var(--accent) 2%, var(--surface));
  --surface-subtle: color-mix(in srgb, var(--accent) 5%, var(--surface));
  --surface-tinted: color-mix(in srgb, var(--accent) 8%, var(--surface));
  --hover: color-mix(in srgb, var(--accent) 10%, var(--surface));
  --selected: color-mix(in srgb, var(--accent) 14%, var(--surface));
  --line-soft: color-mix(in srgb, var(--ink) 6%, var(--surface));
  --line: color-mix(in srgb, var(--ink) 11%, var(--surface));
  --line-strong: color-mix(in srgb, var(--accent) 24%, var(--surface));
  --switch-off: color-mix(in srgb, var(--muted) 32%, var(--surface));
  --surface-glass: color-mix(in srgb, var(--surface-raised) 94%, transparent);
  --shine: rgb(255 255 255 / .7);
  --danger: #9c344f;
  --danger-surface: #fbebee;
  --info: #325d8b;
  --info-surface: #e5edf8;
  --success: #24573a;
  --success-surface: #edf8f1;
  --wave-0: rgb(110 150 255);
  --wave-1: rgb(180 130 255);
  --wave-2: rgb(255 130 190);
  --wave-3: rgb(255 180 120);
}
:root[data-theme-mode="dark"] {
  color-scheme: dark;
  --ink: #f1eef4;
  --muted: #b6b0c0;
  --secondary-ink: #d5cfdd;
  --accent: hsl(var(--theme-hue) var(--theme-saturation) 76%);
  --primary-hover: hsl(var(--theme-hue) var(--theme-saturation) calc(var(--primary-lightness) + 1%));
  --canvas: #19181c;
  --surface: #222125;
  --window-chrome: #191919;
  --workspace-surface: #232323;
  --inspector-surface: #2c2c2c;
  --shadow-color: 0 0 0;
  --shine: rgb(255 255 255 / .09);
  --danger: #f4a3b1;
  --danger-surface: #38242d;
  --info: #a1c6f0;
  --info-surface: #253449;
  --success: #a1d7b7;
  --success-surface: #23382d;
}
:root[data-theme-color="white"] {
  --theme-hue: 225;
  --theme-saturation: 0%;
  --canvas: #fcfcfc;
}
:root[data-theme-color="white"][data-theme-mode="dark"] {
  --canvas: #191919;
  --surface: #222;
  --ink: #f1f1f1;
  --muted: #b5b5b5;
  --secondary-ink: #d1d1d1;
}
:root[data-theme-color="white"]:not([data-theme-mode="dark"]) {
  --ink: #262626;
  --muted: #666;
  --secondary-ink: #4b4b4b;
}
:root[data-theme-color="blue"] { --theme-hue: 211; --theme-saturation: 46%; }
:root[data-theme-color="green"] { --theme-hue: 152; --theme-saturation: 35%; --primary-lightness: 36%; }
:root[data-theme-color="sand"] { --theme-hue: 27; --theme-saturation: 41%; }
