use ratatui::style::Color;
pub const CAPTURE_COLORS: &[Color] = &[
Color::Rgb(166, 227, 161), Color::Rgb(249, 226, 175), Color::Rgb(137, 180, 250), Color::Rgb(245, 194, 231), Color::Rgb(180, 190, 254), Color::Rgb(148, 226, 213), Color::Rgb(250, 179, 135), Color::Rgb(203, 166, 247), Color::Rgb(116, 199, 236), Color::Rgb(242, 205, 205), Color::Rgb(243, 139, 168), Color::Rgb(137, 220, 235), ];
pub const MATCH_BG: Color = Color::Rgb(69, 71, 90);
pub const MATCH_BG_ALT: Color = Color::Rgb(88, 91, 112);
pub fn match_bg(index: usize) -> Color {
if index % 2 == 0 {
MATCH_BG
} else {
MATCH_BG_ALT
}
}
pub const SURFACE0: Color = Color::Rgb(49, 50, 68);
pub const SURFACE1: Color = Color::Rgb(69, 71, 90);
pub const TEXT: Color = Color::Rgb(205, 214, 244);
pub const SUBTEXT: Color = Color::Rgb(166, 173, 200);
pub const OVERLAY: Color = Color::Rgb(108, 112, 134);
pub const RED: Color = Color::Rgb(243, 139, 168);
pub const GREEN: Color = Color::Rgb(166, 227, 161);
pub const BLUE: Color = Color::Rgb(137, 180, 250);
pub const YELLOW: Color = Color::Rgb(249, 226, 175);
pub const TEAL: Color = Color::Rgb(148, 226, 213);
pub const PEACH: Color = Color::Rgb(250, 179, 135);
pub const MAUVE: Color = Color::Rgb(203, 166, 247);
pub const BASE: Color = Color::Rgb(30, 30, 46);
pub fn capture_color(index: usize) -> Color {
CAPTURE_COLORS[index % CAPTURE_COLORS.len()]
}