ratatui_toolkit/services/theme/persistence/theme_config/
mod.rs

1//! Configuration structure for persisted theme settings.
2
3/// Configuration structure for persisted theme settings.
4///
5/// This struct holds the user's theme preferences and is serialized to JSON
6/// for persistence across sessions.
7///
8/// # Fields
9///
10/// * `theme_name` - The name of the selected theme (e.g., "ayu", "dracula")
11#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
12pub struct ThemeConfig {
13    /// The name of the selected theme (e.g., "ayu", "dracula").
14    pub theme_name: String,
15}