use macroquad::prelude::*;
#[derive(Debug, Clone, Copy)]
pub struct Palette {
pub background_top: Color,
pub background_bottom: Color,
pub glow: Color,
pub accent_a: Color,
pub accent_b: Color,
}
impl Palette {
pub fn aurora() -> Self {
Self {
background_top: color_u8!(8, 15, 30, 255),
background_bottom: color_u8!(28, 8, 56, 255),
glow: color_u8!(120, 255, 230, 120),
accent_a: color_u8!(114, 236, 255, 255),
accent_b: color_u8!(255, 120, 190, 255),
}
}
pub fn sunset() -> Self {
Self {
background_top: color_u8!(255, 157, 84, 255),
background_bottom: color_u8!(35, 22, 71, 255),
glow: color_u8!(255, 218, 128, 90),
accent_a: color_u8!(255, 244, 180, 255),
accent_b: color_u8!(255, 90, 146, 255),
}
}
pub fn neon_night() -> Self {
Self {
background_top: color_u8!(5, 10, 24, 255),
background_bottom: color_u8!(12, 38, 78, 255),
glow: color_u8!(97, 214, 255, 110),
accent_a: color_u8!(83, 255, 233, 255),
accent_b: color_u8!(255, 84, 176, 255),
}
}
}