1use dartboard_core::RgbColor;
2use ratatui::style::Color;
3
4pub const BORDER: Color = Color::Rgb(96, 64, 32);
5pub const ACCENT: Color = Color::Rgb(184, 120, 40);
6pub const TEXT: Color = Color::Rgb(136, 128, 120);
7pub const MUTED: Color = Color::Rgb(112, 104, 104);
8pub const MUTED_GREATER: Color = Color::Rgb(64, 56, 56);
9pub const SELECTION_BG: Color = Color::Rgb(64, 40, 24);
10pub const HIGHLIGHT: Color = Color::Rgb(208, 166, 89);
11pub const OOB_BG: Color = Color::Rgb(16, 16, 16);
12pub const FLOAT_BG: Color = Color::Rgb(32, 48, 64);
13
14pub const PLAYER_PALETTE: [RgbColor; 9] = [
15 RgbColor::new(255, 110, 64),
16 RgbColor::new(255, 236, 96),
17 RgbColor::new(145, 226, 88),
18 RgbColor::new(72, 220, 170),
19 RgbColor::new(84, 196, 255),
20 RgbColor::new(128, 163, 255),
21 RgbColor::new(192, 132, 255),
22 RgbColor::new(255, 124, 196),
23 RgbColor::new(176, 48, 56),
24];
25
26pub const PLAYER_COLOR_NAMES: [&str; 9] = [
27 "salmon", "amber", "lime", "mint", "sky", "indigo", "violet", "rose", "maroon",
28];
29
30pub const DEFAULT_GLYPH_FG: RgbColor = RgbColor::new(136, 128, 120);
31
32pub const fn rat(c: RgbColor) -> Color {
33 Color::Rgb(c.r, c.g, c.b)
34}