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