night_owl.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 night_owl() -> UserThemeFamily {
 13    UserThemeFamily {
 14        name: "Night Owl".into(),
 15        author: "Sarah Drasner (sdras)".into(),
 16        themes: vec![
 17            UserTheme {
 18                name: "Night Owl".into(),
 19                appearance: Appearance::Dark,
 20                styles: UserThemeStylesRefinement {
 21                    colors: ThemeColorsRefinement {
 22                        border: Some(rgba(0x5f7e97ff).into()),
 23                        border_variant: Some(rgba(0x5f7e97ff).into()),
 24                        border_focused: Some(rgba(0x122d42ff).into()),
 25                        border_selected: Some(rgba(0x5f7e97ff).into()),
 26                        border_transparent: Some(rgba(0x5f7e97ff).into()),
 27                        border_disabled: Some(rgba(0x5f7e97ff).into()),
 28                        elevated_surface_background: Some(rgba(0x011627ff).into()),
 29                        surface_background: Some(rgba(0x011627ff).into()),
 30                        background: Some(rgba(0x011627ff).into()),
 31                        element_background: Some(rgba(0x7e57c2cc).into()),
 32                        element_hover: Some(rgba(0x011627ff).into()),
 33                        element_selected: Some(rgba(0x234d708c).into()),
 34                        drop_target_background: Some(rgba(0x011627ff).into()),
 35                        ghost_element_hover: Some(rgba(0x011627ff).into()),
 36                        ghost_element_selected: Some(rgba(0x234d708c).into()),
 37                        text: Some(rgba(0xd6deebff).into()),
 38                        status_bar_background: Some(rgba(0x011627ff).into()),
 39                        title_bar_background: Some(rgba(0x011627ff).into()),
 40                        toolbar_background: Some(rgba(0x011627ff).into()),
 41                        tab_bar_background: Some(rgba(0x011627ff).into()),
 42                        tab_inactive_background: Some(rgba(0x01111dff).into()),
 43                        tab_active_background: Some(rgba(0x0b2942ff).into()),
 44                        editor_background: Some(rgba(0x011627ff).into()),
 45                        editor_gutter_background: Some(rgba(0x011627ff).into()),
 46                        editor_line_number: Some(rgba(0x4b6479ff).into()),
 47                        editor_active_line_number: Some(rgba(0xd6deebff).into()),
 48                        terminal_ansi_bright_black: Some(rgba(0x575656ff).into()),
 49                        terminal_ansi_bright_red: Some(rgba(0xef5350ff).into()),
 50                        terminal_ansi_bright_green: Some(rgba(0x22da6eff).into()),
 51                        terminal_ansi_bright_yellow: Some(rgba(0xffeb95ff).into()),
 52                        terminal_ansi_bright_blue: Some(rgba(0x82aaffff).into()),
 53                        terminal_ansi_bright_magenta: Some(rgba(0xc792eaff).into()),
 54                        terminal_ansi_bright_cyan: Some(rgba(0x7fdbcaff).into()),
 55                        terminal_ansi_bright_white: Some(rgba(0xffffffff).into()),
 56                        terminal_ansi_black: Some(rgba(0x011627ff).into()),
 57                        terminal_ansi_red: Some(rgba(0xef5350ff).into()),
 58                        terminal_ansi_green: Some(rgba(0x22da6eff).into()),
 59                        terminal_ansi_yellow: Some(rgba(0xc5e478ff).into()),
 60                        terminal_ansi_blue: Some(rgba(0x82aaffff).into()),
 61                        terminal_ansi_magenta: Some(rgba(0xc792eaff).into()),
 62                        terminal_ansi_cyan: Some(rgba(0x21c7a8ff).into()),
 63                        terminal_ansi_white: Some(rgba(0xffffffff).into()),
 64                        ..Default::default()
 65                    },
 66                    status: StatusColorsRefinement {
 67                        conflict: Some(rgba(0xffeb95cc).into()),
 68                        created: Some(rgba(0x9ccc65ff).into()),
 69                        deleted: Some(rgba(0xef5350ff).into()),
 70                        error: Some(rgba(0xef5350ff).into()),
 71                        hidden: Some(rgba(0x5f7e97ff).into()),
 72                        hint: Some(rgba(0x969696ff).into()),
 73                        ignored: Some(rgba(0x395a75ff).into()),
 74                        modified: Some(rgba(0xe2b93dff).into()),
 75                        ..Default::default()
 76                    },
 77                    syntax: Some(UserSyntaxTheme {
 78                        highlights: vec![
 79                            (
 80                                "attribute".into(),
 81                                UserHighlightStyle {
 82                                    color: Some(rgba(0xc5e478ff).into()),
 83                                    font_style: Some(UserFontStyle::Italic),
 84                                    ..Default::default()
 85                                },
 86                            ),
 87                            (
 88                                "boolean".into(),
 89                                UserHighlightStyle {
 90                                    color: Some(rgba(0x82aaffff).into()),
 91                                    ..Default::default()
 92                                },
 93                            ),
 94                            (
 95                                "comment".into(),
 96                                UserHighlightStyle {
 97                                    color: Some(rgba(0x637777ff).into()),
 98                                    font_style: Some(UserFontStyle::Italic),
 99                                    ..Default::default()
100                                },
101                            ),
102                            (
103                                "comment.doc".into(),
104                                UserHighlightStyle {
105                                    color: Some(rgba(0x637777ff).into()),
106                                    font_style: Some(UserFontStyle::Italic),
107                                    ..Default::default()
108                                },
109                            ),
110                            (
111                                "constant".into(),
112                                UserHighlightStyle {
113                                    color: Some(rgba(0x82aaffff).into()),
114                                    ..Default::default()
115                                },
116                            ),
117                            (
118                                "constructor".into(),
119                                UserHighlightStyle {
120                                    color: Some(rgba(0xcaece6ff).into()),
121                                    ..Default::default()
122                                },
123                            ),
124                            (
125                                "function".into(),
126                                UserHighlightStyle {
127                                    color: Some(rgba(0x82aaffff).into()),
128                                    font_style: Some(UserFontStyle::Italic),
129                                    ..Default::default()
130                                },
131                            ),
132                            (
133                                "keyword".into(),
134                                UserHighlightStyle {
135                                    color: Some(rgba(0xc792eaff).into()),
136                                    font_style: Some(UserFontStyle::Italic),
137                                    ..Default::default()
138                                },
139                            ),
140                            (
141                                "number".into(),
142                                UserHighlightStyle {
143                                    color: Some(rgba(0xf78c6cff).into()),
144                                    ..Default::default()
145                                },
146                            ),
147                            (
148                                "operator".into(),
149                                UserHighlightStyle {
150                                    color: Some(rgba(0x7fdbcaff).into()),
151                                    ..Default::default()
152                                },
153                            ),
154                            (
155                                "property".into(),
156                                UserHighlightStyle {
157                                    color: Some(rgba(0x80cbc4ff).into()),
158                                    ..Default::default()
159                                },
160                            ),
161                            (
162                                "punctuation".into(),
163                                UserHighlightStyle {
164                                    color: Some(rgba(0xc792eaff).into()),
165                                    font_style: Some(UserFontStyle::Italic),
166                                    ..Default::default()
167                                },
168                            ),
169                            (
170                                "punctuation.bracket".into(),
171                                UserHighlightStyle {
172                                    color: Some(rgba(0xc792eaff).into()),
173                                    font_style: Some(UserFontStyle::Italic),
174                                    ..Default::default()
175                                },
176                            ),
177                            (
178                                "punctuation.delimiter".into(),
179                                UserHighlightStyle {
180                                    color: Some(rgba(0xc792eaff).into()),
181                                    font_style: Some(UserFontStyle::Italic),
182                                    ..Default::default()
183                                },
184                            ),
185                            (
186                                "punctuation.list_marker".into(),
187                                UserHighlightStyle {
188                                    color: Some(rgba(0xc792eaff).into()),
189                                    font_style: Some(UserFontStyle::Italic),
190                                    ..Default::default()
191                                },
192                            ),
193                            (
194                                "punctuation.special".into(),
195                                UserHighlightStyle {
196                                    color: Some(rgba(0xc792eaff).into()),
197                                    font_style: Some(UserFontStyle::Italic),
198                                    ..Default::default()
199                                },
200                            ),
201                            (
202                                "string".into(),
203                                UserHighlightStyle {
204                                    color: Some(rgba(0xecc48dff).into()),
205                                    ..Default::default()
206                                },
207                            ),
208                            (
209                                "string.escape".into(),
210                                UserHighlightStyle {
211                                    color: Some(rgba(0x82aaffff).into()),
212                                    ..Default::default()
213                                },
214                            ),
215                            (
216                                "string.regex".into(),
217                                UserHighlightStyle {
218                                    color: Some(rgba(0xecc48dff).into()),
219                                    ..Default::default()
220                                },
221                            ),
222                            (
223                                "string.special".into(),
224                                UserHighlightStyle {
225                                    color: Some(rgba(0xecc48dff).into()),
226                                    ..Default::default()
227                                },
228                            ),
229                            (
230                                "string.special.symbol".into(),
231                                UserHighlightStyle {
232                                    color: Some(rgba(0xecc48dff).into()),
233                                    ..Default::default()
234                                },
235                            ),
236                            (
237                                "tag".into(),
238                                UserHighlightStyle {
239                                    color: Some(rgba(0xcaece6ff).into()),
240                                    ..Default::default()
241                                },
242                            ),
243                            (
244                                "text.literal".into(),
245                                UserHighlightStyle {
246                                    color: Some(rgba(0xecc48dff).into()),
247                                    ..Default::default()
248                                },
249                            ),
250                            (
251                                "type".into(),
252                                UserHighlightStyle {
253                                    color: Some(rgba(0xc5e478ff).into()),
254                                    ..Default::default()
255                                },
256                            ),
257                            (
258                                "variable".into(),
259                                UserHighlightStyle {
260                                    color: Some(rgba(0xc5e478ff).into()),
261                                    ..Default::default()
262                                },
263                            ),
264                            (
265                                "variable.special".into(),
266                                UserHighlightStyle {
267                                    color: Some(rgba(0x7fdbcaff).into()),
268                                    ..Default::default()
269                                },
270                            ),
271                        ],
272                    }),
273                },
274            },
275            UserTheme {
276                name: "Night Owl Light".into(),
277                appearance: Appearance::Light,
278                styles: UserThemeStylesRefinement {
279                    colors: ThemeColorsRefinement {
280                        border: Some(rgba(0xd9d9d9ff).into()),
281                        border_variant: Some(rgba(0xd9d9d9ff).into()),
282                        border_focused: Some(rgba(0x93a1a1ff).into()),
283                        border_selected: Some(rgba(0xd9d9d9ff).into()),
284                        border_transparent: Some(rgba(0xd9d9d9ff).into()),
285                        border_disabled: Some(rgba(0xd9d9d9ff).into()),
286                        elevated_surface_background: Some(rgba(0xf0f0f0ff).into()),
287                        surface_background: Some(rgba(0xf0f0f0ff).into()),
288                        background: Some(rgba(0xfbfbfbff).into()),
289                        element_background: Some(rgba(0x2aa298ff).into()),
290                        element_hover: Some(rgba(0xd3e8f8ff).into()),
291                        element_selected: Some(rgba(0xd3e8f8ff).into()),
292                        ghost_element_hover: Some(rgba(0xd3e8f8ff).into()),
293                        ghost_element_selected: Some(rgba(0xd3e8f8ff).into()),
294                        text: Some(rgba(0x403f53ff).into()),
295                        status_bar_background: Some(rgba(0xf0f0f0ff).into()),
296                        title_bar_background: Some(rgba(0xf0f0f0ff).into()),
297                        toolbar_background: Some(rgba(0xfbfbfbff).into()),
298                        tab_bar_background: Some(rgba(0xf0f0f0ff).into()),
299                        tab_inactive_background: Some(rgba(0xf0f0f0ff).into()),
300                        tab_active_background: Some(rgba(0xf6f6f6ff).into()),
301                        editor_background: Some(rgba(0xfbfbfbff).into()),
302                        editor_gutter_background: Some(rgba(0xfbfbfbff).into()),
303                        editor_line_number: Some(rgba(0x90a7b2ff).into()),
304                        editor_active_line_number: Some(rgba(0x403f53ff).into()),
305                        terminal_background: Some(rgba(0xf6f6f6ff).into()),
306                        terminal_ansi_bright_black: Some(rgba(0x403f53ff).into()),
307                        terminal_ansi_bright_red: Some(rgba(0xde3d3bff).into()),
308                        terminal_ansi_bright_green: Some(rgba(0x08916aff).into()),
309                        terminal_ansi_bright_yellow: Some(rgba(0xdaaa01ff).into()),
310                        terminal_ansi_bright_blue: Some(rgba(0x288ed7ff).into()),
311                        terminal_ansi_bright_magenta: Some(rgba(0xd6438aff).into()),
312                        terminal_ansi_bright_cyan: Some(rgba(0x2aa298ff).into()),
313                        terminal_ansi_bright_white: Some(rgba(0xf0f0f0ff).into()),
314                        terminal_ansi_black: Some(rgba(0x403f53ff).into()),
315                        terminal_ansi_red: Some(rgba(0xde3d3bff).into()),
316                        terminal_ansi_green: Some(rgba(0x08916aff).into()),
317                        terminal_ansi_yellow: Some(rgba(0xe0af02ff).into()),
318                        terminal_ansi_blue: Some(rgba(0x288ed7ff).into()),
319                        terminal_ansi_magenta: Some(rgba(0xd6438aff).into()),
320                        terminal_ansi_cyan: Some(rgba(0x2aa298ff).into()),
321                        terminal_ansi_white: Some(rgba(0xf0f0f0ff).into()),
322                        ..Default::default()
323                    },
324                    status: StatusColorsRefinement {
325                        created: Some(rgba(0x49d0c5ff).into()),
326                        deleted: Some(rgba(0xf76e6eff).into()),
327                        error: Some(rgba(0x403f53ff).into()),
328                        hidden: Some(rgba(0x403f53ff).into()),
329                        hint: Some(rgba(0x969696ff).into()),
330                        modified: Some(rgba(0x6fbef6ff).into()),
331                        warning: Some(rgba(0xdaaa01ff).into()),
332                        ..Default::default()
333                    },
334                    syntax: Some(UserSyntaxTheme {
335                        highlights: vec![
336                            (
337                                "attribute".into(),
338                                UserHighlightStyle {
339                                    color: Some(rgba(0x4876d6ff).into()),
340                                    font_style: Some(UserFontStyle::Italic),
341                                    ..Default::default()
342                                },
343                            ),
344                            (
345                                "boolean".into(),
346                                UserHighlightStyle {
347                                    color: Some(rgba(0x4876d6ff).into()),
348                                    ..Default::default()
349                                },
350                            ),
351                            (
352                                "comment".into(),
353                                UserHighlightStyle {
354                                    color: Some(rgba(0x989fb1ff).into()),
355                                    font_style: Some(UserFontStyle::Italic),
356                                    ..Default::default()
357                                },
358                            ),
359                            (
360                                "comment.doc".into(),
361                                UserHighlightStyle {
362                                    color: Some(rgba(0x989fb1ff).into()),
363                                    font_style: Some(UserFontStyle::Italic),
364                                    ..Default::default()
365                                },
366                            ),
367                            (
368                                "constant".into(),
369                                UserHighlightStyle {
370                                    color: Some(rgba(0x4876d6ff).into()),
371                                    ..Default::default()
372                                },
373                            ),
374                            (
375                                "constructor".into(),
376                                UserHighlightStyle {
377                                    color: Some(rgba(0x994cc3ff).into()),
378                                    ..Default::default()
379                                },
380                            ),
381                            (
382                                "function".into(),
383                                UserHighlightStyle {
384                                    color: Some(rgba(0x4876d6ff).into()),
385                                    font_style: Some(UserFontStyle::Italic),
386                                    ..Default::default()
387                                },
388                            ),
389                            (
390                                "keyword".into(),
391                                UserHighlightStyle {
392                                    color: Some(rgba(0x994cc3ff).into()),
393                                    font_style: Some(UserFontStyle::Italic),
394                                    ..Default::default()
395                                },
396                            ),
397                            (
398                                "number".into(),
399                                UserHighlightStyle {
400                                    color: Some(rgba(0xaa0982ff).into()),
401                                    ..Default::default()
402                                },
403                            ),
404                            (
405                                "operator".into(),
406                                UserHighlightStyle {
407                                    color: Some(rgba(0x0c969bff).into()),
408                                    ..Default::default()
409                                },
410                            ),
411                            (
412                                "property".into(),
413                                UserHighlightStyle {
414                                    color: Some(rgba(0x0c969bff).into()),
415                                    ..Default::default()
416                                },
417                            ),
418                            (
419                                "punctuation".into(),
420                                UserHighlightStyle {
421                                    color: Some(rgba(0x994cc3ff).into()),
422                                    font_style: Some(UserFontStyle::Italic),
423                                    ..Default::default()
424                                },
425                            ),
426                            (
427                                "punctuation.bracket".into(),
428                                UserHighlightStyle {
429                                    color: Some(rgba(0x994cc3ff).into()),
430                                    font_style: Some(UserFontStyle::Italic),
431                                    ..Default::default()
432                                },
433                            ),
434                            (
435                                "punctuation.delimiter".into(),
436                                UserHighlightStyle {
437                                    color: Some(rgba(0x994cc3ff).into()),
438                                    font_style: Some(UserFontStyle::Italic),
439                                    ..Default::default()
440                                },
441                            ),
442                            (
443                                "punctuation.list_marker".into(),
444                                UserHighlightStyle {
445                                    color: Some(rgba(0x994cc3ff).into()),
446                                    font_style: Some(UserFontStyle::Italic),
447                                    ..Default::default()
448                                },
449                            ),
450                            (
451                                "punctuation.special".into(),
452                                UserHighlightStyle {
453                                    color: Some(rgba(0x994cc3ff).into()),
454                                    font_style: Some(UserFontStyle::Italic),
455                                    ..Default::default()
456                                },
457                            ),
458                            (
459                                "string".into(),
460                                UserHighlightStyle {
461                                    color: Some(rgba(0x4876d6ff).into()),
462                                    ..Default::default()
463                                },
464                            ),
465                            (
466                                "string.escape".into(),
467                                UserHighlightStyle {
468                                    color: Some(rgba(0x4876d6ff).into()),
469                                    ..Default::default()
470                                },
471                            ),
472                            (
473                                "string.regex".into(),
474                                UserHighlightStyle {
475                                    color: Some(rgba(0x4876d6ff).into()),
476                                    ..Default::default()
477                                },
478                            ),
479                            (
480                                "string.special".into(),
481                                UserHighlightStyle {
482                                    color: Some(rgba(0x4876d6ff).into()),
483                                    ..Default::default()
484                                },
485                            ),
486                            (
487                                "string.special.symbol".into(),
488                                UserHighlightStyle {
489                                    color: Some(rgba(0x4876d6ff).into()),
490                                    ..Default::default()
491                                },
492                            ),
493                            (
494                                "tag".into(),
495                                UserHighlightStyle {
496                                    color: Some(rgba(0x994cc3ff).into()),
497                                    ..Default::default()
498                                },
499                            ),
500                            (
501                                "text.literal".into(),
502                                UserHighlightStyle {
503                                    color: Some(rgba(0x4876d6ff).into()),
504                                    ..Default::default()
505                                },
506                            ),
507                            (
508                                "type".into(),
509                                UserHighlightStyle {
510                                    color: Some(rgba(0x4876d6ff).into()),
511                                    ..Default::default()
512                                },
513                            ),
514                            (
515                                "variable".into(),
516                                UserHighlightStyle {
517                                    color: Some(rgba(0x4876d6ff).into()),
518                                    ..Default::default()
519                                },
520                            ),
521                            (
522                                "variable.special".into(),
523                                UserHighlightStyle {
524                                    color: Some(rgba(0x0c969bff).into()),
525                                    ..Default::default()
526                                },
527                            ),
528                        ],
529                    }),
530                },
531            },
532        ],
533    }
534}