use densa_core::Color;
#[derive(Debug, Clone, Copy, PartialEq)]
#[non_exhaustive]
pub struct Palette {
pub background: Color,
pub header_background: Color,
pub header_text: Color,
pub stripe: Color,
pub text: Color,
pub dim_text: Color,
pub positive: Color,
pub negative: Color,
}
impl Palette {
pub fn new() -> Self {
Self {
background: Color::srgb(0x0D1117),
header_background: Color::srgb(0x161B22),
header_text: Color::srgb(0x8B949E),
stripe: Color::srgb(0x131922),
text: Color::srgb(0xC9D1D9),
dim_text: Color::srgb(0x6E7681),
positive: Color::srgb(0x3FB950),
negative: Color::srgb(0xF85149),
}
}
}
impl Default for Palette {
fn default() -> Self {
Self::new()
}
}