/* Generated by tools/ui-tokens.py — do not hand-edit, re-run it.
   Every value below is READ from the game's own code. The game owns them; this file is a copy
   a browser can read, so a mock page never types a colour of its own. */

@font-face {
  font-family: "DejaVu Sans Condensed";
  src: url("fonts/DejaVuSansCondensed.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "PixelFont";
  src: url("fonts/PixelFont.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Selawik";
  src: url("fonts/Selawik.ttf") format("truetype");
  font-display: swap;
}

:root {
  /* the shared palette */
  --accent: #5b86c9;
  --bad: #b83a3a;
  --button-edge: #b5bdc9;
  --button-fill: #e9ebef;
  --button-text: #222222;
  --close-fill: #d9dfe8;
  --good: #2e7d41;
  --hover: #d6e5fb;
  --notice-failure: #ff5f5f;
  --notice-success: #66e673;
  --notice-warning: #ffd940;
  --panel-fill: #f7f8fa;
  --panel-raise: #edf1f7;
  --pm-text: #867200;
  --rarity-epic: #8a3fb8;
  --rarity-legendary: #a85400;
  --rarity-rare: #2a62b8;
  --rule: #c9d3e2;
  --slot-empty: rgba(82, 82, 94, 0.6);
  --slot-fill: #ffffff;
  --system-text: #00788a;
  --text-dim: #6c7380;
  --text-main: #1b1b1b;
  --text-on-dim: #ffffff;
  --title-bar-bottom: #b9cce9;
  --title-bar-top: #e6eefa;
  --title-text: #22324d;
  --window-edge: #7f97bd;

  /* the game's own faces */
  --font-ui: "DejaVu Sans Condensed";
  --font-pixel: "PixelFont";
  --font-label: "Selawik";
}

/* the dark set, the same names: put data-theme="dark" on the page's root element */
:root[data-theme="dark"] {
  --accent: #4f7cc4;
  --bad: #ef6b6b;
  --button-edge: #4c5668;
  --button-fill: #313949;
  --button-text: #e4e8ef;
  --close-fill: #3a4456;
  --good: #5cc97a;
  --hover: #2f4466;
  --notice-failure: #ff5f5f;
  --notice-success: #66e673;
  --notice-warning: #ffd940;
  --panel-fill: #1e232c;
  --panel-raise: #262c37;
  --pm-text: #d9c04a;
  --rarity-epic: #b98af0;
  --rarity-legendary: #f0a040;
  --rarity-rare: #6aa0ff;
  --rule: #3a4352;
  --slot-empty: rgba(10, 12, 16, 0.6);
  --slot-fill: #2c3340;
  --system-text: #4fd1e0;
  --text-dim: #9aa3b2;
  --text-main: #e6e9ee;
  --text-on-dim: #ffffff;
  --title-bar-bottom: #232c3e;
  --title-bar-top: #34405a;
  --title-text: #dbe5f5;
  --window-edge: #4a5d7c;
}
