2024-06-06 23:56:45 +01:00
|
|
|
use ratatui::style::Color;
|
|
|
|
|
2024-07-28 16:17:06 +01:00
|
|
|
#[derive(Clone)]
|
2024-06-06 23:56:45 +01:00
|
|
|
pub struct Theme {
|
|
|
|
pub dir_color: Color,
|
|
|
|
pub cmd_color: Color,
|
|
|
|
pub dir_icon: &'static str,
|
|
|
|
pub cmd_icon: &'static str,
|
|
|
|
pub success_color: Color,
|
|
|
|
pub fail_color: Color,
|
|
|
|
}
|
|
|
|
|
|
|
|
pub const THEMES: [Theme; 2] = [
|
|
|
|
Theme {
|
|
|
|
dir_color: Color::Blue,
|
|
|
|
cmd_color: Color::LightGreen,
|
|
|
|
dir_icon: "[DIR]",
|
|
|
|
cmd_icon: "[CMD]",
|
|
|
|
success_color: Color::Green,
|
|
|
|
fail_color: Color::Red,
|
|
|
|
},
|
|
|
|
Theme {
|
|
|
|
dir_color: Color::Blue,
|
|
|
|
cmd_color: Color::Rgb(204, 224, 208),
|
|
|
|
dir_icon: " ",
|
|
|
|
cmd_icon: " ",
|
|
|
|
fail_color: Color::Rgb(199, 55, 44),
|
|
|
|
success_color: Color::Rgb(5, 255, 55),
|
|
|
|
},
|
|
|
|
];
|