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