# WorkRoot Component Library
A reference for all reusable UI components. Every component listed here fully supports dark/light theme switching via Tailwind's `dark:` variant prefix — the `dark` class is toggled on `` by `ThemeToggle.astro`.
---
## Theme Architecture
| Mechanism | Detail |
|-----------|--------|
| Strategy | Tailwind `class` dark mode (`darkMode: 'class'` in `tailwind.config.mjs`) |
| Toggle | `` writes `dark` / `light` to `localStorage` and toggles `html.dark` |
| FOUC prevention | Inline `