Skip to content

Add Dracula, Solarized Dark, and Gruvbox Dark built-in themes#108

Merged
ryanoneill merged 1 commit intomainfrom
feature/additional-themes
Mar 2, 2026
Merged

Add Dracula, Solarized Dark, and Gruvbox Dark built-in themes#108
ryanoneill merged 1 commit intomainfrom
feature/additional-themes

Conversation

@ryanoneill
Copy link
Owner

Summary

  • Add Dracula color palette constants (11 colors) and Theme::dracula() constructor
  • Add Solarized Dark color palette constants (12 colors) and Theme::solarized_dark() constructor
  • Add Gruvbox Dark color palette constants (11 colors) and Theme::gruvbox_dark() constructor
  • Add field verification and color constant tests for each new theme, plus a distinctness test across all 5 themes
  • Update themed_app example to cycle through all 5 themes

Test plan

  • cargo test — all tests pass (29 theme tests including 7 new)
  • cargo clippy -- -D warnings — clean
  • cargo check --no-default-features — compiles
  • cargo test --doc — 270 doc tests pass (including 3 new theme docs)
  • cargo build --examples — compiles

🤖 Generated with Claude Code

Three new theme constructors with full color palettes: Theme::dracula(),
Theme::solarized_dark(), and Theme::gruvbox_dark(). Includes color
constant exports, field verification tests, distinctness test, and
updated themed_app example cycling through all 5 themes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.65%. Comparing base (41832db) to head (0af2c2a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #108   +/-   ##
=======================================
  Coverage   92.65%   92.65%           
=======================================
  Files          99       99           
  Lines        9491     9494    +3     
=======================================
+ Hits         8794     8797    +3     
  Misses        697      697           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ryanoneill ryanoneill merged commit cd55b30 into main Mar 2, 2026
12 of 13 checks passed
@ryanoneill ryanoneill deleted the feature/additional-themes branch March 2, 2026 04:57
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.

2 participants