Expand description
IDE Theme System
This module provides theme management for the IDE, re-exporting theme types from ricecoder-tui and providing IDE-specific theme manager wrapper functionality.
§Architecture
The IDE theme system is built on top of the TUI theme system, providing:
- Re-exported theme types (Color, Theme, ThemeManager)
- IDE-specific theme manager wrapper
- Integration with IDE configuration
- Theme persistence through ricecoder-storage
§Example
ⓘ
use ricecoder_ide::themes::{IdeThemeManager, Color, Theme};
// Create IDE theme manager
let theme_manager = IdeThemeManager::new();
// Switch to a theme
theme_manager.switch_by_name("dracula")?;
// Get current theme
let current = theme_manager.current()?;
println!("Current theme: {}", current.name);Re-exports§
pub use integration::IdeThemeConfig;pub use integration::IdeThemeIntegration;
Modules§
- integration
- IDE Theme Integration
Structs§
- Color
- Color definition
- IdeTheme
Manager - IDE-specific theme manager wrapper
- Theme
- Theme definition
- Theme
Loader - Custom theme loader
- Theme
Manager - Theme manager for runtime theme management and switching
- Theme
Registry - Theme registry for storing and managing themes
- Theme
Reset Manager - Theme reset manager for resetting themes to their default state
Enums§
- Color
Support - Terminal color support levels