use ratatui::style::{Color, Modifier, Style};
pub const GREEN: Color = Color::Rgb(154, 255, 0);
pub const GREEN_HI: Color = Color::Rgb(186, 255, 90);
pub const TEXT: Color = Color::Rgb(220, 220, 220);
pub const TEXT_DIM: Color = Color::Rgb(140, 140, 140);
pub const CHROME: Color = Color::Rgb(90, 90, 90);
pub const RULE: Color = Color::Rgb(50, 50, 50);
pub const AMBER: Color = Color::Rgb(255, 184, 0);
pub const RED: Color = Color::Rgb(255, 64, 64);
pub const CYAN: Color = Color::Rgb(0, 220, 220);
pub fn green() -> Style {
Style::default().fg(GREEN)
}
pub fn green_hi() -> Style {
Style::default().fg(GREEN_HI).add_modifier(Modifier::BOLD)
}
pub fn text() -> Style {
Style::default().fg(TEXT)
}
pub fn dim() -> Style {
Style::default().fg(TEXT_DIM)
}
pub fn chrome() -> Style {
Style::default().fg(CHROME)
}
pub fn rule() -> Style {
Style::default().fg(RULE)
}
pub fn amber() -> Style {
Style::default().fg(AMBER)
}
pub fn red() -> Style {
Style::default().fg(RED)
}
pub fn red_hi() -> Style {
Style::default().fg(RED).add_modifier(Modifier::BOLD)
}
pub fn cyan() -> Style {
Style::default().fg(CYAN)
}
pub const SECTION_PREFIX: &str = "▶";