Skip to content

Add selectable theme presets and adaptive interaction tokens#93

Merged
SDSLeon merged 2 commits into
masterfrom
lightcode/happy-albatross-f6250fb4
Jun 2, 2026
Merged

Add selectable theme presets and adaptive interaction tokens#93
SDSLeon merged 2 commits into
masterfrom
lightcode/happy-albatross-f6250fb4

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Type: Feature

  • Introduce a theme preset catalog (light/dark variants, anchor-to-token derivation, WCAG-aware muted text) and apply selected presets at the document root on startup and when settings change.
  • Persist themePresetId in shared settings (schema, store, main-process file tests) and add a Theme Gallery in Appearance settings for choosing presets.
  • Add theme-adaptive interaction CSS variables and wire the UI provider/bootstrap path so hover, focus, and selection states stay readable across presets.
  • Migrate shared surfaces (sidebar, chat, git/PR review, browser panel, overlays, search, and related chrome) from hardcoded interaction classes to the new tokens for consistent theming app-wide.

- Add theme preset catalog, token derivation, applyAppTheme, and startup cache bootstrap
- Persist themePreset in shared settings, store, and sharedSettingsFile tests
- Add ThemeGallery to appearance settings; apply preset from provider on mode change
- Introduce --row-hover, --row-active, and --hairline CSS variables in styles.css
- Replace hardcoded white overlay classes across sidebar, thread, git, browser, and settings UI
- Use hairline borders on chat prompt surfaces; add themePresets contrast tests
@vercel

vercel Bot commented Jun 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightcode-landing Ready Ready Preview, Comment Jun 2, 2026 4:31am

- Bootstrap appearance and background in index.html before first paint
- Resolve saved appearance in main and set native window chrome colors
- Persist theme boot cache from renderer for next launch pre-paint
@SDSLeon SDSLeon merged commit 800ed31 into master Jun 2, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/happy-albatross-f6250fb4 branch June 2, 2026 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant