Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/user_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ const APP_CONFIG_DIR: &str = "spotify-tui";

#[derive(Clone, Debug, Deserialize, PartialEq, Serialize)]
pub struct UserTheme {
pub analysis_bar: Option<String>,
pub analysis_bar_text: Option<String>,
pub active: Option<String>,
pub banner: Option<String>,
pub error_border: Option<String>,
Expand Down Expand Up @@ -381,6 +383,8 @@ impl UserConfig {
};
}

to_theme_item!(analysis_bar);
to_theme_item!(analysis_bar_text);
to_theme_item!(active);
to_theme_item!(banner);
to_theme_item!(error_border);
Expand Down