system.rs

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