Skip to content

Add Catppuccin Mocha theme and beautiful dashboard example#116

Open
ryanoneill wants to merge 4 commits intomainfrom
feature/beautiful-dashboard
Open

Add Catppuccin Mocha theme and beautiful dashboard example#116
ryanoneill wants to merge 4 commits intomainfrom
feature/beautiful-dashboard

Conversation

@ryanoneill
Copy link
Owner

Summary

  • Adds Catppuccin Mocha as the 6th built-in theme with all 26 palette colors
  • Updates themed_app example to include Catppuccin Mocha in the theme cycle
  • Creates a visually stunning beautiful_dashboard example (~600 lines) demonstrating modern TUI aesthetics

Beautiful Dashboard Features

  • Rounded borders (BorderType::Rounded) on every block
  • Inner padding for clean content spacing
  • Catppuccin Mocha color palette with lavender focus and mauve selection
  • Unicode indicators: / for active/inactive nav items, / for metric trends
  • Sparkline chart with simulated CPU/memory data
  • Multi-panel focus management (Navigation, Chart, Metrics)
  • Toast notifications on panel switches
  • Context-sensitive keyboard navigation

Components Showcased

Menu, Chart, MetricsDashboard, ProgressBar, KeyHints, Toast, FocusManager

Test plan

  • cargo test --all-features -- all tests pass including 3 new theme tests
  • cargo clippy --all-targets --all-features -- -D warnings -- clean
  • cargo build --examples -- all examples compile
  • cargo run --example beautiful_dashboard --features full -- renders without panic

🤖 Generated with Claude Code

@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.61%. Comparing base (087bee6) to head (19a5f35).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #116   +/-   ##
=======================================
  Coverage   92.61%   92.61%           
=======================================
  Files         100      100           
  Lines        9530     9531    +1     
=======================================
+ Hits         8826     8827    +1     
  Misses        704      704           

☔ 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 and others added 3 commits March 2, 2026 08:45
Add the popular Catppuccin Mocha color palette as a new theme option.
The palette features soothing pastel colors on a warm dark background,
with lavender as the focus color and mauve for selection.

- Add src/theme/catppuccin.rs with 26 official Mocha palette constants
- Add Theme::catppuccin_mocha() constructor
- Add CatppuccinMocha variant to themed_app example
- Add theme tests and update test_all_themes_distinct

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Visually stunning system monitor dashboard demonstrating modern TUI
aesthetics: rounded borders, padding, Unicode indicators, sparkline
charts, metrics cards, and strong focus contrast using the Catppuccin
Mocha palette.

Components used: Menu, Chart, MetricsDashboard, ProgressBar, KeyHints,
Toast, and FocusManager for multi-panel navigation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ryanoneill ryanoneill force-pushed the feature/beautiful-dashboard branch from 19a5f35 to f5f9bd5 Compare March 2, 2026 16:45
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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