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