@ricardodantas/ratatui-themes
AA 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.
Install
agr install @ricardodantas/ratatui-themes --target claudeWrites 10 files into .claude/skills/, pinned to git-3bd1b867.
- .claude/skills/ratatui-themes/.gitignore
- .claude/skills/ratatui-themes/AGENTS.md
- .claude/skills/ratatui-themes/CHANGELOG.md
- .claude/skills/ratatui-themes/CONTRIBUTING.md
- .claude/skills/ratatui-themes/Cargo.lock
- .claude/skills/ratatui-themes/Cargo.toml
- .claude/skills/ratatui-themes/LICENSE
- .claude/skills/ratatui-themes/README.md
- .claude/skills/ratatui-themes/SKILL.md
- .claude/skills/ratatui-themes/llms.txt
Document
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
-
Theming TUI Applications
- Apply consistent color schemes to ratatui widgets
- Use semantic colors (error, warning, success) for status indicators
-
Theme Switching
- Implement theme cycling with
ThemeName::next()andprev() - Save user theme preferences with serde support
- Implement theme cycling with
-
Cross-Project Consistency
- Share themes between multiple ratatui-based projects
- Ensure uniform look and feel across applications
Quick Integration
// 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 colorsbg,fg,muted— Base colorsselection— Selection backgrounderror,warning,success,info— Semantic status colors
Links
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-3bd1b86712392026-07-31