From 47c23c6828b8e65e63c7a008d69c3688f41b1f35 Mon Sep 17 00:00:00 2001 From: veeso Date: Sun, 14 Mar 2021 20:40:27 +0100 Subject: [PATCH] Fixed bookmark list colors --- src/ui/layout/components/bookmark_list.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/layout/components/bookmark_list.rs b/src/ui/layout/components/bookmark_list.rs index 69891df..fac7e82 100644 --- a/src/ui/layout/components/bookmark_list.rs +++ b/src/ui/layout/components/bookmark_list.rs @@ -143,7 +143,7 @@ impl Component for BookmarkList { .collect(), }; let (fg, bg): (Color, Color) = match self.states.focus { - true => (Color::Reset, self.props.background), + true => (self.props.foreground, self.props.background), false => (Color::Reset, Color::Reset), }; let title: String = match self.props.texts.title.as_ref() { @@ -159,7 +159,7 @@ impl Component for BookmarkList { Block::default() .borders(Borders::ALL) .border_style(match self.states.focus { - true => Style::default().fg(self.props.foreground), + true => Style::default().fg(self.props.background), false => Style::default(), }) .title(title),