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, PlayerColor, PlayerColors, StatusColorsRefinement, ThemeColorsRefinement,
9 UserFontStyle, UserFontWeight, UserHighlightStyle, UserSyntaxTheme, UserTheme, UserThemeFamily,
10 UserThemeStylesRefinement,
11};
12
13pub fn one() -> UserThemeFamily {
14 UserThemeFamily {
15 name: "One".into(),
16 author: "Zed Industries".into(),
17 themes: vec![
18 UserTheme {
19 name: "One Dark".into(),
20 appearance: Appearance::Dark,
21 styles: UserThemeStylesRefinement {
22 colors: ThemeColorsRefinement {
23 border: Some(rgba(0x464b57ff).into()),
24 border_variant: Some(rgba(0x363c46ff).into()),
25 border_focused: Some(rgba(0x293c5bff).into()),
26 border_selected: Some(rgba(0x293c5bff).into()),
27 border_transparent: Some(rgba(0x00000000).into()),
28 border_disabled: Some(rgba(0x414754ff).into()),
29 elevated_surface_background: Some(rgba(0x2f343eff).into()),
30 surface_background: Some(rgba(0x2f343eff).into()),
31 background: Some(rgba(0x3b414dff).into()),
32 panel_background: Some(rgba(0x2f343eff).into()),
33 element_background: Some(rgba(0x2f343eff).into()),
34 element_hover: Some(rgba(0x363c46ff).into()),
35 element_active: Some(rgba(0x454a56ff).into()),
36 element_selected: Some(rgba(0x454a56ff).into()),
37 element_disabled: Some(rgba(0x2f343eff).into()),
38 drop_target_background: Some(rgba(0x83899480).into()),
39 ghost_element_background: Some(rgba(0x00000000).into()),
40 ghost_element_hover: Some(rgba(0x363c46ff).into()),
41 ghost_element_active: Some(rgba(0x454a56ff).into()),
42 ghost_element_selected: Some(rgba(0x454a56ff).into()),
43 ghost_element_disabled: Some(rgba(0x2f343eff).into()),
44 text: Some(rgba(0xc8ccd4ff).into()),
45 text_muted: Some(rgba(0x838994ff).into()),
46 text_placeholder: Some(rgba(0x555a63ff).into()),
47 text_disabled: Some(rgba(0x555a63ff).into()),
48 text_accent: Some(rgba(0x74ade8ff).into()),
49 icon: Some(rgba(0xc8ccd4ff).into()),
50 icon_muted: Some(rgba(0x838994ff).into()),
51 icon_disabled: Some(rgba(0x555a63ff).into()),
52 icon_placeholder: Some(rgba(0x838994ff).into()),
53 icon_accent: Some(rgba(0x74ade8ff).into()),
54 status_bar_background: Some(rgba(0x3b414dff).into()),
55 title_bar_background: Some(rgba(0x3b414dff).into()),
56 toolbar_background: Some(rgba(0x282c34ff).into()),
57 tab_bar_background: Some(rgba(0x2f343eff).into()),
58 tab_inactive_background: Some(rgba(0x2f343eff).into()),
59 tab_active_background: Some(rgba(0x282c34ff).into()),
60 scrollbar_thumb_background: Some(rgba(0xc8ccd44c).into()),
61 scrollbar_thumb_hover_background: Some(rgba(0x363c46ff).into()),
62 scrollbar_thumb_border: Some(rgba(0x363c46ff).into()),
63 scrollbar_track_background: Some(rgba(0x00000000).into()),
64 scrollbar_track_border: Some(rgba(0x2e333cff).into()),
65 editor_foreground: Some(rgba(0xacb2beff).into()),
66 editor_background: Some(rgba(0x282c34ff).into()),
67 editor_gutter_background: Some(rgba(0x282c34ff).into()),
68 editor_subheader_background: Some(rgba(0x2f343eff).into()),
69 editor_active_line_background: Some(rgba(0x2f343ebf).into()),
70 editor_highlighted_line_background: Some(rgba(0x2f343eff).into()),
71 editor_line_number: Some(rgba(0xc8ccd459).into()),
72 editor_active_line_number: Some(rgba(0xc8ccd4ff).into()),
73 editor_invisible: Some(rgba(0x555a63ff).into()),
74 editor_wrap_guide: Some(rgba(0xc8ccd40d).into()),
75 editor_active_wrap_guide: Some(rgba(0xc8ccd41a).into()),
76 editor_document_highlight_read_background: Some(rgba(0x74ade81a).into()),
77 editor_document_highlight_write_background: Some(rgba(0x555a6366).into()),
78 terminal_background: Some(rgba(0x282c34ff).into()),
79 terminal_foreground: Some(rgba(0xc8ccd4ff).into()),
80 terminal_bright_foreground: Some(rgba(0xc8ccd4ff).into()),
81 terminal_dim_foreground: Some(rgba(0x282c34ff).into()),
82 terminal_ansi_black: Some(rgba(0x282c34ff).into()),
83 terminal_ansi_bright_black: Some(rgba(0x525661ff).into()),
84 terminal_ansi_dim_black: Some(rgba(0xc8ccd4ff).into()),
85 terminal_ansi_red: Some(rgba(0xd07277ff).into()),
86 terminal_ansi_bright_red: Some(rgba(0x673a3cff).into()),
87 terminal_ansi_dim_red: Some(rgba(0xebb8b9ff).into()),
88 terminal_ansi_green: Some(rgba(0xa1c181ff).into()),
89 terminal_ansi_bright_green: Some(rgba(0x4d6140ff).into()),
90 terminal_ansi_dim_green: Some(rgba(0xd1e0bfff).into()),
91 terminal_ansi_yellow: Some(rgba(0xdec184ff).into()),
92 terminal_ansi_bright_yellow: Some(rgba(0x786441ff).into()),
93 terminal_ansi_dim_yellow: Some(rgba(0xf1dfc1ff).into()),
94 terminal_ansi_blue: Some(rgba(0x74ade8ff).into()),
95 terminal_ansi_bright_blue: Some(rgba(0x385378ff).into()),
96 terminal_ansi_dim_blue: Some(rgba(0xbed5f4ff).into()),
97 terminal_ansi_magenta: Some(rgba(0xbe5046ff).into()),
98 terminal_ansi_bright_magenta: Some(rgba(0x5e2b26ff).into()),
99 terminal_ansi_dim_magenta: Some(rgba(0xe6a79eff).into()),
100 terminal_ansi_cyan: Some(rgba(0x6fb4c0ff).into()),
101 terminal_ansi_bright_cyan: Some(rgba(0x3a565bff).into()),
102 terminal_ansi_dim_cyan: Some(rgba(0xb9d9dfff).into()),
103 terminal_ansi_white: Some(rgba(0xc8ccd4ff).into()),
104 terminal_ansi_bright_white: Some(rgba(0xc8ccd4ff).into()),
105 terminal_ansi_dim_white: Some(rgba(0x575d65ff).into()),
106 link_text_hover: Some(rgba(0x74ade8ff).into()),
107 ..Default::default()
108 },
109 status: StatusColorsRefinement {
110 conflict: Some(rgba(0xdec184ff).into()),
111 conflict_background: Some(rgba(0x41331dff).into()),
112 conflict_border: Some(rgba(0x5d4c2fff).into()),
113 created: Some(rgba(0xa1c181ff).into()),
114 created_background: Some(rgba(0x222e1dff).into()),
115 created_border: Some(rgba(0x38482fff).into()),
116 deleted: Some(rgba(0xd07277ff).into()),
117 deleted_background: Some(rgba(0x301b1cff).into()),
118 deleted_border: Some(rgba(0x4c2b2cff).into()),
119 error: Some(rgba(0xd07277ff).into()),
120 error_background: Some(rgba(0x301b1cff).into()),
121 error_border: Some(rgba(0x4c2b2cff).into()),
122 hidden: Some(rgba(0x555a63ff).into()),
123 hidden_background: Some(rgba(0x3b414dff).into()),
124 hidden_border: Some(rgba(0x414754ff).into()),
125 hint: Some(rgba(0x5b708aff).into()),
126 hint_background: Some(rgba(0x18243dff).into()),
127 hint_border: Some(rgba(0x293c5bff).into()),
128 ignored: Some(rgba(0x838994ff).into()),
129 ignored_background: Some(rgba(0x3b414dff).into()),
130 ignored_border: Some(rgba(0x464b57ff).into()),
131 info: Some(rgba(0x74ade8ff).into()),
132 info_background: Some(rgba(0x18243dff).into()),
133 info_border: Some(rgba(0x293c5bff).into()),
134 modified: Some(rgba(0xdec184ff).into()),
135 modified_background: Some(rgba(0x41331dff).into()),
136 modified_border: Some(rgba(0x5d4c2fff).into()),
137 predictive: Some(rgba(0x5b6b88ff).into()),
138 predictive_background: Some(rgba(0x222e1dff).into()),
139 predictive_border: Some(rgba(0x38482fff).into()),
140 renamed: Some(rgba(0x74ade8ff).into()),
141 renamed_background: Some(rgba(0x18243dff).into()),
142 renamed_border: Some(rgba(0x293c5bff).into()),
143 success: Some(rgba(0xa1c181ff).into()),
144 success_background: Some(rgba(0x222e1dff).into()),
145 success_border: Some(rgba(0x38482fff).into()),
146 unreachable: Some(rgba(0x838994ff).into()),
147 unreachable_background: Some(rgba(0x3b414dff).into()),
148 unreachable_border: Some(rgba(0x464b57ff).into()),
149 warning: Some(rgba(0xdec184ff).into()),
150 warning_background: Some(rgba(0x41331dff).into()),
151 warning_border: Some(rgba(0x5d4c2fff).into()),
152 ..Default::default()
153 },
154 player: Some(PlayerColors(vec![
155 PlayerColor {
156 cursor: rgba(0x74ade8ff).into(),
157 background: rgba(0x74ade8ff).into(),
158 selection: rgba(0x74ade83d).into(),
159 },
160 PlayerColor {
161 cursor: rgba(0xbe5046ff).into(),
162 background: rgba(0xbe5046ff).into(),
163 selection: rgba(0xbe50463d).into(),
164 },
165 PlayerColor {
166 cursor: rgba(0xc0966bff).into(),
167 background: rgba(0xc0966bff).into(),
168 selection: rgba(0xc0966b3d).into(),
169 },
170 PlayerColor {
171 cursor: rgba(0xb478cfff).into(),
172 background: rgba(0xb478cfff).into(),
173 selection: rgba(0xb478cf3d).into(),
174 },
175 PlayerColor {
176 cursor: rgba(0x6fb4c0ff).into(),
177 background: rgba(0x6fb4c0ff).into(),
178 selection: rgba(0x6fb4c03d).into(),
179 },
180 PlayerColor {
181 cursor: rgba(0xd07277ff).into(),
182 background: rgba(0xd07277ff).into(),
183 selection: rgba(0xd072773d).into(),
184 },
185 PlayerColor {
186 cursor: rgba(0xdec184ff).into(),
187 background: rgba(0xdec184ff).into(),
188 selection: rgba(0xdec1843d).into(),
189 },
190 PlayerColor {
191 cursor: rgba(0xa1c181ff).into(),
192 background: rgba(0xa1c181ff).into(),
193 selection: rgba(0xa1c1813d).into(),
194 },
195 ])),
196 syntax: Some(UserSyntaxTheme {
197 highlights: vec![
198 (
199 "attribute".into(),
200 UserHighlightStyle {
201 color: Some(rgba(0x74ade8ff).into()),
202 ..Default::default()
203 },
204 ),
205 (
206 "boolean".into(),
207 UserHighlightStyle {
208 color: Some(rgba(0xc0966bff).into()),
209 ..Default::default()
210 },
211 ),
212 (
213 "comment".into(),
214 UserHighlightStyle {
215 color: Some(rgba(0x5d636fff).into()),
216 ..Default::default()
217 },
218 ),
219 (
220 "comment.doc".into(),
221 UserHighlightStyle {
222 color: Some(rgba(0x878e98ff).into()),
223 ..Default::default()
224 },
225 ),
226 (
227 "constant".into(),
228 UserHighlightStyle {
229 color: Some(rgba(0xdfc184ff).into()),
230 ..Default::default()
231 },
232 ),
233 (
234 "constructor".into(),
235 UserHighlightStyle {
236 color: Some(rgba(0x74ade9ff).into()),
237 ..Default::default()
238 },
239 ),
240 (
241 "embedded".into(),
242 UserHighlightStyle {
243 color: Some(rgba(0xc8ccd4ff).into()),
244 ..Default::default()
245 },
246 ),
247 (
248 "emphasis".into(),
249 UserHighlightStyle {
250 color: Some(rgba(0x74ade8ff).into()),
251 ..Default::default()
252 },
253 ),
254 (
255 "emphasis.strong".into(),
256 UserHighlightStyle {
257 color: Some(rgba(0xc0966bff).into()),
258 font_weight: Some(UserFontWeight(700.0)),
259 ..Default::default()
260 },
261 ),
262 (
263 "enum".into(),
264 UserHighlightStyle {
265 color: Some(rgba(0xd07277ff).into()),
266 ..Default::default()
267 },
268 ),
269 (
270 "function".into(),
271 UserHighlightStyle {
272 color: Some(rgba(0x74ade9ff).into()),
273 ..Default::default()
274 },
275 ),
276 (
277 "hint".into(),
278 UserHighlightStyle {
279 color: Some(rgba(0x5b708aff).into()),
280 font_weight: Some(UserFontWeight(700.0)),
281 ..Default::default()
282 },
283 ),
284 (
285 "keyword".into(),
286 UserHighlightStyle {
287 color: Some(rgba(0xb478cfff).into()),
288 ..Default::default()
289 },
290 ),
291 (
292 "label".into(),
293 UserHighlightStyle {
294 color: Some(rgba(0x74ade8ff).into()),
295 ..Default::default()
296 },
297 ),
298 (
299 "link_text".into(),
300 UserHighlightStyle {
301 color: Some(rgba(0x74ade9ff).into()),
302 font_style: Some(UserFontStyle::Normal),
303 ..Default::default()
304 },
305 ),
306 (
307 "link_uri".into(),
308 UserHighlightStyle {
309 color: Some(rgba(0x6fb4c0ff).into()),
310 ..Default::default()
311 },
312 ),
313 (
314 "number".into(),
315 UserHighlightStyle {
316 color: Some(rgba(0xc0966bff).into()),
317 ..Default::default()
318 },
319 ),
320 (
321 "operator".into(),
322 UserHighlightStyle {
323 color: Some(rgba(0x6fb4c0ff).into()),
324 ..Default::default()
325 },
326 ),
327 (
328 "predictive".into(),
329 UserHighlightStyle {
330 color: Some(rgba(0x5b6b88ff).into()),
331 font_style: Some(UserFontStyle::Italic),
332 ..Default::default()
333 },
334 ),
335 (
336 "preproc".into(),
337 UserHighlightStyle {
338 color: Some(rgba(0xc8ccd4ff).into()),
339 ..Default::default()
340 },
341 ),
342 (
343 "primary".into(),
344 UserHighlightStyle {
345 color: Some(rgba(0xacb2beff).into()),
346 ..Default::default()
347 },
348 ),
349 (
350 "property".into(),
351 UserHighlightStyle {
352 color: Some(rgba(0xd07277ff).into()),
353 ..Default::default()
354 },
355 ),
356 (
357 "punctuation".into(),
358 UserHighlightStyle {
359 color: Some(rgba(0xacb2beff).into()),
360 ..Default::default()
361 },
362 ),
363 (
364 "punctuation.bracket".into(),
365 UserHighlightStyle {
366 color: Some(rgba(0xb2b9c6ff).into()),
367 ..Default::default()
368 },
369 ),
370 (
371 "punctuation.delimiter".into(),
372 UserHighlightStyle {
373 color: Some(rgba(0xb2b9c6ff).into()),
374 ..Default::default()
375 },
376 ),
377 (
378 "punctuation.list_marker".into(),
379 UserHighlightStyle {
380 color: Some(rgba(0xd07277ff).into()),
381 ..Default::default()
382 },
383 ),
384 (
385 "punctuation.special".into(),
386 UserHighlightStyle {
387 color: Some(rgba(0xb1574bff).into()),
388 ..Default::default()
389 },
390 ),
391 (
392 "string".into(),
393 UserHighlightStyle {
394 color: Some(rgba(0xa1c181ff).into()),
395 ..Default::default()
396 },
397 ),
398 (
399 "string.escape".into(),
400 UserHighlightStyle {
401 color: Some(rgba(0x878e98ff).into()),
402 ..Default::default()
403 },
404 ),
405 (
406 "string.regex".into(),
407 UserHighlightStyle {
408 color: Some(rgba(0xc0966bff).into()),
409 ..Default::default()
410 },
411 ),
412 (
413 "string.special".into(),
414 UserHighlightStyle {
415 color: Some(rgba(0xc0966bff).into()),
416 ..Default::default()
417 },
418 ),
419 (
420 "string.special.symbol".into(),
421 UserHighlightStyle {
422 color: Some(rgba(0xc0966bff).into()),
423 ..Default::default()
424 },
425 ),
426 (
427 "tag".into(),
428 UserHighlightStyle {
429 color: Some(rgba(0x74ade8ff).into()),
430 ..Default::default()
431 },
432 ),
433 (
434 "text.literal".into(),
435 UserHighlightStyle {
436 color: Some(rgba(0xa1c181ff).into()),
437 ..Default::default()
438 },
439 ),
440 (
441 "title".into(),
442 UserHighlightStyle {
443 color: Some(rgba(0xd07277ff).into()),
444 font_weight: Some(UserFontWeight(400.0)),
445 ..Default::default()
446 },
447 ),
448 (
449 "type".into(),
450 UserHighlightStyle {
451 color: Some(rgba(0x6fb4c0ff).into()),
452 ..Default::default()
453 },
454 ),
455 (
456 "variable".into(),
457 UserHighlightStyle {
458 color: Some(rgba(0xc8ccd4ff).into()),
459 ..Default::default()
460 },
461 ),
462 (
463 "variable.special".into(),
464 UserHighlightStyle {
465 color: Some(rgba(0xc0966bff).into()),
466 ..Default::default()
467 },
468 ),
469 (
470 "variant".into(),
471 UserHighlightStyle {
472 color: Some(rgba(0x74ade9ff).into()),
473 ..Default::default()
474 },
475 ),
476 ],
477 }),
478 },
479 },
480 UserTheme {
481 name: "One Light".into(),
482 appearance: Appearance::Light,
483 styles: UserThemeStylesRefinement {
484 colors: ThemeColorsRefinement {
485 border: Some(rgba(0xc9c9caff).into()),
486 border_variant: Some(rgba(0xdfdfe0ff).into()),
487 border_focused: Some(rgba(0xcbcdf6ff).into()),
488 border_selected: Some(rgba(0xcbcdf6ff).into()),
489 border_transparent: Some(rgba(0x00000000).into()),
490 border_disabled: Some(rgba(0xd3d3d4ff).into()),
491 elevated_surface_background: Some(rgba(0xebebecff).into()),
492 surface_background: Some(rgba(0xebebecff).into()),
493 background: Some(rgba(0xdcdcddff).into()),
494 panel_background: Some(rgba(0xebebecff).into()),
495 element_background: Some(rgba(0xebebecff).into()),
496 element_hover: Some(rgba(0xdfdfe0ff).into()),
497 element_active: Some(rgba(0xcacacaff).into()),
498 element_selected: Some(rgba(0xcacacaff).into()),
499 element_disabled: Some(rgba(0xebebecff).into()),
500 drop_target_background: Some(rgba(0x7f818880).into()),
501 ghost_element_background: Some(rgba(0x00000000).into()),
502 ghost_element_hover: Some(rgba(0xdfdfe0ff).into()),
503 ghost_element_active: Some(rgba(0xcacacaff).into()),
504 ghost_element_selected: Some(rgba(0xcacacaff).into()),
505 ghost_element_disabled: Some(rgba(0xebebecff).into()),
506 text: Some(rgba(0x383a41ff).into()),
507 text_muted: Some(rgba(0x7f8188ff).into()),
508 text_placeholder: Some(rgba(0xa1a1a3ff).into()),
509 text_disabled: Some(rgba(0xa1a1a3ff).into()),
510 text_accent: Some(rgba(0x5c79e2ff).into()),
511 icon: Some(rgba(0x383a41ff).into()),
512 icon_muted: Some(rgba(0x7f8188ff).into()),
513 icon_disabled: Some(rgba(0xa1a1a3ff).into()),
514 icon_placeholder: Some(rgba(0x7f8188ff).into()),
515 icon_accent: Some(rgba(0x5c79e2ff).into()),
516 status_bar_background: Some(rgba(0xdcdcddff).into()),
517 title_bar_background: Some(rgba(0xdcdcddff).into()),
518 toolbar_background: Some(rgba(0xfafafaff).into()),
519 tab_bar_background: Some(rgba(0xebebecff).into()),
520 tab_inactive_background: Some(rgba(0xebebecff).into()),
521 tab_active_background: Some(rgba(0xfafafaff).into()),
522 scrollbar_thumb_background: Some(rgba(0x383a414c).into()),
523 scrollbar_thumb_hover_background: Some(rgba(0xdfdfe0ff).into()),
524 scrollbar_thumb_border: Some(rgba(0xdfdfe0ff).into()),
525 scrollbar_track_background: Some(rgba(0x00000000).into()),
526 scrollbar_track_border: Some(rgba(0xeeeeeeff).into()),
527 editor_foreground: Some(rgba(0x383a41ff).into()),
528 editor_background: Some(rgba(0xfafafaff).into()),
529 editor_gutter_background: Some(rgba(0xfafafaff).into()),
530 editor_subheader_background: Some(rgba(0xebebecff).into()),
531 editor_active_line_background: Some(rgba(0xebebecbf).into()),
532 editor_highlighted_line_background: Some(rgba(0xebebecff).into()),
533 editor_line_number: Some(rgba(0x383a4159).into()),
534 editor_active_line_number: Some(rgba(0x383a41ff).into()),
535 editor_invisible: Some(rgba(0xa3a3a4ff).into()),
536 editor_wrap_guide: Some(rgba(0x383a410d).into()),
537 editor_active_wrap_guide: Some(rgba(0x383a411a).into()),
538 editor_document_highlight_read_background: Some(rgba(0x5c79e21a).into()),
539 editor_document_highlight_write_background: Some(rgba(0xa3a3a466).into()),
540 terminal_background: Some(rgba(0xfafafaff).into()),
541 terminal_foreground: Some(rgba(0x383a41ff).into()),
542 terminal_bright_foreground: Some(rgba(0x383a41ff).into()),
543 terminal_dim_foreground: Some(rgba(0xfafafaff).into()),
544 terminal_ansi_black: Some(rgba(0xfafafaff).into()),
545 terminal_ansi_bright_black: Some(rgba(0xaaaaaaff).into()),
546 terminal_ansi_dim_black: Some(rgba(0x383a41ff).into()),
547 terminal_ansi_red: Some(rgba(0xd36151ff).into()),
548 terminal_ansi_bright_red: Some(rgba(0xf0b0a4ff).into()),
549 terminal_ansi_dim_red: Some(rgba(0x6f312aff).into()),
550 terminal_ansi_green: Some(rgba(0x669f59ff).into()),
551 terminal_ansi_bright_green: Some(rgba(0xb2cfa9ff).into()),
552 terminal_ansi_dim_green: Some(rgba(0x354d2eff).into()),
553 terminal_ansi_yellow: Some(rgba(0xdec184ff).into()),
554 terminal_ansi_bright_yellow: Some(rgba(0xf1dfc1ff).into()),
555 terminal_ansi_dim_yellow: Some(rgba(0x786441ff).into()),
556 terminal_ansi_blue: Some(rgba(0x5c79e2ff).into()),
557 terminal_ansi_bright_blue: Some(rgba(0xb5baf2ff).into()),
558 terminal_ansi_dim_blue: Some(rgba(0x2d3d75ff).into()),
559 terminal_ansi_magenta: Some(rgba(0x994fa6ff).into()),
560 terminal_ansi_bright_magenta: Some(rgba(0xcea6d3ff).into()),
561 terminal_ansi_dim_magenta: Some(rgba(0x4b2a50ff).into()),
562 terminal_ansi_cyan: Some(rgba(0x3b82b7ff).into()),
563 terminal_ansi_bright_cyan: Some(rgba(0xa4bfdbff).into()),
564 terminal_ansi_dim_cyan: Some(rgba(0x254058ff).into()),
565 terminal_ansi_white: Some(rgba(0x383a41ff).into()),
566 terminal_ansi_bright_white: Some(rgba(0x383a41ff).into()),
567 terminal_ansi_dim_white: Some(rgba(0x98989bff).into()),
568 link_text_hover: Some(rgba(0x5c79e2ff).into()),
569 ..Default::default()
570 },
571 status: StatusColorsRefinement {
572 conflict: Some(rgba(0xdec184ff).into()),
573 conflict_background: Some(rgba(0xfaf2e6ff).into()),
574 conflict_border: Some(rgba(0xf5e8d2ff).into()),
575 created: Some(rgba(0x669f59ff).into()),
576 created_background: Some(rgba(0xe0ebdcff).into()),
577 created_border: Some(rgba(0xc8dcc1ff).into()),
578 deleted: Some(rgba(0xd36151ff).into()),
579 deleted_background: Some(rgba(0xfbdfd9ff).into()),
580 deleted_border: Some(rgba(0xf6c6bdff).into()),
581 error: Some(rgba(0xd36151ff).into()),
582 error_background: Some(rgba(0xfbdfd9ff).into()),
583 error_border: Some(rgba(0xf6c6bdff).into()),
584 hidden: Some(rgba(0xa1a1a3ff).into()),
585 hidden_background: Some(rgba(0xdcdcddff).into()),
586 hidden_border: Some(rgba(0xd3d3d4ff).into()),
587 hint: Some(rgba(0x9295beff).into()),
588 hint_background: Some(rgba(0xe2e2faff).into()),
589 hint_border: Some(rgba(0xcbcdf6ff).into()),
590 ignored: Some(rgba(0x7f8188ff).into()),
591 ignored_background: Some(rgba(0xdcdcddff).into()),
592 ignored_border: Some(rgba(0xc9c9caff).into()),
593 info: Some(rgba(0x5c79e2ff).into()),
594 info_background: Some(rgba(0xe2e2faff).into()),
595 info_border: Some(rgba(0xcbcdf6ff).into()),
596 modified: Some(rgba(0xdec184ff).into()),
597 modified_background: Some(rgba(0xfaf2e6ff).into()),
598 modified_border: Some(rgba(0xf5e8d2ff).into()),
599 predictive: Some(rgba(0x9c9fc7ff).into()),
600 predictive_background: Some(rgba(0xe0ebdcff).into()),
601 predictive_border: Some(rgba(0xc8dcc1ff).into()),
602 renamed: Some(rgba(0x5c79e2ff).into()),
603 renamed_background: Some(rgba(0xe2e2faff).into()),
604 renamed_border: Some(rgba(0xcbcdf6ff).into()),
605 success: Some(rgba(0x669f59ff).into()),
606 success_background: Some(rgba(0xe0ebdcff).into()),
607 success_border: Some(rgba(0xc8dcc1ff).into()),
608 unreachable: Some(rgba(0x7f8188ff).into()),
609 unreachable_background: Some(rgba(0xdcdcddff).into()),
610 unreachable_border: Some(rgba(0xc9c9caff).into()),
611 warning: Some(rgba(0xdec184ff).into()),
612 warning_background: Some(rgba(0xfaf2e6ff).into()),
613 warning_border: Some(rgba(0xf5e8d2ff).into()),
614 ..Default::default()
615 },
616 player: Some(PlayerColors(vec![
617 PlayerColor {
618 cursor: rgba(0x5c79e2ff).into(),
619 background: rgba(0x5c79e2ff).into(),
620 selection: rgba(0x5c79e23d).into(),
621 },
622 PlayerColor {
623 cursor: rgba(0x994fa6ff).into(),
624 background: rgba(0x994fa6ff).into(),
625 selection: rgba(0x994fa63d).into(),
626 },
627 PlayerColor {
628 cursor: rgba(0xad6f27ff).into(),
629 background: rgba(0xad6f27ff).into(),
630 selection: rgba(0xad6f273d).into(),
631 },
632 PlayerColor {
633 cursor: rgba(0xa44aabff).into(),
634 background: rgba(0xa44aabff).into(),
635 selection: rgba(0xa44aab3d).into(),
636 },
637 PlayerColor {
638 cursor: rgba(0x3b82b7ff).into(),
639 background: rgba(0x3b82b7ff).into(),
640 selection: rgba(0x3b82b73d).into(),
641 },
642 PlayerColor {
643 cursor: rgba(0xd36151ff).into(),
644 background: rgba(0xd36151ff).into(),
645 selection: rgba(0xd361513d).into(),
646 },
647 PlayerColor {
648 cursor: rgba(0xdec184ff).into(),
649 background: rgba(0xdec184ff).into(),
650 selection: rgba(0xdec1843d).into(),
651 },
652 PlayerColor {
653 cursor: rgba(0x669f59ff).into(),
654 background: rgba(0x669f59ff).into(),
655 selection: rgba(0x669f593d).into(),
656 },
657 ])),
658 syntax: Some(UserSyntaxTheme {
659 highlights: vec![
660 (
661 "attribute".into(),
662 UserHighlightStyle {
663 color: Some(rgba(0x5c79e2ff).into()),
664 ..Default::default()
665 },
666 ),
667 (
668 "boolean".into(),
669 UserHighlightStyle {
670 color: Some(rgba(0xad6f26ff).into()),
671 ..Default::default()
672 },
673 ),
674 (
675 "comment".into(),
676 UserHighlightStyle {
677 color: Some(rgba(0xa2a3a7ff).into()),
678 ..Default::default()
679 },
680 ),
681 (
682 "comment.doc".into(),
683 UserHighlightStyle {
684 color: Some(rgba(0x7c7e86ff).into()),
685 ..Default::default()
686 },
687 ),
688 (
689 "constant".into(),
690 UserHighlightStyle {
691 color: Some(rgba(0x669f59ff).into()),
692 ..Default::default()
693 },
694 ),
695 (
696 "constructor".into(),
697 UserHighlightStyle {
698 color: Some(rgba(0x5c79e2ff).into()),
699 ..Default::default()
700 },
701 ),
702 (
703 "embedded".into(),
704 UserHighlightStyle {
705 color: Some(rgba(0x383a41ff).into()),
706 ..Default::default()
707 },
708 ),
709 (
710 "emphasis".into(),
711 UserHighlightStyle {
712 color: Some(rgba(0x5c79e2ff).into()),
713 ..Default::default()
714 },
715 ),
716 (
717 "emphasis.strong".into(),
718 UserHighlightStyle {
719 color: Some(rgba(0xad6f26ff).into()),
720 font_weight: Some(UserFontWeight(700.0)),
721 ..Default::default()
722 },
723 ),
724 (
725 "enum".into(),
726 UserHighlightStyle {
727 color: Some(rgba(0xd36050ff).into()),
728 ..Default::default()
729 },
730 ),
731 (
732 "function".into(),
733 UserHighlightStyle {
734 color: Some(rgba(0x5b79e3ff).into()),
735 ..Default::default()
736 },
737 ),
738 (
739 "hint".into(),
740 UserHighlightStyle {
741 color: Some(rgba(0x9295beff).into()),
742 font_weight: Some(UserFontWeight(700.0)),
743 ..Default::default()
744 },
745 ),
746 (
747 "keyword".into(),
748 UserHighlightStyle {
749 color: Some(rgba(0xa449abff).into()),
750 ..Default::default()
751 },
752 ),
753 (
754 "label".into(),
755 UserHighlightStyle {
756 color: Some(rgba(0x5c79e2ff).into()),
757 ..Default::default()
758 },
759 ),
760 (
761 "link_text".into(),
762 UserHighlightStyle {
763 color: Some(rgba(0x5b79e3ff).into()),
764 font_style: Some(UserFontStyle::Italic),
765 ..Default::default()
766 },
767 ),
768 (
769 "link_uri".into(),
770 UserHighlightStyle {
771 color: Some(rgba(0x3982b7ff).into()),
772 ..Default::default()
773 },
774 ),
775 (
776 "number".into(),
777 UserHighlightStyle {
778 color: Some(rgba(0xad6f26ff).into()),
779 ..Default::default()
780 },
781 ),
782 (
783 "operator".into(),
784 UserHighlightStyle {
785 color: Some(rgba(0x3982b7ff).into()),
786 ..Default::default()
787 },
788 ),
789 (
790 "predictive".into(),
791 UserHighlightStyle {
792 color: Some(rgba(0x9c9fc7ff).into()),
793 font_style: Some(UserFontStyle::Italic),
794 ..Default::default()
795 },
796 ),
797 (
798 "preproc".into(),
799 UserHighlightStyle {
800 color: Some(rgba(0x383a41ff).into()),
801 ..Default::default()
802 },
803 ),
804 (
805 "primary".into(),
806 UserHighlightStyle {
807 color: Some(rgba(0x383a41ff).into()),
808 ..Default::default()
809 },
810 ),
811 (
812 "property".into(),
813 UserHighlightStyle {
814 color: Some(rgba(0xd36050ff).into()),
815 ..Default::default()
816 },
817 ),
818 (
819 "punctuation".into(),
820 UserHighlightStyle {
821 color: Some(rgba(0x383a41ff).into()),
822 ..Default::default()
823 },
824 ),
825 (
826 "punctuation.bracket".into(),
827 UserHighlightStyle {
828 color: Some(rgba(0x4d4f52ff).into()),
829 ..Default::default()
830 },
831 ),
832 (
833 "punctuation.delimiter".into(),
834 UserHighlightStyle {
835 color: Some(rgba(0x4d4f52ff).into()),
836 ..Default::default()
837 },
838 ),
839 (
840 "punctuation.list_marker".into(),
841 UserHighlightStyle {
842 color: Some(rgba(0xd36050ff).into()),
843 ..Default::default()
844 },
845 ),
846 (
847 "punctuation.special".into(),
848 UserHighlightStyle {
849 color: Some(rgba(0xb92c46ff).into()),
850 ..Default::default()
851 },
852 ),
853 (
854 "string".into(),
855 UserHighlightStyle {
856 color: Some(rgba(0x659f58ff).into()),
857 ..Default::default()
858 },
859 ),
860 (
861 "string.escape".into(),
862 UserHighlightStyle {
863 color: Some(rgba(0x7c7e86ff).into()),
864 ..Default::default()
865 },
866 ),
867 (
868 "string.regex".into(),
869 UserHighlightStyle {
870 color: Some(rgba(0xad6f27ff).into()),
871 ..Default::default()
872 },
873 ),
874 (
875 "string.special".into(),
876 UserHighlightStyle {
877 color: Some(rgba(0xad6f27ff).into()),
878 ..Default::default()
879 },
880 ),
881 (
882 "string.special.symbol".into(),
883 UserHighlightStyle {
884 color: Some(rgba(0xad6f27ff).into()),
885 ..Default::default()
886 },
887 ),
888 (
889 "tag".into(),
890 UserHighlightStyle {
891 color: Some(rgba(0x5c79e2ff).into()),
892 ..Default::default()
893 },
894 ),
895 (
896 "text.literal".into(),
897 UserHighlightStyle {
898 color: Some(rgba(0x659f58ff).into()),
899 ..Default::default()
900 },
901 ),
902 (
903 "title".into(),
904 UserHighlightStyle {
905 color: Some(rgba(0xd36050ff).into()),
906 font_weight: Some(UserFontWeight(400.0)),
907 ..Default::default()
908 },
909 ),
910 (
911 "type".into(),
912 UserHighlightStyle {
913 color: Some(rgba(0x3982b7ff).into()),
914 ..Default::default()
915 },
916 ),
917 (
918 "variable".into(),
919 UserHighlightStyle {
920 color: Some(rgba(0x383a41ff).into()),
921 ..Default::default()
922 },
923 ),
924 (
925 "variable.special".into(),
926 UserHighlightStyle {
927 color: Some(rgba(0xad6f26ff).into()),
928 ..Default::default()
929 },
930 ),
931 (
932 "variant".into(),
933 UserHighlightStyle {
934 color: Some(rgba(0x5b79e3ff).into()),
935 ..Default::default()
936 },
937 ),
938 ],
939 }),
940 },
941 },
942 ],
943 }
944}