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