use lazy_static::lazy_static;
use ratatui::style::Color;
#[derive(Clone)]
pub struct ThemeColors {
pub primary: Color,
pub background: Color,
pub foreground: Color,
pub selection: Color,
pub accent: Color,
pub error: Color,
pub success: Color,
pub border: Color,
pub header_bg: Color,
pub header_fg: Color,
}
impl PartialEq for ThemeColors {
fn eq(&self, other: &Self) -> bool {
self.primary == other.primary
&& self.background == other.background
&& self.foreground == other.foreground
&& self.selection == other.selection
&& self.accent == other.accent
&& self.error == other.error
&& self.success == other.success
&& self.border == other.border
&& self.header_bg == other.header_bg
&& self.header_fg == other.header_fg
}
}
lazy_static! {
pub static ref LIGHT_MODE_COLORS: ThemeColors = ThemeColors {
primary: Color::Rgb(25, 118, 210), background: Color::Rgb(248, 248, 248), foreground: Color::Rgb(33, 33, 33), selection: Color::Rgb(207, 232, 252), accent: Color::Rgb(230, 81, 0), error: Color::Rgb(211, 47, 47), success: Color::Rgb(56, 142, 60), border: Color::Rgb(189, 189, 189), header_bg: Color::Rgb(232, 232, 232), header_fg: Color::Rgb(66, 66, 66), };
pub static ref DARK_MODE_COLORS: ThemeColors = ThemeColors {
primary: Color::Rgb(255, 165, 0), background: Color::Black, foreground: Color::White, selection: Color::DarkGray, accent: Color::Rgb(255, 165, 0), error: Color::Red, success: Color::Green, border: Color::Rgb(255, 165, 0), header_bg: Color::Black, header_fg: Color::Rgb(255, 165, 0), };
}