/*
 * themes.css: IDE colour themes as CSS custom properties.
 * Switch with <html data-theme="…">. Each theme sets UI colours (bg … accent)
 * and syntax colours (kw … type) used by code samples.
 */

:root,
[data-theme="vscode-dark"] {
  color-scheme: dark;
  --bg: #1e1e1e; --panel: #252526; --fg: #d4d4d4; --muted: #9d9d9d; --border: #3c3c3c; --accent: #3794ff;
  --kw: #569cd6; --str: #ce9178; --com: #6a9955; --num: #b5cea8; --fn: #dcdcaa; --type: #4ec9b0;
}
[data-theme="vscode-light"] {
  color-scheme: light;
  --bg: #ffffff; --panel: #f3f3f3; --fg: #1f1f1f; --muted: #616161; --border: #e5e5e5; --accent: #005fb8;
  --kw: #0000ff; --str: #a31515; --com: #008000; --num: #098658; --fn: #795e26; --type: #267f99;
}
[data-theme="github-dark"] {
  color-scheme: dark;
  --bg: #0d1117; --panel: #161b22; --fg: #e6edf3; --muted: #8b949e; --border: #30363d; --accent: #2f81f7;
  --kw: #ff7b72; --str: #a5d6ff; --com: #8b949e; --num: #79c0ff; --fn: #d2a8ff; --type: #ffa657;
}
[data-theme="github-light"] {
  color-scheme: light;
  --bg: #ffffff; --panel: #f6f8fa; --fg: #1f2328; --muted: #656d76; --border: #d0d7de; --accent: #0969da;
  --kw: #cf222e; --str: #0a3069; --com: #6e7781; --num: #0550ae; --fn: #8250df; --type: #953800;
}
[data-theme="solarized-dark"] {
  color-scheme: dark;
  --bg: #002b36; --panel: #073642; --fg: #93a1a1; --muted: #839496; --border: #0f4a57; --accent: #268bd2;
  --kw: #859900; --str: #2aa198; --com: #586e75; --num: #d33682; --fn: #268bd2; --type: #b58900;
}
[data-theme="solarized-light"] {
  color-scheme: light;
  --bg: #fdf6e3; --panel: #eee8d5; --fg: #586e75; --muted: #657b83; --border: #e0d9c3; --accent: #268bd2;
  --kw: #859900; --str: #2aa198; --com: #93a1a1; --num: #d33682; --fn: #268bd2; --type: #b58900;
}
[data-theme="one-dark"] {
  color-scheme: dark;
  --bg: #282c34; --panel: #21252b; --fg: #abb2bf; --muted: #7f848e; --border: #3e4451; --accent: #61afef;
  --kw: #c678dd; --str: #98c379; --com: #5c6370; --num: #d19a66; --fn: #61afef; --type: #e5c07b;
}
[data-theme="one-light"] {
  color-scheme: light;
  --bg: #fafafa; --panel: #f0f0f0; --fg: #383a42; --muted: #696c77; --border: #dbdbdc; --accent: #4078f2;
  --kw: #a626a4; --str: #50a14f; --com: #a0a1a7; --num: #986801; --fn: #4078f2; --type: #c18401;
}
[data-theme="catppuccin-mocha"] {
  color-scheme: dark;
  --bg: #1e1e2e; --panel: #181825; --fg: #cdd6f4; --muted: #9399b2; --border: #313244; --accent: #89b4fa;
  --kw: #cba6f7; --str: #a6e3a1; --com: #9399b2; --num: #fab387; --fn: #89b4fa; --type: #f9e2af;
}
[data-theme="catppuccin-latte"] {
  color-scheme: light;
  --bg: #eff1f5; --panel: #e6e9ef; --fg: #4c4f69; --muted: #6c6f85; --border: #ccd0da; --accent: #1e66f5;
  --kw: #8839ef; --str: #40a02b; --com: #7c7f93; --num: #fe640b; --fn: #1e66f5; --type: #df8e1d;
}
