Commit graph

5 commits

Author SHA1 Message Date
Richard R
4f1d8feda5 Refactor UI components to use consistent button and icon styles across the application 2026-06-01 11:33:25 -06:00
Richard R
d2d06e15b6 Converge choice and popover surfaces 2026-06-01 11:02:26 -06:00
Richard R
c78b134d4d phase 3: depth and rhythm polish 2026-05-31 20:48:18 -06:00
Richard R
11e138ae36 phase 1: motion language 2026-05-31 19:25:40 -06:00
Richard R
b7cc2436d2 feat(theme): add persistent custom theme with live color editing
Add support for a persistent "custom" theme that users can edit and preview in settings.

- add CustomThemeColors type and storage helpers (getCustomThemeColors, setCustomThemeColors)
- apply custom CSS variables at runtime and provide applyCustomColors to live-update variables
- include fallback CSS for html.custom to avoid flash before hydration
- add ColorPicker component with curated swatches for each color role
- extend SettingsModal to support editing, previewing, and persisting custom theme colors; exclude 'custom' from regular theme lists and read custom colors when rendering previews
- tighten theme detection logic to treat custom background luminance as light/dark when needed

This enables users to define, persist, and see live updates for custom color palettes.
2026-04-07 01:09:08 -06:00