just a little color correction

This commit is contained in:
benstrb 2026-01-30 16:20:23 +01:00
parent 2153bfef4c
commit 2dcb49dd80

View file

@ -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<String>) -> 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 => {}