Skip to main content

boltz_theme/styles/
system.rs

1#![allow(missing_docs)]
2
3use gpui::{Hsla, hsla};
4
5#[derive(Clone, Debug, PartialEq)]
6pub struct SystemColors {
7    pub transparent: Hsla,
8    pub mac_os_traffic_light_red: Hsla,
9    pub mac_os_traffic_light_yellow: Hsla,
10    pub mac_os_traffic_light_green: Hsla,
11}
12
13impl Default for SystemColors {
14    fn default() -> Self {
15        Self {
16            transparent: hsla(0.0, 0.0, 0.0, 0.0),
17            mac_os_traffic_light_red: hsla(0.0139, 0.79, 0.65, 1.0),
18            mac_os_traffic_light_yellow: hsla(0.114, 0.88, 0.63, 1.0),
19            mac_os_traffic_light_green: hsla(0.313, 0.49, 0.55, 1.0),
20        }
21    }
22}