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