feat(terminal): add color theming with built-in themes#171
Merged
Cleboost merged 5 commits intoJul 22, 2026
Conversation
Terminals previously never set VTE colors, so they inherited a poor GTK-derived palette. Introduce a theme module with 10 curated schemes (Dracula, Nord, Tokyo Night, Catppuccin Mocha, Gruvbox Dark, One Dark, Solarized Dark/Light, Monokai, GitHub Light). - Apply the configured theme to each terminal on creation - Add terminal_theme to AppConfig, defaulting to Dracula, with a serde default so existing configs load unchanged - Add a Color Theme dropdown in settings that saves and live-recolors all open terminals instantly
Owner
|
Thanks for your first contribution ! I just touch a few spot to simplify code. |
Move the default theme constant into config_observer, use index-based theme lookup, filter session tabs when recoloring, and avoid heap allocations when applying VTE palettes.
This reverts commit 84e71dc.
Owner
|
Reverted the changeset — wrong repo, wrong morning. Rustmius doesn’t use Changesets, my bad 😅 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Terminals previously never set VTE colors, so they inherited a poor GTK-derived palette. Introduce a theme module with 10 curated schemes (Dracula, Nord, Tokyo Night, Catppuccin Mocha, Gruvbox Dark, One Dark, Solarized Dark/Light, Monokai, GitHub Light).