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, PlayerColor, PlayerColors, StatusColorsRefinement, ThemeColorsRefinement,
9 UserFontStyle, UserFontWeight, UserHighlightStyle, UserSyntaxTheme, UserTheme, UserThemeFamily,
10 UserThemeStylesRefinement,
11};
12
13pub fn andromeda() -> UserThemeFamily {
14 UserThemeFamily {
15 name: "Andromeda".into(),
16 author: "Zed Industries".into(),
17 themes: vec![UserTheme {
18 name: "Andromeda".into(),
19 appearance: Appearance::Dark,
20 styles: UserThemeStylesRefinement {
21 colors: ThemeColorsRefinement {
22 border: Some(rgba(0x2b2f39ff).into()),
23 border_variant: Some(rgba(0x252931ff).into()),
24 border_focused: Some(rgba(0x183a34ff).into()),
25 border_selected: Some(rgba(0x183a34ff).into()),
26 border_transparent: Some(rgba(0x00000000).into()),
27 border_disabled: Some(rgba(0x292d37ff).into()),
28 elevated_surface_background: Some(rgba(0x21242bff).into()),
29 surface_background: Some(rgba(0x21242bff).into()),
30 background: Some(rgba(0x262a33ff).into()),
31 panel_background: Some(rgba(0x21242bff).into()),
32 element_background: Some(rgba(0x21242bff).into()),
33 element_hover: Some(rgba(0x252931ff).into()),
34 element_active: Some(rgba(0x2a2f39ff).into()),
35 element_selected: Some(rgba(0x2a2f39ff).into()),
36 element_disabled: Some(rgba(0x21242bff).into()),
37 drop_target_background: Some(rgba(0xaca8ae80).into()),
38 ghost_element_background: Some(rgba(0x00000000).into()),
39 ghost_element_hover: Some(rgba(0x252931ff).into()),
40 ghost_element_active: Some(rgba(0x2a2f39ff).into()),
41 ghost_element_selected: Some(rgba(0x2a2f39ff).into()),
42 ghost_element_disabled: Some(rgba(0x21242bff).into()),
43 text: Some(rgba(0xf7f7f8ff).into()),
44 text_muted: Some(rgba(0xaca8aeff).into()),
45 text_placeholder: Some(rgba(0x6b6b73ff).into()),
46 text_disabled: Some(rgba(0x6b6b73ff).into()),
47 text_accent: Some(rgba(0x11a793ff).into()),
48 icon: Some(rgba(0xf7f7f8ff).into()),
49 icon_muted: Some(rgba(0xaca8aeff).into()),
50 icon_disabled: Some(rgba(0x6b6b73ff).into()),
51 icon_placeholder: Some(rgba(0xaca8aeff).into()),
52 icon_accent: Some(rgba(0x11a793ff).into()),
53 status_bar_background: Some(rgba(0x262a33ff).into()),
54 title_bar_background: Some(rgba(0x262a33ff).into()),
55 toolbar_background: Some(rgba(0x1e2025ff).into()),
56 tab_bar_background: Some(rgba(0x21242bff).into()),
57 tab_inactive_background: Some(rgba(0x21242bff).into()),
58 tab_active_background: Some(rgba(0x1e2025ff).into()),
59 scrollbar_thumb_background: Some(rgba(0xf7f7f84c).into()),
60 scrollbar_thumb_hover_background: Some(rgba(0x252931ff).into()),
61 scrollbar_thumb_border: Some(rgba(0x252931ff).into()),
62 scrollbar_track_background: Some(rgba(0x00000000).into()),
63 scrollbar_track_border: Some(rgba(0x21232aff).into()),
64 editor_foreground: Some(rgba(0xf7f7f8ff).into()),
65 editor_background: Some(rgba(0x1e2025ff).into()),
66 editor_gutter_background: Some(rgba(0x1e2025ff).into()),
67 editor_subheader_background: Some(rgba(0x21242bff).into()),
68 editor_active_line_background: Some(rgba(0x21242bbf).into()),
69 editor_highlighted_line_background: Some(rgba(0x21242bff).into()),
70 editor_line_number: Some(rgba(0xf7f7f859).into()),
71 editor_active_line_number: Some(rgba(0xf7f7f8ff).into()),
72 editor_invisible: Some(rgba(0x64646dff).into()),
73 editor_wrap_guide: Some(rgba(0xf7f7f80d).into()),
74 editor_active_wrap_guide: Some(rgba(0xf7f7f81a).into()),
75 editor_document_highlight_read_background: Some(rgba(0x11a7931a).into()),
76 editor_document_highlight_write_background: Some(rgba(0x64646d66).into()),
77 terminal_background: Some(rgba(0x1e2025ff).into()),
78 terminal_foreground: Some(rgba(0xf7f7f8ff).into()),
79 terminal_bright_foreground: Some(rgba(0xf7f7f8ff).into()),
80 terminal_dim_foreground: Some(rgba(0x1e2025ff).into()),
81 terminal_ansi_black: Some(rgba(0x1e2025ff).into()),
82 terminal_ansi_bright_black: Some(rgba(0x40434cff).into()),
83 terminal_ansi_dim_black: Some(rgba(0xf7f7f8ff).into()),
84 terminal_ansi_red: Some(rgba(0xf82872ff).into()),
85 terminal_ansi_bright_red: Some(rgba(0x8e103aff).into()),
86 terminal_ansi_dim_red: Some(rgba(0xffa3b6ff).into()),
87 terminal_ansi_green: Some(rgba(0x96df72ff).into()),
88 terminal_ansi_bright_green: Some(rgba(0x457c38ff).into()),
89 terminal_ansi_dim_green: Some(rgba(0xcef0b9ff).into()),
90 terminal_ansi_yellow: Some(rgba(0xfee56dff).into()),
91 terminal_ansi_bright_yellow: Some(rgba(0x958435ff).into()),
92 terminal_ansi_dim_yellow: Some(rgba(0xfff2b8ff).into()),
93 terminal_ansi_blue: Some(rgba(0x11a793ff).into()),
94 terminal_ansi_bright_blue: Some(rgba(0x1b5148ff).into()),
95 terminal_ansi_dim_blue: Some(rgba(0x9cd4c8ff).into()),
96 terminal_ansi_magenta: Some(rgba(0xc74decff).into()),
97 terminal_ansi_bright_magenta: Some(rgba(0x682781ff).into()),
98 terminal_ansi_dim_magenta: Some(rgba(0xe8abf7ff).into()),
99 terminal_ansi_cyan: Some(rgba(0x09e7c6ff).into()),
100 terminal_ansi_bright_cyan: Some(rgba(0x018169ff).into()),
101 terminal_ansi_dim_cyan: Some(rgba(0xaaf5e2ff).into()),
102 terminal_ansi_white: Some(rgba(0xf7f7f8ff).into()),
103 terminal_ansi_bright_white: Some(rgba(0xf7f7f8ff).into()),
104 terminal_ansi_dim_white: Some(rgba(0x88868dff).into()),
105 link_text_hover: Some(rgba(0x11a793ff).into()),
106 ..Default::default()
107 },
108 status: StatusColorsRefinement {
109 conflict: Some(rgba(0xfee56dff).into()),
110 conflict_background: Some(rgba(0x5c5015ff).into()),
111 conflict_border: Some(rgba(0x796b26ff).into()),
112 created: Some(rgba(0x96df72ff).into()),
113 created_background: Some(rgba(0x194618ff).into()),
114 created_border: Some(rgba(0x306129ff).into()),
115 deleted: Some(rgba(0xf82872ff).into()),
116 deleted_background: Some(rgba(0x55051bff).into()),
117 deleted_border: Some(rgba(0x720a2bff).into()),
118 error: Some(rgba(0xf82872ff).into()),
119 error_background: Some(rgba(0x55051bff).into()),
120 error_border: Some(rgba(0x720a2bff).into()),
121 hidden: Some(rgba(0x6b6b73ff).into()),
122 hidden_background: Some(rgba(0x262a33ff).into()),
123 hidden_border: Some(rgba(0x292d37ff).into()),
124 hint: Some(rgba(0x618399ff).into()),
125 hint_background: Some(rgba(0x122420ff).into()),
126 hint_border: Some(rgba(0x183a34ff).into()),
127 ignored: Some(rgba(0xaca8aeff).into()),
128 ignored_background: Some(rgba(0x262a33ff).into()),
129 ignored_border: Some(rgba(0x2b2f39ff).into()),
130 info: Some(rgba(0x11a793ff).into()),
131 info_background: Some(rgba(0x122420ff).into()),
132 info_border: Some(rgba(0x183a34ff).into()),
133 modified: Some(rgba(0xfee56dff).into()),
134 modified_background: Some(rgba(0x5c5015ff).into()),
135 modified_border: Some(rgba(0x796b26ff).into()),
136 predictive: Some(rgba(0x315f70ff).into()),
137 predictive_background: Some(rgba(0x194618ff).into()),
138 predictive_border: Some(rgba(0x306129ff).into()),
139 renamed: Some(rgba(0x11a793ff).into()),
140 renamed_background: Some(rgba(0x122420ff).into()),
141 renamed_border: Some(rgba(0x183a34ff).into()),
142 success: Some(rgba(0x96df72ff).into()),
143 success_background: Some(rgba(0x194618ff).into()),
144 success_border: Some(rgba(0x306129ff).into()),
145 unreachable: Some(rgba(0xaca8aeff).into()),
146 unreachable_background: Some(rgba(0x262a33ff).into()),
147 unreachable_border: Some(rgba(0x2b2f39ff).into()),
148 warning: Some(rgba(0xfee56dff).into()),
149 warning_background: Some(rgba(0x5c5015ff).into()),
150 warning_border: Some(rgba(0x796b26ff).into()),
151 ..Default::default()
152 },
153 player: Some(PlayerColors(vec![
154 PlayerColor {
155 cursor: rgba(0x11a793ff).into(),
156 background: rgba(0x11a793ff).into(),
157 selection: rgba(0x11a7933d).into(),
158 },
159 PlayerColor {
160 cursor: rgba(0xc74decff).into(),
161 background: rgba(0xc74decff).into(),
162 selection: rgba(0xc74dec3d).into(),
163 },
164 PlayerColor {
165 cursor: rgba(0xf29c14ff).into(),
166 background: rgba(0xf29c14ff).into(),
167 selection: rgba(0xf29c143d).into(),
168 },
169 PlayerColor {
170 cursor: rgba(0x8a3fa6ff).into(),
171 background: rgba(0x8a3fa6ff).into(),
172 selection: rgba(0x8a3fa63d).into(),
173 },
174 PlayerColor {
175 cursor: rgba(0x09e7c6ff).into(),
176 background: rgba(0x09e7c6ff).into(),
177 selection: rgba(0x09e7c63d).into(),
178 },
179 PlayerColor {
180 cursor: rgba(0xf82872ff).into(),
181 background: rgba(0xf82872ff).into(),
182 selection: rgba(0xf828723d).into(),
183 },
184 PlayerColor {
185 cursor: rgba(0xfee56dff).into(),
186 background: rgba(0xfee56dff).into(),
187 selection: rgba(0xfee56d3d).into(),
188 },
189 PlayerColor {
190 cursor: rgba(0x96df72ff).into(),
191 background: rgba(0x96df72ff).into(),
192 selection: rgba(0x96df723d).into(),
193 },
194 ])),
195 syntax: Some(UserSyntaxTheme {
196 highlights: vec![
197 (
198 "attribute".into(),
199 UserHighlightStyle {
200 color: Some(rgba(0x11a793ff).into()),
201 ..Default::default()
202 },
203 ),
204 (
205 "boolean".into(),
206 UserHighlightStyle {
207 color: Some(rgba(0x96df72ff).into()),
208 ..Default::default()
209 },
210 ),
211 (
212 "comment".into(),
213 UserHighlightStyle {
214 color: Some(rgba(0xafabb1ff).into()),
215 ..Default::default()
216 },
217 ),
218 (
219 "comment.doc".into(),
220 UserHighlightStyle {
221 color: Some(rgba(0xafabb1ff).into()),
222 ..Default::default()
223 },
224 ),
225 (
226 "constant".into(),
227 UserHighlightStyle {
228 color: Some(rgba(0x96df72ff).into()),
229 ..Default::default()
230 },
231 ),
232 (
233 "constructor".into(),
234 UserHighlightStyle {
235 color: Some(rgba(0x11a793ff).into()),
236 ..Default::default()
237 },
238 ),
239 (
240 "embedded".into(),
241 UserHighlightStyle {
242 color: Some(rgba(0xf7f7f8ff).into()),
243 ..Default::default()
244 },
245 ),
246 (
247 "emphasis".into(),
248 UserHighlightStyle {
249 color: Some(rgba(0x11a793ff).into()),
250 ..Default::default()
251 },
252 ),
253 (
254 "emphasis.strong".into(),
255 UserHighlightStyle {
256 color: Some(rgba(0x11a793ff).into()),
257 font_weight: Some(UserFontWeight(700.0)),
258 ..Default::default()
259 },
260 ),
261 (
262 "enum".into(),
263 UserHighlightStyle {
264 color: Some(rgba(0xf29c14ff).into()),
265 ..Default::default()
266 },
267 ),
268 (
269 "function".into(),
270 UserHighlightStyle {
271 color: Some(rgba(0xfee56dff).into()),
272 ..Default::default()
273 },
274 ),
275 (
276 "hint".into(),
277 UserHighlightStyle {
278 color: Some(rgba(0x618399ff).into()),
279 font_weight: Some(UserFontWeight(700.0)),
280 ..Default::default()
281 },
282 ),
283 (
284 "keyword".into(),
285 UserHighlightStyle {
286 color: Some(rgba(0x11a793ff).into()),
287 ..Default::default()
288 },
289 ),
290 (
291 "label".into(),
292 UserHighlightStyle {
293 color: Some(rgba(0x11a793ff).into()),
294 ..Default::default()
295 },
296 ),
297 (
298 "link_text".into(),
299 UserHighlightStyle {
300 color: Some(rgba(0xf29c14ff).into()),
301 font_style: Some(UserFontStyle::Italic),
302 ..Default::default()
303 },
304 ),
305 (
306 "link_uri".into(),
307 UserHighlightStyle {
308 color: Some(rgba(0x96df72ff).into()),
309 ..Default::default()
310 },
311 ),
312 (
313 "number".into(),
314 UserHighlightStyle {
315 color: Some(rgba(0x96df72ff).into()),
316 ..Default::default()
317 },
318 ),
319 (
320 "operator".into(),
321 UserHighlightStyle {
322 color: Some(rgba(0xf29c14ff).into()),
323 ..Default::default()
324 },
325 ),
326 (
327 "predictive".into(),
328 UserHighlightStyle {
329 color: Some(rgba(0x315f70ff).into()),
330 font_style: Some(UserFontStyle::Italic),
331 ..Default::default()
332 },
333 ),
334 (
335 "preproc".into(),
336 UserHighlightStyle {
337 color: Some(rgba(0xf7f7f8ff).into()),
338 ..Default::default()
339 },
340 ),
341 (
342 "primary".into(),
343 UserHighlightStyle {
344 color: Some(rgba(0xf7f7f8ff).into()),
345 ..Default::default()
346 },
347 ),
348 (
349 "property".into(),
350 UserHighlightStyle {
351 color: Some(rgba(0x11a793ff).into()),
352 ..Default::default()
353 },
354 ),
355 (
356 "punctuation".into(),
357 UserHighlightStyle {
358 color: Some(rgba(0xd8d5dbff).into()),
359 ..Default::default()
360 },
361 ),
362 (
363 "punctuation.bracket".into(),
364 UserHighlightStyle {
365 color: Some(rgba(0xd8d5dbff).into()),
366 ..Default::default()
367 },
368 ),
369 (
370 "punctuation.delimiter".into(),
371 UserHighlightStyle {
372 color: Some(rgba(0xd8d5dbff).into()),
373 ..Default::default()
374 },
375 ),
376 (
377 "punctuation.list_marker".into(),
378 UserHighlightStyle {
379 color: Some(rgba(0xd8d5dbff).into()),
380 ..Default::default()
381 },
382 ),
383 (
384 "punctuation.special".into(),
385 UserHighlightStyle {
386 color: Some(rgba(0xd8d5dbff).into()),
387 ..Default::default()
388 },
389 ),
390 (
391 "string".into(),
392 UserHighlightStyle {
393 color: Some(rgba(0xf29c14ff).into()),
394 ..Default::default()
395 },
396 ),
397 (
398 "string.escape".into(),
399 UserHighlightStyle {
400 color: Some(rgba(0xafabb1ff).into()),
401 ..Default::default()
402 },
403 ),
404 (
405 "string.regex".into(),
406 UserHighlightStyle {
407 color: Some(rgba(0xf29c14ff).into()),
408 ..Default::default()
409 },
410 ),
411 (
412 "string.special".into(),
413 UserHighlightStyle {
414 color: Some(rgba(0xf29c14ff).into()),
415 ..Default::default()
416 },
417 ),
418 (
419 "string.special.symbol".into(),
420 UserHighlightStyle {
421 color: Some(rgba(0xf29c14ff).into()),
422 ..Default::default()
423 },
424 ),
425 (
426 "tag".into(),
427 UserHighlightStyle {
428 color: Some(rgba(0x11a793ff).into()),
429 ..Default::default()
430 },
431 ),
432 (
433 "text.literal".into(),
434 UserHighlightStyle {
435 color: Some(rgba(0xf29c14ff).into()),
436 ..Default::default()
437 },
438 ),
439 (
440 "title".into(),
441 UserHighlightStyle {
442 color: Some(rgba(0xf7f7f8ff).into()),
443 font_weight: Some(UserFontWeight(700.0)),
444 ..Default::default()
445 },
446 ),
447 (
448 "type".into(),
449 UserHighlightStyle {
450 color: Some(rgba(0x09e7c6ff).into()),
451 ..Default::default()
452 },
453 ),
454 (
455 "variable".into(),
456 UserHighlightStyle {
457 color: Some(rgba(0xf7f7f8ff).into()),
458 ..Default::default()
459 },
460 ),
461 (
462 "variant".into(),
463 UserHighlightStyle {
464 color: Some(rgba(0x11a793ff).into()),
465 ..Default::default()
466 },
467 ),
468 ],
469 }),
470 },
471 }],
472 }
473}