1// This file was generated by the `theme_importer`.
2// Be careful when modifying it by hand.
3
4use gpui::rgba;
5
6#[allow(unused)]
7use crate::{
8 Appearance, StatusColorsRefinement, ThemeColorsRefinement, UserFontStyle, UserFontWeight,
9 UserHighlightStyle, UserSyntaxTheme, UserTheme, UserThemeFamily, UserThemeStylesRefinement,
10};
11
12pub fn andromeda() -> UserThemeFamily {
13 UserThemeFamily {
14 name: "Andromeda".into(),
15 author: "Eliver Lara (EliverLara)".into(),
16 themes: vec![
17 UserTheme {
18 name: "Andromeda".into(),
19 appearance: Appearance::Dark,
20 styles: UserThemeStylesRefinement {
21 colors: ThemeColorsRefinement {
22 border: Some(rgba(0x1b1d23ff).into()),
23 border_variant: Some(rgba(0x1b1d23ff).into()),
24 border_focused: Some(rgba(0x746f77ff).into()),
25 border_selected: Some(rgba(0x1b1d23ff).into()),
26 border_transparent: Some(rgba(0x1b1d23ff).into()),
27 border_disabled: Some(rgba(0x1b1d23ff).into()),
28 elevated_surface_background: Some(rgba(0x23262eff).into()),
29 surface_background: Some(rgba(0x23262eff).into()),
30 background: Some(rgba(0x23262eff).into()),
31 element_background: Some(rgba(0x00e8c5cc).into()),
32 element_hover: Some(rgba(0x23262eff).into()),
33 element_selected: Some(rgba(0x23262eff).into()),
34 drop_target_background: Some(rgba(0x3a404eff).into()),
35 ghost_element_hover: Some(rgba(0x23262eff).into()),
36 text: Some(rgba(0xd4cdd8ff).into()),
37 tab_inactive_background: Some(rgba(0x23262eff).into()),
38 tab_active_background: Some(rgba(0x23262eff).into()),
39 editor_background: Some(rgba(0x23262eff).into()),
40 editor_gutter_background: Some(rgba(0x23262eff).into()),
41 editor_line_number: Some(rgba(0x746f77ff).into()),
42 editor_active_line_number: Some(rgba(0xd4cdd8ff).into()),
43 terminal_ansi_bright_red: Some(rgba(0xee5d42ff).into()),
44 terminal_ansi_bright_green: Some(rgba(0x95e072ff).into()),
45 terminal_ansi_bright_yellow: Some(rgba(0xffe66dff).into()),
46 terminal_ansi_bright_blue: Some(rgba(0x7bb7ffff).into()),
47 terminal_ansi_bright_magenta: Some(rgba(0xff00a9ff).into()),
48 terminal_ansi_bright_cyan: Some(rgba(0x00e8c6ff).into()),
49 terminal_ansi_red: Some(rgba(0xee5d42ff).into()),
50 terminal_ansi_green: Some(rgba(0x95e072ff).into()),
51 terminal_ansi_yellow: Some(rgba(0xffe66dff).into()),
52 terminal_ansi_blue: Some(rgba(0x7bb7ffff).into()),
53 terminal_ansi_magenta: Some(rgba(0xff00a9ff).into()),
54 terminal_ansi_cyan: Some(rgba(0x00e8c6ff).into()),
55 ..Default::default()
56 },
57 status: StatusColorsRefinement {
58 deleted: Some(rgba(0xfc634cff).into()),
59 error: Some(rgba(0xfc634cff).into()),
60 hidden: Some(rgba(0x746f77ff).into()),
61 ..Default::default()
62 },
63 syntax: Some(UserSyntaxTheme {
64 highlights: vec![
65 (
66 "attribute".into(),
67 UserHighlightStyle {
68 color: Some(rgba(0xf39c11ff).into()),
69 ..Default::default()
70 },
71 ),
72 (
73 "comment".into(),
74 UserHighlightStyle {
75 color: Some(rgba(0x9fa0a6cc).into()),
76 ..Default::default()
77 },
78 ),
79 (
80 "emphasis".into(),
81 UserHighlightStyle {
82 color: Some(rgba(0xc64dedff).into()),
83 ..Default::default()
84 },
85 ),
86 (
87 "emphasis.strong".into(),
88 UserHighlightStyle {
89 color: Some(rgba(0xf39c11ff).into()),
90 ..Default::default()
91 },
92 ),
93 (
94 "function".into(),
95 UserHighlightStyle {
96 color: Some(rgba(0xffe66dff).into()),
97 ..Default::default()
98 },
99 ),
100 (
101 "keyword".into(),
102 UserHighlightStyle {
103 color: Some(rgba(0xc64dedff).into()),
104 ..Default::default()
105 },
106 ),
107 (
108 "number".into(),
109 UserHighlightStyle {
110 color: Some(rgba(0xf39c11ff).into()),
111 ..Default::default()
112 },
113 ),
114 (
115 "operator".into(),
116 UserHighlightStyle {
117 color: Some(rgba(0xee5d42ff).into()),
118 ..Default::default()
119 },
120 ),
121 (
122 "string".into(),
123 UserHighlightStyle {
124 color: Some(rgba(0x95e072ff).into()),
125 ..Default::default()
126 },
127 ),
128 (
129 "tag".into(),
130 UserHighlightStyle {
131 color: Some(rgba(0xf92571ff).into()),
132 ..Default::default()
133 },
134 ),
135 (
136 "text.literal".into(),
137 UserHighlightStyle {
138 color: Some(rgba(0x95e072ff).into()),
139 ..Default::default()
140 },
141 ),
142 (
143 "type".into(),
144 UserHighlightStyle {
145 color: Some(rgba(0xffe66dff).into()),
146 ..Default::default()
147 },
148 ),
149 (
150 "variable".into(),
151 UserHighlightStyle {
152 color: Some(rgba(0x00e8c6ff).into()),
153 ..Default::default()
154 },
155 ),
156 ],
157 }),
158 },
159 },
160 UserTheme {
161 name: "Andromeda Bordered".into(),
162 appearance: Appearance::Dark,
163 styles: UserThemeStylesRefinement {
164 colors: ThemeColorsRefinement {
165 border: Some(rgba(0x1b1d23ff).into()),
166 border_variant: Some(rgba(0x1b1d23ff).into()),
167 border_focused: Some(rgba(0x746f77ff).into()),
168 border_selected: Some(rgba(0x1b1d23ff).into()),
169 border_transparent: Some(rgba(0x1b1d23ff).into()),
170 border_disabled: Some(rgba(0x1b1d23ff).into()),
171 elevated_surface_background: Some(rgba(0x23262eff).into()),
172 surface_background: Some(rgba(0x23262eff).into()),
173 background: Some(rgba(0x262933ff).into()),
174 element_background: Some(rgba(0x00e8c5cc).into()),
175 element_hover: Some(rgba(0x23262eff).into()),
176 element_selected: Some(rgba(0x23262eff).into()),
177 drop_target_background: Some(rgba(0x3a404eff).into()),
178 ghost_element_hover: Some(rgba(0x23262eff).into()),
179 text: Some(rgba(0xd4cdd8ff).into()),
180 tab_inactive_background: Some(rgba(0x23262eff).into()),
181 tab_active_background: Some(rgba(0x262933ff).into()),
182 editor_background: Some(rgba(0x262933ff).into()),
183 editor_gutter_background: Some(rgba(0x262933ff).into()),
184 editor_line_number: Some(rgba(0x746f77ff).into()),
185 editor_active_line_number: Some(rgba(0xd4cdd8ff).into()),
186 terminal_ansi_bright_red: Some(rgba(0xee5d42ff).into()),
187 terminal_ansi_bright_green: Some(rgba(0x95e072ff).into()),
188 terminal_ansi_bright_yellow: Some(rgba(0xffe66dff).into()),
189 terminal_ansi_bright_blue: Some(rgba(0x7bb7ffff).into()),
190 terminal_ansi_bright_magenta: Some(rgba(0xff00a9ff).into()),
191 terminal_ansi_bright_cyan: Some(rgba(0x00e8c6ff).into()),
192 terminal_ansi_red: Some(rgba(0xee5d42ff).into()),
193 terminal_ansi_green: Some(rgba(0x95e072ff).into()),
194 terminal_ansi_yellow: Some(rgba(0xffe66dff).into()),
195 terminal_ansi_blue: Some(rgba(0x7bb7ffff).into()),
196 terminal_ansi_magenta: Some(rgba(0xff00a9ff).into()),
197 terminal_ansi_cyan: Some(rgba(0x00e8c6ff).into()),
198 ..Default::default()
199 },
200 status: StatusColorsRefinement {
201 deleted: Some(rgba(0xfc634cff).into()),
202 error: Some(rgba(0xfc634cff).into()),
203 hidden: Some(rgba(0x746f77ff).into()),
204 ..Default::default()
205 },
206 syntax: Some(UserSyntaxTheme {
207 highlights: vec![
208 (
209 "attribute".into(),
210 UserHighlightStyle {
211 color: Some(rgba(0xf39c11ff).into()),
212 ..Default::default()
213 },
214 ),
215 (
216 "comment".into(),
217 UserHighlightStyle {
218 color: Some(rgba(0x9fa0a6cc).into()),
219 ..Default::default()
220 },
221 ),
222 (
223 "emphasis".into(),
224 UserHighlightStyle {
225 color: Some(rgba(0xc64dedff).into()),
226 ..Default::default()
227 },
228 ),
229 (
230 "emphasis.strong".into(),
231 UserHighlightStyle {
232 color: Some(rgba(0xf39c11ff).into()),
233 ..Default::default()
234 },
235 ),
236 (
237 "function".into(),
238 UserHighlightStyle {
239 color: Some(rgba(0xffe66dff).into()),
240 ..Default::default()
241 },
242 ),
243 (
244 "keyword".into(),
245 UserHighlightStyle {
246 color: Some(rgba(0xc64dedff).into()),
247 ..Default::default()
248 },
249 ),
250 (
251 "number".into(),
252 UserHighlightStyle {
253 color: Some(rgba(0xf39c11ff).into()),
254 ..Default::default()
255 },
256 ),
257 (
258 "operator".into(),
259 UserHighlightStyle {
260 color: Some(rgba(0xee5d42ff).into()),
261 ..Default::default()
262 },
263 ),
264 (
265 "string".into(),
266 UserHighlightStyle {
267 color: Some(rgba(0x95e072ff).into()),
268 ..Default::default()
269 },
270 ),
271 (
272 "tag".into(),
273 UserHighlightStyle {
274 color: Some(rgba(0xf92571ff).into()),
275 ..Default::default()
276 },
277 ),
278 (
279 "text.literal".into(),
280 UserHighlightStyle {
281 color: Some(rgba(0x95e072ff).into()),
282 ..Default::default()
283 },
284 ),
285 (
286 "type".into(),
287 UserHighlightStyle {
288 color: Some(rgba(0xffe66dff).into()),
289 ..Default::default()
290 },
291 ),
292 (
293 "variable".into(),
294 UserHighlightStyle {
295 color: Some(rgba(0x00e8c6ff).into()),
296 ..Default::default()
297 },
298 ),
299 ],
300 }),
301 },
302 },
303 ],
304 }
305}