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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
// This file was generated by the `theme_importer`.
// Be careful when modifying it by hand.

use gpui::rgba;

#[allow(unused)]
use crate::{
    Appearance, StatusColorsRefinement, ThemeColorsRefinement, UserFontStyle, UserFontWeight,
    UserHighlightStyle, UserSyntaxTheme, UserTheme, UserThemeFamily, UserThemeStylesRefinement,
};

pub fn synthwave_84() -> UserThemeFamily {
    UserThemeFamily {
        name: "Synthwave 84".into(),
        author: "Robb Owen (robb0wen)".into(),
        themes: vec![UserTheme {
            name: "Synthwave 84".into(),
            appearance: Appearance::Dark,
            styles: UserThemeStylesRefinement {
                colors: ThemeColorsRefinement {
                    border_focused: Some(rgba(0x1f212bff).into()),
                    background: Some(rgba(0x252334ff).into()),
                    element_background: Some(rgba(0x614d85ff).into()),
                    element_hover: Some(rgba(0x37294d99).into()),
                    element_selected: Some(rgba(0xffffff20).into()),
                    drop_target_background: Some(rgba(0x34294f66).into()),
                    ghost_element_hover: Some(rgba(0x37294d99).into()),
                    text: Some(rgba(0xffffffff).into()),
                    tab_inactive_background: Some(rgba(0x252334ff).into()),
                    editor_background: Some(rgba(0x252334ff).into()),
                    editor_gutter_background: Some(rgba(0x252334ff).into()),
                    editor_line_number: Some(rgba(0xffffff73).into()),
                    terminal_ansi_bright_red: Some(rgba(0xfe444fff).into()),
                    terminal_ansi_bright_green: Some(rgba(0x71f1b7ff).into()),
                    terminal_ansi_bright_yellow: Some(rgba(0xfede5cff).into()),
                    terminal_ansi_bright_blue: Some(rgba(0x02edf9ff).into()),
                    terminal_ansi_bright_magenta: Some(rgba(0xff7ddaff).into()),
                    terminal_ansi_bright_cyan: Some(rgba(0x02edf9ff).into()),
                    terminal_ansi_red: Some(rgba(0xfe444fff).into()),
                    terminal_ansi_green: Some(rgba(0x71f1b7ff).into()),
                    terminal_ansi_yellow: Some(rgba(0xf3e70fff).into()),
                    terminal_ansi_blue: Some(rgba(0x02edf9ff).into()),
                    terminal_ansi_magenta: Some(rgba(0xff7ddaff).into()),
                    terminal_ansi_cyan: Some(rgba(0x02edf9ff).into()),
                    ..Default::default()
                },
                status: StatusColorsRefinement {
                    deleted: Some(rgba(0xfe444fff).into()),
                    error: Some(rgba(0xfe444fff).into()),
                    warning: Some(rgba(0x71f1b7bb).into()),
                    ..Default::default()
                },
                syntax: Some(UserSyntaxTheme {
                    highlights: vec![
                        (
                            "attribute".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0xfede5cff).into()),
                                ..Default::default()
                            },
                        ),
                        (
                            "boolean".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0xf97d71ff).into()),
                                ..Default::default()
                            },
                        ),
                        (
                            "comment".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0x848bbdff).into()),
                                font_style: Some(UserFontStyle::Italic),
                                ..Default::default()
                            },
                        ),
                        (
                            "function".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0x35f9f5ff).into()),
                                ..Default::default()
                            },
                        ),
                        (
                            "keyword".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0xfede5cff).into()),
                                ..Default::default()
                            },
                        ),
                        (
                            "label".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0xfe444fff).into()),
                                ..Default::default()
                            },
                        ),
                        (
                            "link_text".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0xdd5500ff).into()),
                                ..Default::default()
                            },
                        ),
                        (
                            "link_uri".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0xdd5500ff).into()),
                                ..Default::default()
                            },
                        ),
                        (
                            "number".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0xf97d71ff).into()),
                                ..Default::default()
                            },
                        ),
                        (
                            "operator".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0xfede5cff).into()),
                                ..Default::default()
                            },
                        ),
                        (
                            "property".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0xff7ddaff).into()),
                                ..Default::default()
                            },
                        ),
                        (
                            "punctuation".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0x35f9f5ff).into()),
                                ..Default::default()
                            },
                        ),
                        (
                            "tag".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0x71f1b7ff).into()),
                                ..Default::default()
                            },
                        ),
                        (
                            "title".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0xfe444fff).into()),
                                ..Default::default()
                            },
                        ),
                        (
                            "type".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0xfe444fff).into()),
                                ..Default::default()
                            },
                        ),
                        (
                            "variable".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0xff7ddaff).into()),
                                ..Default::default()
                            },
                        ),
                        (
                            "variable.special".into(),
                            UserHighlightStyle {
                                color: Some(rgba(0xfe444fff).into()),
                                font_weight: Some(UserFontWeight(700.0)),
                                ..Default::default()
                            },
                        ),
                    ],
                }),
            },
        }],
    }
}