# Theme System

1. **White-label brand**: `--color-primary` / `--color-secondary` (existing ThemeProvider)
2. **Surface theme**: light/dark via `ColorModeProvider` toggling `.dark` on `<html>`
3. Accounting pages consume surface tokens, not hard-coded white/black

Persistence: `localStorage` key `ty-color-mode`.
