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