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