A Rust library providing pre-defined color themes for terminal UI applications built with `ratatui`. Includes 15+ popular themes like Dracula, Nord, Catppuccin, Tokyo Night, and more.
Scanned 6/5/2026
Install to Claude Code
npx -y skills add ricardodantas/ratatui-themes --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of SKILL.md — AI Skill Definition?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/ricardodantas-skill-md-ai-skill-definition)More formats (shields.io, HTML) on the badges page.
# SKILL.md — AI Skill Definition
## Skill: ratatui-themes
### Description
A Rust library providing pre-defined color themes for terminal UI applications built with `ratatui`. Includes 15+ popular themes like Dracula, Nord, Catppuccin, Tokyo Night, and more.
### Use Cases
1. **Theming TUI Applications**
- Apply consistent color schemes to ratatui widgets
- Use semantic colors (error, warning, success) for status indicators
2. **Theme Switching**
- Implement theme cycling with `ThemeName::next()` and `prev()`
- Save user theme preferences with serde support
3. **Cross-Project Consistency**
- Share themes between multiple ratatui-based projects
- Ensure uniform look and feel across applications
### Quick Integration
```rust
// Add to Cargo.toml:
// ratatui-themes = "0.1"
use ratatui_themes::{Theme, ThemeName};
use ratatui::style::Style;
let theme = Theme::new(ThemeName::Dracula);
let palette = theme.palette();
// Use in widgets
let style = Style::default()
.fg(palette.fg)
.bg(palette.bg);
```
### Available Themes
Dark themes: Dracula, OneDarkPro, Nord, CatppuccinMocha, GruvboxDark, TokyoNight, SolarizedDark, MonokaiPro, RosePine, Kanagawa, Everforest, Cyberpunk
Light themes: CatppuccinLatte, GruvboxLight, SolarizedLight
### Palette Colors
Each theme provides:
- `accent`, `secondary` — Highlight colors
- `bg`, `fg`, `muted` — Base colors
- `selection` — Selection background
- `error`, `warning`, `success`, `info` — Semantic status colors
### Links
- **Crate**: https://crates.io/crates/ratatui-themes
- **Docs**: https://docs.rs/ratatui-themes
- **Source**: https://github.com/ricardodantas/ratatui-themes
No comments yet. Be the first to comment!
Implement modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first breakpoint strategies. Use when building adaptive interfaces, implementing fluid layouts, or creating component-level responsive behavior.