1use ratatui::style::Color;
2
3pub const CAPTURE_COLORS: &[Color] = &[
4 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), ];
17
18pub const MATCH_BG: Color = Color::Rgb(69, 71, 90);
19pub const SURFACE0: Color = Color::Rgb(49, 50, 68);
20pub const SURFACE1: Color = Color::Rgb(69, 71, 90);
21pub const TEXT: Color = Color::Rgb(205, 214, 244);
22pub const SUBTEXT: Color = Color::Rgb(166, 173, 200);
23pub const OVERLAY: Color = Color::Rgb(108, 112, 134);
24pub const RED: Color = Color::Rgb(243, 139, 168);
25pub const GREEN: Color = Color::Rgb(166, 227, 161);
26pub const BLUE: Color = Color::Rgb(137, 180, 250);
27pub const YELLOW: Color = Color::Rgb(249, 226, 175);
28pub const TEAL: Color = Color::Rgb(148, 226, 213);
29pub const PEACH: Color = Color::Rgb(250, 179, 135);
30pub const MAUVE: Color = Color::Rgb(203, 166, 247);
31pub const BASE: Color = Color::Rgb(30, 30, 46);
32
33pub fn capture_color(index: usize) -> Color {
34 CAPTURE_COLORS[index % CAPTURE_COLORS.len()]
35}