ratkit 0.2.15

A comprehensive collection of reusable TUI components for ratatui including resizable splits, tree views, markdown rendering, toast notifications, dialogs, and terminal embedding
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Configuration structure for persisted theme settings.

/// Configuration structure for persisted theme settings.
///
/// This struct holds the user's theme preferences and is serialized to JSON
/// for persistence across sessions.
///
/// # Fields
///
/// * `theme_name` - The name of the selected theme (e.g., "ayu", "dracula")
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
pub struct ThemeConfig {
    /// The name of the selected theme (e.g., "ayu", "dracula").
    pub theme_name: String,
}