feat(tui): theme system with 5 curated dark palettes #24

Merged
lerko merged 3 commits from feat/themes into main 2026-05-24 23:30:25 +00:00
Owner

Summary

  • Theme engine: all hardcoded colors replaced with theme-driven values
  • 5 themes: Flexoki Dark (default), Tokyo Night, Catppuccin Mocha, Nord, Gruvbox
  • Press T to cycle themes; selection persists in SQLite preferences
  • Custom huh form themes generated from palette
  • Dedicated ZebraBg per theme for subtle row striping without washing out text

Test plan

  • Cycle through all 5 themes with T — verify text readability on each
  • Quit and relaunch — verify theme persists
  • Open a form (new monitor) — verify form colors match active theme
  • Check zebra row contrast on all themes
## Summary - Theme engine: all hardcoded colors replaced with theme-driven values - 5 themes: Flexoki Dark (default), Tokyo Night, Catppuccin Mocha, Nord, Gruvbox - Press `T` to cycle themes; selection persists in SQLite preferences - Custom huh form themes generated from palette - Dedicated ZebraBg per theme for subtle row striping without washing out text ## Test plan - [ ] Cycle through all 5 themes with `T` — verify text readability on each - [ ] Quit and relaunch — verify theme persists - [ ] Open a form (new monitor) — verify form colors match active theme - [ ] Check zebra row contrast on all themes
lerko added 3 commits 2026-05-24 23:22:07 +00:00
Flexoki Dark (default), Flexoki Light, Catppuccin Mocha, Nord.
Press T to cycle themes; selection persists in preferences.

All hardcoded colors replaced with theme-driven values.
Dedicated ZebraBg per theme for subtle row striping.
Light theme doesn't work well on dark terminals. Replace with
two proven dark palettes. Now 5 themes: Flexoki Dark, Tokyo Night,
Catppuccin Mocha, Nord, Gruvbox.
fix(tui): tighten zebra row contrast for Tokyo Night and Gruvbox
CI / test (pull_request) Successful in 4m48s
CI / lint (pull_request) Successful in 1m11s
fee84c9363
Previous ZebraBg was too far from Bg, washing out text on those
themes. Reduced to a 2-step shift for subtle row alternation.
lerko merged commit 36a4b69837 into main 2026-05-24 23:30:25 +00:00
lerko deleted branch feat/themes 2026-05-24 23:30:25 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lerkolabs/uptop#24