Expand description
Re-exports§
pub use builders::ThemeExt;pub use builders::GaugeStyles;pub use builders::InputStyles;pub use builders::ListStyles;pub use builders::NotificationStyles;pub use builders::ScrollbarStyles;pub use builders::StateStyles;pub use builders::TabStyles;pub use builders::TableStyles;pub use builders::ThemedBar;pub use builders::ThemedBlock;pub use builders::ThemedLine;pub use builders::ThemedSpan;pub use builders::ThemedStatusLine;pub use builders::zebra_rows;
Modules§
- builders
- Theme-aware builders for ratatui primitives.
Structs§
- Custom
Theme - A theme defined by user configuration (TOML, YAML, JSON).
- Theme
Data - A theme defined as pure data — 15 color slots.
Constants§
- CATPPUCCIN_
MOCHA - Catppuccin Mocha — warm dark theme with pastel colors.
- Catppuccin
Mocha - DRACULA
- Dracula — dark theme with vivid colors.
- Dracula
- GRUVBOX_
DARK - Gruvbox Dark — retro warm dark theme.
- Gruvbox
Dark - NORD
- Nord — arctic blue-gray theme.
- NO_
COLOR - No Color — all
Color::Reset. Respects https://no-color.org/. - NoColor
- Nord
- ONE_
DARK - One Dark — Atom editor’s iconic theme.
- OneDark
- ROSE_
PINE - Rosé Pine — elegant muted rose tones (by mvllow).
- Rose
Pine - SOLARIZED_
DARK - Solarized Dark — precision-engineered dark theme.
- Solarized
Dark - TAILWIND_
DARK - Tailwind Dark — based on Tailwind CSS color palette.
- TERMINAL_
NATIVE - Terminal Native — ANSI named colors only (no truecolor needed).
- TOKYO_
NIGHT - Tokyo Night — vivid blue accents (by enkia).
- Tailwind
Dark - Terminal
Native - Tokyo
Night
Statics§
- BUILTIN_
THEMES - All built-in themes in display order (
NoColorexcluded — it’s special).
Traits§
- Theme
- Semantic color contract for ratatui applications.
Functions§
- available_
theme_ ids - Returns all built-in theme IDs (excludes
"no-color"). - builtin_
themes - Returns all built-in theme instances (excludes
NoColor). - default_
theme - Returns the default theme (Catppuccin Mocha).
- no_
color_ active - Checks if the
NO_COLORenvironment variable is set. - resolve_
theme - Resolves a theme by its config ID string.