use ratatui::style::{Color, Modifier, Style};
pub const BG: Color = Color::Rgb(8, 12, 28); pub const CARD_BG: Color = Color::Rgb(14, 22, 48); pub const INPUT_BG: Color = Color::Rgb(20, 30, 58); pub const MODE_IDLE_BG: Color = Color::Rgb(16, 24, 48);
pub const MODE_ACTIVE_BG: Color = Color::Rgb(18, 36, 78);
pub const BORDER: Color = Color::Rgb(56, 78, 128); pub const BORDER_SOFT: Color = Color::Rgb(40, 55, 95);
pub const TEXT: Color = Color::Rgb(241, 245, 255); pub const MUTED: Color = Color::Rgb(148, 174, 220); pub const HINT: Color = Color::Rgb(100, 128, 180); pub const TITLE: Color = Color::Rgb(255, 255, 255);
pub const ACCENT: Color = Color::Rgb(56, 189, 248); pub const CYAN: Color = Color::Rgb(34, 211, 238); pub const VIOLET: Color = Color::Rgb(167, 139, 250);
pub const EMERALD: Color = Color::Rgb(52, 211, 153); pub const AMBER: Color = Color::Rgb(251, 191, 36); pub const ORANGE: Color = Color::Rgb(251, 146, 60); pub const RED: Color = Color::Rgb(248, 113, 113); pub const RED_DEEP: Color = Color::Rgb(185, 28, 28);
pub const BUTTON_PRIMARY_BG: Color = Color::Rgb(37, 99, 235); pub const BUTTON_PRIMARY_BG_HOT: Color = Color::Rgb(59, 130, 246); pub const PROGRESS_TRACK: Color = Color::Rgb(30, 45, 85);
pub const STATUS_DETAIL: Color = Color::Rgb(165, 190, 235);
pub fn focused_text(active: bool) -> Style {
if active {
Style::default().fg(ACCENT).add_modifier(Modifier::BOLD)
} else {
Style::default().fg(TEXT)
}
}
pub fn section_label_style() -> Style {
Style::default()
.fg(MUTED)
.add_modifier(Modifier::BOLD)
}
pub fn border_style(focused: bool) -> Style {
Style::default().fg(if focused { CYAN } else { BORDER })
}