1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
use crate::{
    one_themes::{one_dark, one_family},
    Theme, ThemeFamily,
};

// fn zed_pro_daylight() -> Theme {
//     Theme {
//         id: "zed_pro_daylight".to_string(),
//         name: "Zed Pro Daylight".into(),
//         appearance: Appearance::Light,
//         styles: ThemeStyles {
//             system: SystemColors::default(),
//             colors: ThemeColors::light(),
//             status: StatusColors::light(),
//             player: PlayerColors::light(),
//             syntax: Arc::new(SyntaxTheme::light()),
//         },
//     }
// }

// pub(crate) fn zed_pro_moonlight() -> Theme {
//     Theme {
//         id: "zed_pro_moonlight".to_string(),
//         name: "Zed Pro Moonlight".into(),
//         appearance: Appearance::Dark,
//         styles: ThemeStyles {
//             system: SystemColors::default(),
//             colors: ThemeColors::dark(),
//             status: StatusColors::dark(),
//             player: PlayerColors::dark(),
//             syntax: Arc::new(SyntaxTheme::dark()),
//         },
//     }
// }

// pub fn zed_pro_family() -> ThemeFamily {
//     ThemeFamily {
//         id: "zed_pro".to_string(),
//         name: "Zed Pro".into(),
//         author: "Zed Team".into(),
//         themes: vec![zed_pro_daylight(), zed_pro_moonlight()],
//         scales: default_color_scales(),
//     }
// }

impl Default for ThemeFamily {
    fn default() -> Self {
        one_family()
    }
}

impl Default for Theme {
    fn default() -> Self {
        one_dark()
    }
}