Choose appropriate player colors based on theme appearance
This commit is contained in:
parent
889d20d046
commit
04ad19d01b
1 changed files with 4 additions and 1 deletions
|
@ -76,7 +76,10 @@ impl ThemeRegistry {
|
||||||
system: SystemColors::default(),
|
system: SystemColors::default(),
|
||||||
colors: theme_colors,
|
colors: theme_colors,
|
||||||
status: status_colors,
|
status: status_colors,
|
||||||
player: PlayerColors::default(),
|
player: match user_theme.appearance {
|
||||||
|
Appearance::Light => PlayerColors::light(),
|
||||||
|
Appearance::Dark => PlayerColors::dark(),
|
||||||
|
},
|
||||||
syntax: Arc::new(syntax_colors),
|
syntax: Arc::new(syntax_colors),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue