Theme config support for HighlightInactive
This commit is contained in:
@@ -106,6 +106,7 @@ pub struct ConfigTheme {
|
||||
pub playing_bg: Option<String>,
|
||||
pub highlight: Option<String>,
|
||||
pub highlight_bg: Option<String>,
|
||||
pub highlight_inactive_bg: Option<String>,
|
||||
pub error: Option<String>,
|
||||
pub error_bg: Option<String>,
|
||||
pub statusbar_progress: Option<String>,
|
||||
|
||||
@@ -33,6 +33,7 @@ pub fn load(theme_cfg: &Option<ConfigTheme>) -> Theme {
|
||||
palette[TitlePrimary] = load_color!(theme_cfg, title, Dark(Red));
|
||||
palette[HighlightText] = load_color!(theme_cfg, highlight, Dark(White));
|
||||
palette[Highlight] = load_color!(theme_cfg, highlight_bg, Dark(Red));
|
||||
palette[HighlightInactive] = load_color!(theme_cfg, highlight_inactive_bg, Dark(Blue));
|
||||
palette.set_color("playing", load_color!(theme_cfg, playing, Dark(Blue)));
|
||||
palette.set_color(
|
||||
"playing_selected",
|
||||
|
||||
Reference in New Issue
Block a user