use ratatui::style::{Color, Modifier, Style};
pub const ORANGE: Color = Color::Rgb(215, 100, 20);
pub const TEAL: Color = Color::Cyan;
pub const WHITE: Color = Color::Rgb(220, 220, 220);
pub const TEXT_PRIMARY: Color = Color::Rgb(200, 200, 210);
pub const TEXT_SECONDARY: Color = Color::Rgb(140, 140, 160);
pub const TEXT_MUTED: Color = Color::Rgb(80, 80, 100);
pub const TEXT_DIM: Color = Color::Rgb(60, 60, 80);
pub const GRAY: Color = Color::Rgb(120, 120, 120);
pub const GRAY_MID: Color = Color::Rgb(100, 100, 100);
pub const GRAY_DETAIL: Color = Color::Rgb(90, 90, 90);
pub const GRAY_DIM: Color = Color::Rgb(80, 80, 80);
pub const GRAY_DARK: Color = Color::Rgb(70, 70, 70);
pub const GRAY_BASE: Color = Color::Rgb(50, 50, 50);
pub const GRAY_LIGHT: Color = Color::Rgb(200, 200, 200);
pub const GRAY_SOFT: Color = Color::Rgb(170, 170, 170);
pub const GRAY_MUTED: Color = Color::Rgb(160, 160, 160);
pub const SUCCESS: Color = Color::Rgb(80, 200, 120);
pub const ANALYTICS_GREEN: Color = Color::Rgb(46, 204, 113);
pub const GREEN_CHECK: Color = Color::Rgb(120, 200, 120);
pub const ERROR: Color = Color::Rgb(220, 80, 80);
pub const ERROR_SOFT: Color = Color::Rgb(220, 70, 70);
pub const ERROR_FADED: Color = Color::Rgb(220, 130, 130);
pub const WARNING: Color = Color::Rgb(230, 180, 80);
pub const WARNING_MUTED: Color = Color::Rgb(200, 170, 60);
pub const AMBER_MUTED: Color = Color::Rgb(190, 160, 70);
pub const TEAL_VIVID: Color = Color::Rgb(60, 185, 185);
pub const TEAL_BRIGHT: Color = Color::Rgb(60, 190, 190);
pub const TEAL_MUTED: Color = Color::Rgb(60, 165, 165);
pub const TEAL_CALM: Color = Color::Rgb(80, 175, 175);
pub const BLUE_SLATE: Color = Color::Rgb(90, 110, 150);
pub const BLUE_STEEL: Color = Color::Rgb(100, 140, 180);
pub const BLUE_LINK: Color = Color::Rgb(90, 160, 230);
pub const BLUE_SKY: Color = Color::Rgb(80, 160, 220);
pub const BLUE_SOFT: Color = Color::Rgb(75, 160, 215);
pub const BLUE_VIVID: Color = Color::Rgb(60, 130, 246);
pub const BLUE_CODE: Color = Color::Rgb(125, 150, 195);
pub const SELECTION_BG: Color = Color::Rgb(50, 80, 160);
pub const SURFACE_PANEL: Color = Color::Rgb(30, 30, 45);
pub const SURFACE_QR: Color = Color::Rgb(18, 18, 18);
pub const SURFACE_CODE: Color = Color::Rgb(40, 45, 55);
pub const SURFACE_CODE_ALT: Color = Color::Rgb(40, 44, 56);
pub const INK: Color = Color::Rgb(20, 20, 30);
pub const PURPLE_SOFT: Color = Color::Rgb(160, 120, 200);
pub const ACCENT_AMBER: Color = Color::Rgb(235, 160, 70);
pub const ACCENT_CYAN: Color = Color::Rgb(80, 200, 200);
pub const ACCENT_TEAL: Color = Color::Rgb(90, 200, 160);
pub const ACCENT_BLUE: Color = Color::Rgb(90, 160, 220);
pub const ACCENT_BLUE_LIGHT: Color = Color::Rgb(150, 190, 240);
pub const ACCENT_PALE: Color = Color::Rgb(180, 210, 230);
pub const PROJECT_BADGE_COLORS: &[Color] = &[
ORANGE,
ACCENT_AMBER,
ACCENT_CYAN,
ACCENT_TEAL,
ACCENT_BLUE,
ACCENT_BLUE_LIGHT,
WHITE,
ACCENT_PALE,
];
pub fn title_style(accent: Color) -> Style {
Style::default().fg(accent).add_modifier(Modifier::BOLD)
}
pub fn muted() -> Style {
Style::default().fg(crate::tui::render::theme::role(
crate::tui::render::theme::Role::TextMuted,
))
}
pub fn dim() -> Style {
Style::default().fg(crate::tui::render::theme::role(
crate::tui::render::theme::Role::TextDim,
))
}