use crate::Rgb;
#[derive(Clone, Debug)]
pub struct StartScreenTheme {
pub text_dim: Rgb,
pub text: Rgb,
pub cursor_line_bg: Rgb,
}
impl Default for StartScreenTheme {
fn default() -> Self {
Self {
text_dim: Rgb(0x3b, 0x42, 0x52),
text: Rgb(0xd8, 0xde, 0xe9),
cursor_line_bg: Rgb(0x2e, 0x34, 0x40),
}
}
}
pub struct StartScreen {
pub version: String,
pub palette: StartScreenTheme,
}
impl StartScreen {
pub fn build(version: &str) -> Self {
Self {
version: version.to_string(),
palette: StartScreenTheme::default(),
}
}
}