feat(KB-072): expand dashboard theme system with Factory tokens

- Add the Factory theme to shared theme types and the dashboard theme selector
- Validate persisted color themes against shared constants in useTheme and the pre-hydration init script
- Introduce reusable design tokens for typography, spacing, radius, shadows, and transitions in dashboard styles
- Add Factory-specific dark and light styling overrides for cards, buttons, columns, and theme swatches
- Strengthen theme tests to cover all supported themes, Factory previews, and stylesheet token contracts
This commit is contained in:
gsxdsm
2026-03-30 00:46:03 -07:00
parent b64b94be1f
commit bce16bd817
8 changed files with 470 additions and 139 deletions

View File

@@ -0,0 +1,18 @@
---
"@dustinbyrne/kb": minor
---
Add comprehensive design theme system with Factory theme
- Expanded theme system to support design tokens beyond colors:
- Typography (font families)
- Spacing scale
- Border radius scale
- Component-specific styling
- Shadow and animation tokens
- Added new "Factory" design theme with industrial sci-fi aesthetic:
- Monospace fonts for terminal feel
- Sharp corners and compact spacing
- Amber/cyan/green status indicators
- Industrial button styling
- All existing color themes remain compatible