# Theme presets The theme lives **only** in the two token blocks at the top of `dashboard.html`: `body{...}` (light) and `body.dark{...}` (dark). To apply a theme, replace both blocks. Never edit component CSS, layout or script to restyle. Every palette ships with both blocks, so dark mode never looks broken. Status colours `--ok`, `--warn` and `--bad` are semantic (done / in progress or attention / failed). Keep them unless the user gives their own. Component tokens say where a preset puts its brand: `--header-bg`, `--header-ink`, `--header-muted` (top bar), `--primary-bg` (primary buttons), `--nav-active-bg` (active nav row and avatar), `--progress-bg` (progress fill), `--blur` (glass blur, or `none` for flat), `--font` (body) and `--font-display` (headings, figures, buttons). ## 1. Tebra Sky (the template default) Blue glass cards on a sky gradient. Segoe UI. Accent `#3d9bd0`. ```css body{ --bg-top:#8fc9e8; --bg-mid:#bfe3f2; --bg-bottom:#eaf6fb; --glass:rgba(255,255,255,.60); --glass-strong:rgba(255,255,255,.78); --border:rgba(255,255,255,.9); --ink:#1c2b33; --muted:#5c7382; --accent-dark:#16202a; --accent:#3d9bd0; --accent-2:#5cb2e2; --accent-soft:#d4edfa; --accent-soft-2:#a9d8ee; --ok:#1f9d57; --ok-bg:#e6f6ec; --warn:#b7791f; --warn-bg:#fbf1dd; --bad:#c0392b; --bad-bg:#fdecea; --font:'Segoe UI',-apple-system,BlinkMacSystemFont,sans-serif; --font-display:var(--font); --header-bg:var(--glass-strong); --header-ink:var(--ink); --header-muted:var(--muted); --primary-bg:linear-gradient(180deg,var(--accent-2),var(--accent)); --nav-active-bg:linear-gradient(135deg,var(--accent),var(--accent-dark)); --progress-bg:var(--ok); --blur:blur(14px); } body.dark{ --bg-top:#0f1b26; --bg-mid:#13212e; --bg-bottom:#182a38; --glass:rgba(22,34,44,.72); --glass-strong:rgba(30,45,58,.85); --border:rgba(120,160,190,.22); --ink:#e6eef4; --muted:#8fa6b4; --accent-dark:#2e5d80; --accent-soft:#2e5d90; --accent-soft-2:#1d3d5e; --ok:#2fbf72; --ok-bg:rgba(31,157,87,.16); --warn:#d9a13c; --warn-bg:rgba(183,121,31,.16); --bad:#e05a4b; --bad-bg:rgba(192,57,43,.16); } ``` ## 2. Superbill Ember Flat surfaces. The brand gradient `#ff3049` → `#f26b21` appears **only** on the top bar, primary buttons, the active nav row and the progress fill. Nothing else gets it. Sora for display, IBM Plex Sans for body. Also add this line inside ``, before `