hyperhive/frontend/packages/agent/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris 09787dd1c3 refactor(frontend): base16 theme contract in a swappable colors.css
Split the palette into two standalone stylesheets:
- colors.css — the 16 base16 slots (--base00..--base0F). This is the
  entire theme swap contract; a generator (e.g. a stylix base16 scheme,
  which is natively base00-base0F) replaces only this file.
- theme.css — the semantic layer (--bg, --purple, …) derived from the
  base16 slots via var()/color-mix. Never changes on a swap.

Every page links colors.css then theme.css; theme.css does NOT @import
colors.css (that would re-bake the slots into it) — they're separate
dist outputs so a swap touches just colors.css. Pixel-identical refactor:
base16 defaults are Catppuccin Mocha and the three off-slot vars
(--crust, --muted, --subtext0) derive via color-mix reproducing their
exact prior hexes.

Wires colors.css through both build.mjs CSS entry lists, the
@hive/shared exports map, and all 7 page templates. css-vars.md + the
frontend.nix output-list comment updated.
2026-06-08 21:24:07 +02:00
..
agent.css fix(frontend): var-derive hardcoded palette colours for theme-swap safety 2026-06-08 21:24:07 +02:00
app.js feat(dashboard): serve H0M3 at /, relocate dashboard to /dashboard.html (#1464) 2026-06-07 21:00:34 +02:00
colors.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
index.html refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
screen.html refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
stats.html refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00
stats.js feat(dashboard): serve H0M3 at /, relocate dashboard to /dashboard.html (#1464) 2026-06-07 21:00:34 +02:00
theme.css refactor(frontend): base16 theme contract in a swappable colors.css 2026-06-08 21:24:07 +02:00