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