Skip to content
Back to skills

SKILL.md — AI Skill Definition

ASecurity

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.

  • 35 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 5, 2026
designrustgogit

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned June 5, 2026

npx -y skills add ricardodantas/ratatui-themes --agent claude-code

Installs 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 with every re-scan.

Security grade badge for SKILL.md — AI Skill Definition
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ricardodantas-skill-md-ai-skill-definition/badge)](https://www.skillsdirectory.com/skills/ricardodantas-skill-md-ai-skill-definition)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 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

Files in this skill

  • AGENTS.md2.5 KB
  • CHANGELOG.md883 B
  • CONTRIBUTING.md2.8 KB
  • Cargo.lock37.7 KB
  • Cargo.toml1 KB
  • SKILL.md1.6 KB
  • examples/gallery.rs1.5 KB
  • llms.txt1.3 KB
  • src/lib.rs4.3 KB
  • src/palette.rs5.3 KB
  • src/theme.rs30.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.