fix: Switch command line fg/bg colors

This commit is contained in:
Henrik Friedrichsen
2025-06-08 22:23:59 +02:00
parent 19b442f2ba
commit 46eb9dc1dd
2 changed files with 2 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Skip unplayable tracks - Skip unplayable tracks
- Queue UI correctly plays a track when clicking on an already selected item - Queue UI correctly plays a track when clicking on an already selected item
- Swap foreground and background colors for command line input
## [1.2.2] ## [1.2.2]

View File

@@ -44,8 +44,8 @@ impl Layout {
configuration: Arc<Config>, configuration: Arc<Config>,
) -> Self { ) -> Self {
let style = ColorStyle::new( let style = ColorStyle::new(
ColorType::Color(*theme.palette.custom("cmdline_bg").unwrap()),
ColorType::Color(*theme.palette.custom("cmdline").unwrap()), ColorType::Color(*theme.palette.custom("cmdline").unwrap()),
ColorType::Color(*theme.palette.custom("cmdline_bg").unwrap()),
); );
let mut command_line_input = EditView::new().filler(" ").style(style); let mut command_line_input = EditView::new().filler(" ").style(style);