From 2dcb49dd8008c042c81c99547649ca1e0b4386d1 Mon Sep 17 00:00:00 2001 From: benstrb Date: Fri, 30 Jan 2026 16:20:23 +0100 Subject: [PATCH] just a little color correction --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index cdfece6..91f0fdf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -157,7 +157,7 @@ impl WindowWidget<'_> { self.list = List::new(prepared_list) .block(block) - .highlight_style(Color::Cyan); + .highlight_style(Color::Magenta); } fn new(prepared_list: Vec) -> Self { @@ -246,7 +246,7 @@ impl PreviewWidget<'_> { match fs::read_to_string(absolute_path) { Ok(contents) => { - self.list = List::new(vec![contents]).block(block); + self.list = List::new(vec![contents]).block(block).style(Color::Gray); } Err(err) => match err.kind() { ErrorKind::FileTooLarge => {}