zord-gui 0.1.2

A minimal text editor built with GPUI
use gpui::{hsla, rgb, Hsla};

#[derive(Clone)]
pub struct Theme {
    pub background: Hsla,
    pub text: Hsla,
    pub text_muted: Hsla,
    pub selection: Hsla,
    pub cursor: Hsla,
}

impl Default for Theme {
    fn default() -> Self {
        Self {
            background: hsla(0.61, 0.13, 0.18, 0.75),
            text: rgb(0xabb2bf).into(),
            text_muted: hsla(0.61, 0.11, 0.44, 0.6),
            selection: hsla(0.61, 0.13, 0.28, 0.7),
            cursor: rgb(0x528bff).into(),
        }
    }
}