Add built-in theme support with various pre-defined themes #28

Merged
vikingowl merged 2 commits from theming into main 2025-10-03 07:48:18 +02:00
Owner

Features

  • New material-light Theme: A light version of the Material theme has been added to the built-in themes.

Fixes & Improvements

  • Theme Color Accuracy: The color palettes for gruvbox, rose-pine, and monokai have been updated to more closely match their official specifications.
  • Light Theme Readability: Fixed a bug where the default text color was not being applied correctly across various UI components (panels, popups, selections), significantly improving readability in light themes.
  • Help Text Expansion: The in-app help (:help) has been updated to be more comprehensive:
    • Added a new "Browsers" tab for provider, model, and theme selection keybindings.
    • Added missing commands (:theme, :themes, :reload) and keybindings (Ctrl+r for redo, Delete for cut, etc.).
  • Code Cleanup: Removed the unused save_name_buffer field from the ChatApp struct, resolving a dead_code warning.

Documentation

  • README Update: The README.md has been updated to reflect the addition of the new theme and the new keybindings.

Housekeeping

  • Version Bump: The project version has been bumped to 0.1.9.
### Features - **New `material-light` Theme:** A light version of the Material theme has been added to the built-in themes. ### Fixes & Improvements - **Theme Color Accuracy:** The color palettes for `gruvbox`, `rose-pine`, and `monokai` have been updated to more closely match their official specifications. - **Light Theme Readability:** Fixed a bug where the default text color was not being applied correctly across various UI components (panels, popups, selections), significantly improving readability in light themes. - **Help Text Expansion:** The in-app help (`:help`) has been updated to be more comprehensive: - Added a new "Browsers" tab for provider, model, and theme selection keybindings. - Added missing commands (`:theme`, `:themes`, `:reload`) and keybindings (`Ctrl+r` for redo, `Delete` for cut, etc.). - **Code Cleanup:** Removed the unused `save_name_buffer` field from the `ChatApp` struct, resolving a `dead_code` warning. ### Documentation - **README Update:** The `README.md` has been updated to reflect the addition of the new theme and the new keybindings. ### Housekeeping - **Version Bump:** The project version has been bumped to `0.1.9`.
vikingowl added 1 commit 2025-10-03 07:47:52 +02:00
Add built-in theme support with various pre-defined themes
Some checks failed
ci/someci/tag/woodpecker/5 Pipeline is pending
ci/someci/tag/woodpecker/6 Pipeline is pending
ci/someci/tag/woodpecker/7 Pipeline is pending
ci/someci/tag/woodpecker/1 Pipeline failed
ci/someci/tag/woodpecker/2 Pipeline failed
ci/someci/tag/woodpecker/3 Pipeline failed
ci/someci/tag/woodpecker/4 Pipeline failed
96e2482782
- Introduce multiple built-in themes (`default_dark`, `default_light`, `gruvbox`, `dracula`, `solarized`, `midnight-ocean`, `rose-pine`, `monokai`, `material-dark`, `material-light`).
- Implement theming system with customizable color schemes for all UI components in the TUI.
- Include documentation for themes in `themes/README.md`.
- Add fallback mechanisms for default themes in case of parsing errors.
- Support custom themes with overrides via configuration.
vikingowl added 1 commit 2025-10-03 07:48:11 +02:00
vikingowl merged commit f0e162d551 into main 2025-10-03 07:48:18 +02:00
vikingowl deleted branch theming 2025-10-03 07:48:25 +02:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Owlibou/owlen#28