andromeda.rs
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(0x2b303bff).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 ghost_element_selected: Some(rgba(0x23262eff).into()),
37 text: Some(rgba(0xd5ced9ff).into()),
38 status_bar_background: Some(rgba(0x23262eff).into()),
39 title_bar_background: Some(rgba(0x23262eff).into()),
40 toolbar_background: Some(rgba(0x23262eff).into()),
41 tab_bar_background: Some(rgba(0x23262eff).into()),
42 tab_inactive_background: Some(rgba(0x23262eff).into()),
43 tab_active_background: Some(rgba(0x23262eff).into()),
44 editor_background: Some(rgba(0x23262eff).into()),
45 editor_gutter_background: Some(rgba(0x23262eff).into()),
46 editor_line_number: Some(rgba(0x746f77ff).into()),
47 editor_active_line_number: Some(rgba(0xd5ced9ff).into()),
48 terminal_ansi_bright_red: Some(rgba(0xee5d43ff).into()),
49 terminal_ansi_bright_green: Some(rgba(0x96e072ff).into()),
50 terminal_ansi_bright_yellow: Some(rgba(0xffe66dff).into()),
51 terminal_ansi_bright_blue: Some(rgba(0x7cb7ffff).into()),
52 terminal_ansi_bright_magenta: Some(rgba(0xff00aaff).into()),
53 terminal_ansi_bright_cyan: Some(rgba(0x00e8c6ff).into()),
54 terminal_ansi_red: Some(rgba(0xee5d43ff).into()),
55 terminal_ansi_green: Some(rgba(0x96e072ff).into()),
56 terminal_ansi_yellow: Some(rgba(0xffe66dff).into()),
57 terminal_ansi_blue: Some(rgba(0x7cb7ffff).into()),
58 terminal_ansi_magenta: Some(rgba(0xff00aaff).into()),
59 terminal_ansi_cyan: Some(rgba(0x00e8c6ff).into()),
60 ..Default::default()
61 },
62 status: StatusColorsRefinement {
63 created: Some(rgba(0x9bc53dbb).into()),
64 deleted: Some(rgba(0xfc644dbb).into()),
65 error: Some(rgba(0xfc644dff).into()),
66 hidden: Some(rgba(0x746f77ff).into()),
67 hint: Some(rgba(0x969696ff).into()),
68 ignored: Some(rgba(0x555555ff).into()),
69 modified: Some(rgba(0x5bc0ebbb).into()),
70 ..Default::default()
71 },
72 syntax: Some(UserSyntaxTheme {
73 highlights: vec![
74 (
75 "attribute".into(),
76 UserHighlightStyle {
77 color: Some(rgba(0xffe66dff).into()),
78 ..Default::default()
79 },
80 ),
81 (
82 "comment".into(),
83 UserHighlightStyle {
84 color: Some(rgba(0xa0a1a7cc).into()),
85 ..Default::default()
86 },
87 ),
88 (
89 "comment.doc".into(),
90 UserHighlightStyle {
91 color: Some(rgba(0xa0a1a7cc).into()),
92 ..Default::default()
93 },
94 ),
95 (
96 "constant".into(),
97 UserHighlightStyle {
98 color: Some(rgba(0xee5d43ff).into()),
99 ..Default::default()
100 },
101 ),
102 (
103 "constructor".into(),
104 UserHighlightStyle {
105 color: Some(rgba(0xf92672ff).into()),
106 ..Default::default()
107 },
108 ),
109 (
110 "emphasis".into(),
111 UserHighlightStyle {
112 color: Some(rgba(0xc74dedff).into()),
113 ..Default::default()
114 },
115 ),
116 (
117 "emphasis.strong".into(),
118 UserHighlightStyle {
119 color: Some(rgba(0xf39c12ff).into()),
120 ..Default::default()
121 },
122 ),
123 (
124 "function".into(),
125 UserHighlightStyle {
126 color: Some(rgba(0xffe66dff).into()),
127 ..Default::default()
128 },
129 ),
130 (
131 "keyword".into(),
132 UserHighlightStyle {
133 color: Some(rgba(0xc74dedff).into()),
134 ..Default::default()
135 },
136 ),
137 (
138 "number".into(),
139 UserHighlightStyle {
140 color: Some(rgba(0xf39c12ff).into()),
141 ..Default::default()
142 },
143 ),
144 (
145 "operator".into(),
146 UserHighlightStyle {
147 color: Some(rgba(0xee5d43ff).into()),
148 ..Default::default()
149 },
150 ),
151 (
152 "string".into(),
153 UserHighlightStyle {
154 color: Some(rgba(0x96e072ff).into()),
155 ..Default::default()
156 },
157 ),
158 (
159 "string.escape".into(),
160 UserHighlightStyle {
161 color: Some(rgba(0x96e072ff).into()),
162 ..Default::default()
163 },
164 ),
165 (
166 "string.regex".into(),
167 UserHighlightStyle {
168 color: Some(rgba(0x96e072ff).into()),
169 ..Default::default()
170 },
171 ),
172 (
173 "string.special".into(),
174 UserHighlightStyle {
175 color: Some(rgba(0x96e072ff).into()),
176 ..Default::default()
177 },
178 ),
179 (
180 "string.special.symbol".into(),
181 UserHighlightStyle {
182 color: Some(rgba(0x96e072ff).into()),
183 ..Default::default()
184 },
185 ),
186 (
187 "tag".into(),
188 UserHighlightStyle {
189 color: Some(rgba(0xf92672ff).into()),
190 ..Default::default()
191 },
192 ),
193 (
194 "text.literal".into(),
195 UserHighlightStyle {
196 color: Some(rgba(0x96e072ff).into()),
197 ..Default::default()
198 },
199 ),
200 (
201 "type".into(),
202 UserHighlightStyle {
203 color: Some(rgba(0xffe66dff).into()),
204 ..Default::default()
205 },
206 ),
207 (
208 "variable".into(),
209 UserHighlightStyle {
210 color: Some(rgba(0x00e8c6ff).into()),
211 ..Default::default()
212 },
213 ),
214 (
215 "variable.special".into(),
216 UserHighlightStyle {
217 color: Some(rgba(0x00e8c6ff).into()),
218 ..Default::default()
219 },
220 ),
221 ],
222 }),
223 },
224 },
225 UserTheme {
226 name: "Andromeda Bordered".into(),
227 appearance: Appearance::Dark,
228 styles: UserThemeStylesRefinement {
229 colors: ThemeColorsRefinement {
230 border: Some(rgba(0x1b1d23ff).into()),
231 border_variant: Some(rgba(0x1b1d23ff).into()),
232 border_focused: Some(rgba(0x746f77ff).into()),
233 border_selected: Some(rgba(0x1b1d23ff).into()),
234 border_transparent: Some(rgba(0x1b1d23ff).into()),
235 border_disabled: Some(rgba(0x1b1d23ff).into()),
236 elevated_surface_background: Some(rgba(0x2b303bff).into()),
237 surface_background: Some(rgba(0x23262eff).into()),
238 background: Some(rgba(0x262a33ff).into()),
239 element_background: Some(rgba(0x00e8c5cc).into()),
240 element_hover: Some(rgba(0x23262eff).into()),
241 element_selected: Some(rgba(0x23262eff).into()),
242 drop_target_background: Some(rgba(0x3a404eff).into()),
243 ghost_element_hover: Some(rgba(0x23262eff).into()),
244 ghost_element_selected: Some(rgba(0x23262eff).into()),
245 text: Some(rgba(0xd5ced9ff).into()),
246 status_bar_background: Some(rgba(0x23262eff).into()),
247 title_bar_background: Some(rgba(0x23262eff).into()),
248 toolbar_background: Some(rgba(0x262a33ff).into()),
249 tab_bar_background: Some(rgba(0x23262eff).into()),
250 tab_inactive_background: Some(rgba(0x23262eff).into()),
251 tab_active_background: Some(rgba(0x262a33ff).into()),
252 editor_background: Some(rgba(0x262a33ff).into()),
253 editor_gutter_background: Some(rgba(0x262a33ff).into()),
254 editor_line_number: Some(rgba(0x746f77ff).into()),
255 editor_active_line_number: Some(rgba(0xd5ced9ff).into()),
256 terminal_ansi_bright_red: Some(rgba(0xee5d43ff).into()),
257 terminal_ansi_bright_green: Some(rgba(0x96e072ff).into()),
258 terminal_ansi_bright_yellow: Some(rgba(0xffe66dff).into()),
259 terminal_ansi_bright_blue: Some(rgba(0x7cb7ffff).into()),
260 terminal_ansi_bright_magenta: Some(rgba(0xff00aaff).into()),
261 terminal_ansi_bright_cyan: Some(rgba(0x00e8c6ff).into()),
262 terminal_ansi_red: Some(rgba(0xee5d43ff).into()),
263 terminal_ansi_green: Some(rgba(0x96e072ff).into()),
264 terminal_ansi_yellow: Some(rgba(0xffe66dff).into()),
265 terminal_ansi_blue: Some(rgba(0x7cb7ffff).into()),
266 terminal_ansi_magenta: Some(rgba(0xff00aaff).into()),
267 terminal_ansi_cyan: Some(rgba(0x00e8c6ff).into()),
268 ..Default::default()
269 },
270 status: StatusColorsRefinement {
271 created: Some(rgba(0x9bc53dbb).into()),
272 deleted: Some(rgba(0xfc644dbb).into()),
273 error: Some(rgba(0xfc644dff).into()),
274 hidden: Some(rgba(0x746f77ff).into()),
275 hint: Some(rgba(0x969696ff).into()),
276 ignored: Some(rgba(0x555555ff).into()),
277 modified: Some(rgba(0x5bc0ebbb).into()),
278 ..Default::default()
279 },
280 syntax: Some(UserSyntaxTheme {
281 highlights: vec![
282 (
283 "attribute".into(),
284 UserHighlightStyle {
285 color: Some(rgba(0xffe66dff).into()),
286 ..Default::default()
287 },
288 ),
289 (
290 "comment".into(),
291 UserHighlightStyle {
292 color: Some(rgba(0xa0a1a7cc).into()),
293 ..Default::default()
294 },
295 ),
296 (
297 "comment.doc".into(),
298 UserHighlightStyle {
299 color: Some(rgba(0xa0a1a7cc).into()),
300 ..Default::default()
301 },
302 ),
303 (
304 "constant".into(),
305 UserHighlightStyle {
306 color: Some(rgba(0xee5d43ff).into()),
307 ..Default::default()
308 },
309 ),
310 (
311 "constructor".into(),
312 UserHighlightStyle {
313 color: Some(rgba(0xf92672ff).into()),
314 ..Default::default()
315 },
316 ),
317 (
318 "emphasis".into(),
319 UserHighlightStyle {
320 color: Some(rgba(0xc74dedff).into()),
321 ..Default::default()
322 },
323 ),
324 (
325 "emphasis.strong".into(),
326 UserHighlightStyle {
327 color: Some(rgba(0xf39c12ff).into()),
328 ..Default::default()
329 },
330 ),
331 (
332 "function".into(),
333 UserHighlightStyle {
334 color: Some(rgba(0xffe66dff).into()),
335 ..Default::default()
336 },
337 ),
338 (
339 "keyword".into(),
340 UserHighlightStyle {
341 color: Some(rgba(0xc74dedff).into()),
342 ..Default::default()
343 },
344 ),
345 (
346 "number".into(),
347 UserHighlightStyle {
348 color: Some(rgba(0xf39c12ff).into()),
349 ..Default::default()
350 },
351 ),
352 (
353 "operator".into(),
354 UserHighlightStyle {
355 color: Some(rgba(0xee5d43ff).into()),
356 ..Default::default()
357 },
358 ),
359 (
360 "string".into(),
361 UserHighlightStyle {
362 color: Some(rgba(0x96e072ff).into()),
363 ..Default::default()
364 },
365 ),
366 (
367 "string.escape".into(),
368 UserHighlightStyle {
369 color: Some(rgba(0x96e072ff).into()),
370 ..Default::default()
371 },
372 ),
373 (
374 "string.regex".into(),
375 UserHighlightStyle {
376 color: Some(rgba(0x96e072ff).into()),
377 ..Default::default()
378 },
379 ),
380 (
381 "string.special".into(),
382 UserHighlightStyle {
383 color: Some(rgba(0x96e072ff).into()),
384 ..Default::default()
385 },
386 ),
387 (
388 "string.special.symbol".into(),
389 UserHighlightStyle {
390 color: Some(rgba(0x96e072ff).into()),
391 ..Default::default()
392 },
393 ),
394 (
395 "tag".into(),
396 UserHighlightStyle {
397 color: Some(rgba(0xf92672ff).into()),
398 ..Default::default()
399 },
400 ),
401 (
402 "text.literal".into(),
403 UserHighlightStyle {
404 color: Some(rgba(0x96e072ff).into()),
405 ..Default::default()
406 },
407 ),
408 (
409 "type".into(),
410 UserHighlightStyle {
411 color: Some(rgba(0xffe66dff).into()),
412 ..Default::default()
413 },
414 ),
415 (
416 "variable".into(),
417 UserHighlightStyle {
418 color: Some(rgba(0x00e8c6ff).into()),
419 ..Default::default()
420 },
421 ),
422 (
423 "variable.special".into(),
424 UserHighlightStyle {
425 color: Some(rgba(0x00e8c6ff).into()),
426 ..Default::default()
427 },
428 ),
429 ],
430 }),
431 },
432 },
433 ],
434 }
435}