1use gpui::{Hsla, Rgba};
2
3use crate::ColorScale;
4use crate::scale::{ColorScaleSet, ColorScales};
5use crate::{SystemColors, ThemeColors};
6
7pub(crate) fn neutral() -> ColorScaleSet {
8 sand()
9}
10
11const ADDED_COLOR: Hsla = Hsla {
12 h: 142. / 360.,
13 s: 0.68,
14 l: 0.45,
15 a: 1.0,
16};
17const MODIFIED_COLOR: Hsla = Hsla {
18 h: 48. / 360.,
19 s: 0.76,
20 l: 0.47,
21 a: 1.0,
22};
23const REMOVED_COLOR: Hsla = Hsla {
24 h: 355. / 360.,
25 s: 0.65,
26 l: 0.65,
27 a: 1.0,
28};
29
30/// The default colors for the theme.
31///
32/// Themes that do not specify all colors are refined off of these defaults.
33impl ThemeColors {
34 /// Returns the default colors for light themes.
35 ///
36 /// Themes that do not specify all colors are refined off of these defaults.
37 pub fn light() -> Self {
38 let system = SystemColors::default();
39
40 Self {
41 border: neutral().light().step_6(),
42 border_variant: neutral().light().step_5(),
43 border_focused: blue().light().step_5(),
44 border_selected: blue().light().step_5(),
45 border_transparent: system.transparent,
46 border_disabled: neutral().light().step_3(),
47 elevated_surface_background: neutral().light().step_2(),
48 surface_background: neutral().light().step_2(),
49 background: neutral().light().step_1(),
50 element_background: neutral().light().step_3(),
51 element_hover: neutral().light_alpha().step_4(),
52 element_active: neutral().light_alpha().step_5(),
53 element_selected: neutral().light_alpha().step_5(),
54 element_disabled: neutral().light_alpha().step_3(),
55 drop_target_background: blue().light_alpha().step_2(),
56 ghost_element_background: system.transparent,
57 ghost_element_hover: neutral().light_alpha().step_3(),
58 ghost_element_active: neutral().light_alpha().step_4(),
59 ghost_element_selected: neutral().light_alpha().step_5(),
60 ghost_element_disabled: neutral().light_alpha().step_3(),
61 text: neutral().light().step_12(),
62 text_muted: neutral().light().step_10(),
63 text_placeholder: neutral().light().step_10(),
64 text_disabled: neutral().light().step_9(),
65 text_accent: blue().light().step_11(),
66 icon: neutral().light().step_11(),
67 icon_muted: neutral().light().step_10(),
68 icon_disabled: neutral().light().step_9(),
69 icon_placeholder: neutral().light().step_10(),
70 icon_accent: blue().light().step_11(),
71 debugger_accent: red().light().step_10(),
72 status_bar_background: neutral().light().step_2(),
73 title_bar_background: neutral().light().step_2(),
74 title_bar_inactive_background: neutral().light().step_3(),
75 toolbar_background: neutral().light().step_1(),
76 tab_bar_background: neutral().light().step_2(),
77 tab_inactive_background: neutral().light().step_2(),
78 tab_active_background: neutral().light().step_1(),
79 search_match_background: neutral().light().step_5(),
80 panel_background: neutral().light().step_2(),
81 panel_focused_border: blue().light().step_10(),
82 panel_indent_guide: neutral().light_alpha().step_5(),
83 panel_indent_guide_hover: neutral().light_alpha().step_6(),
84 panel_indent_guide_active: neutral().light_alpha().step_6(),
85 pane_focused_border: blue().light().step_5(),
86 pane_group_border: neutral().light().step_6(),
87 scrollbar_thumb_background: neutral().light_alpha().step_3(),
88 scrollbar_thumb_hover_background: neutral().light_alpha().step_4(),
89 scrollbar_thumb_active_background: neutral().light_alpha().step_5(),
90 scrollbar_thumb_border: gpui::transparent_black(),
91 scrollbar_track_background: gpui::transparent_black(),
92 scrollbar_track_border: neutral().light().step_5(),
93 minimap_thumb_background: neutral().light_alpha().step_3().alpha(0.7),
94 minimap_thumb_hover_background: neutral().light_alpha().step_4().alpha(0.7),
95 minimap_thumb_active_background: neutral().light_alpha().step_5().alpha(0.7),
96 minimap_thumb_border: gpui::transparent_black(),
97 editor_foreground: neutral().light().step_12(),
98 editor_background: neutral().light().step_1(),
99 editor_gutter_background: neutral().light().step_1(),
100 editor_subheader_background: neutral().light().step_2(),
101 editor_active_line_background: neutral().light_alpha().step_3(),
102 editor_highlighted_line_background: neutral().light_alpha().step_3(),
103 editor_debugger_active_line_background: yellow().dark_alpha().step_3(),
104 editor_line_number: neutral().light().step_10(),
105 editor_hover_line_number: neutral().light().step_12(),
106 editor_active_line_number: neutral().light().step_11(),
107 editor_invisible: neutral().light().step_10(),
108 editor_wrap_guide: neutral().light_alpha().step_7(),
109 editor_active_wrap_guide: neutral().light_alpha().step_8(),
110 editor_indent_guide: neutral().light_alpha().step_5(),
111 editor_indent_guide_active: neutral().light_alpha().step_6(),
112 editor_document_highlight_read_background: neutral().light_alpha().step_3(),
113 editor_document_highlight_write_background: neutral().light_alpha().step_4(),
114 editor_document_highlight_bracket_background: green().light_alpha().step_5(),
115 terminal_background: neutral().light().step_1(),
116 terminal_foreground: black().light().step_12(),
117 terminal_bright_foreground: black().light().step_11(),
118 terminal_dim_foreground: black().light().step_10(),
119 terminal_ansi_background: neutral().light().step_1(),
120 terminal_ansi_bright_black: black().light().step_11(),
121 terminal_ansi_bright_red: red().light().step_10(),
122 terminal_ansi_bright_green: green().light().step_10(),
123 terminal_ansi_bright_yellow: yellow().light().step_10(),
124 terminal_ansi_bright_blue: blue().light().step_10(),
125 terminal_ansi_bright_magenta: violet().light().step_10(),
126 terminal_ansi_bright_cyan: cyan().light().step_10(),
127 terminal_ansi_bright_white: neutral().light().step_11(),
128 terminal_ansi_black: black().light().step_12(),
129 terminal_ansi_red: red().light().step_11(),
130 terminal_ansi_green: green().light().step_11(),
131 terminal_ansi_yellow: yellow().light().step_11(),
132 terminal_ansi_blue: blue().light().step_11(),
133 terminal_ansi_magenta: violet().light().step_11(),
134 terminal_ansi_cyan: cyan().light().step_11(),
135 terminal_ansi_white: neutral().light().step_12(),
136 terminal_ansi_dim_black: black().light().step_11(),
137 terminal_ansi_dim_red: red().light().step_10(),
138 terminal_ansi_dim_green: green().light().step_10(),
139 terminal_ansi_dim_yellow: yellow().light().step_10(),
140 terminal_ansi_dim_blue: blue().light().step_10(),
141 terminal_ansi_dim_magenta: violet().light().step_10(),
142 terminal_ansi_dim_cyan: cyan().light().step_10(),
143 terminal_ansi_dim_white: neutral().light().step_11(),
144 link_text_hover: orange().light().step_10(),
145 version_control_added: ADDED_COLOR,
146 version_control_deleted: REMOVED_COLOR,
147 version_control_modified: MODIFIED_COLOR,
148 version_control_renamed: MODIFIED_COLOR,
149 version_control_conflict: orange().light().step_12(),
150 version_control_ignored: gray().light().step_12(),
151 version_control_conflict_marker_ours: green().light().step_10().alpha(0.5),
152 version_control_conflict_marker_theirs: blue().light().step_10().alpha(0.5),
153 }
154 }
155
156 /// Returns the default colors for dark themes.
157 ///
158 /// Themes that do not specify all colors are refined off of these defaults.
159 pub fn dark() -> Self {
160 let system = SystemColors::default();
161
162 Self {
163 border: neutral().dark().step_6(),
164 border_variant: neutral().dark().step_5(),
165 border_focused: blue().dark().step_5(),
166 border_selected: blue().dark().step_5(),
167 border_transparent: system.transparent,
168 border_disabled: neutral().dark().step_3(),
169 elevated_surface_background: neutral().dark().step_2(),
170 surface_background: neutral().dark().step_2(),
171 background: neutral().dark().step_1(),
172 element_background: neutral().dark().step_3(),
173 element_hover: neutral().dark_alpha().step_4(),
174 element_active: neutral().dark_alpha().step_5(),
175 element_selected: neutral().dark_alpha().step_5(),
176 element_disabled: neutral().dark_alpha().step_3(),
177 drop_target_background: blue().dark_alpha().step_2(),
178 ghost_element_background: system.transparent,
179 ghost_element_hover: neutral().dark_alpha().step_4(),
180 ghost_element_active: neutral().dark_alpha().step_5(),
181 ghost_element_selected: neutral().dark_alpha().step_5(),
182 ghost_element_disabled: neutral().dark_alpha().step_3(),
183 text: neutral().dark().step_12(),
184 text_muted: neutral().dark().step_11(),
185 text_placeholder: neutral().dark().step_10(),
186 text_disabled: neutral().dark().step_9(),
187 text_accent: blue().dark().step_11(),
188 icon: neutral().dark().step_11(),
189 icon_muted: neutral().dark().step_10(),
190 icon_disabled: neutral().dark().step_9(),
191 icon_placeholder: neutral().dark().step_10(),
192 icon_accent: blue().dark().step_11(),
193 debugger_accent: red().light().step_10(),
194 status_bar_background: neutral().dark().step_2(),
195 title_bar_background: neutral().dark().step_2(),
196 title_bar_inactive_background: neutral().dark().step_3(),
197 toolbar_background: neutral().dark().step_1(),
198 tab_bar_background: neutral().dark().step_2(),
199 tab_inactive_background: neutral().dark().step_2(),
200 tab_active_background: neutral().dark().step_1(),
201 search_match_background: neutral().dark().step_5(),
202 panel_background: neutral().dark().step_2(),
203 panel_focused_border: blue().dark().step_8(),
204 panel_indent_guide: neutral().dark_alpha().step_4(),
205 panel_indent_guide_hover: neutral().dark_alpha().step_6(),
206 panel_indent_guide_active: neutral().dark_alpha().step_6(),
207 pane_focused_border: blue().dark().step_5(),
208 pane_group_border: neutral().dark().step_6(),
209 scrollbar_thumb_background: neutral().dark_alpha().step_3(),
210 scrollbar_thumb_hover_background: neutral().dark_alpha().step_4(),
211 scrollbar_thumb_active_background: neutral().dark_alpha().step_5(),
212 scrollbar_thumb_border: gpui::transparent_black(),
213 scrollbar_track_background: gpui::transparent_black(),
214 scrollbar_track_border: neutral().dark().step_5(),
215 minimap_thumb_background: neutral().dark_alpha().step_3().alpha(0.7),
216 minimap_thumb_hover_background: neutral().dark_alpha().step_4().alpha(0.7),
217 minimap_thumb_active_background: neutral().dark_alpha().step_5().alpha(0.7),
218 minimap_thumb_border: gpui::transparent_black(),
219 editor_foreground: neutral().dark().step_12(),
220 editor_background: neutral().dark().step_1(),
221 editor_gutter_background: neutral().dark().step_1(),
222 editor_subheader_background: neutral().dark().step_3(),
223 editor_active_line_background: neutral().dark_alpha().step_3(),
224 editor_highlighted_line_background: yellow().dark_alpha().step_4(),
225 editor_debugger_active_line_background: yellow().dark_alpha().step_3(),
226 editor_line_number: neutral().dark_alpha().step_10(),
227 editor_hover_line_number: neutral().dark_alpha().step_12(),
228 editor_active_line_number: neutral().dark_alpha().step_11(),
229 editor_invisible: neutral().dark_alpha().step_4(),
230 editor_wrap_guide: neutral().dark_alpha().step_4(),
231 editor_active_wrap_guide: neutral().dark_alpha().step_4(),
232 editor_indent_guide: neutral().dark_alpha().step_4(),
233 editor_indent_guide_active: neutral().dark_alpha().step_6(),
234 editor_document_highlight_read_background: neutral().dark_alpha().step_4(),
235 editor_document_highlight_write_background: neutral().dark_alpha().step_4(),
236 editor_document_highlight_bracket_background: green().dark_alpha().step_6(),
237 terminal_background: neutral().dark().step_1(),
238 terminal_ansi_background: neutral().dark().step_1(),
239 terminal_foreground: white().dark().step_12(),
240 terminal_bright_foreground: white().dark().step_11(),
241 terminal_dim_foreground: white().dark().step_10(),
242 terminal_ansi_black: black().dark().step_12(),
243 terminal_ansi_bright_black: black().dark().step_11(),
244 terminal_ansi_dim_black: black().dark().step_10(),
245 terminal_ansi_red: red().dark().step_11(),
246 terminal_ansi_bright_red: red().dark().step_10(),
247 terminal_ansi_dim_red: red().dark().step_9(),
248 terminal_ansi_green: green().dark().step_11(),
249 terminal_ansi_bright_green: green().dark().step_10(),
250 terminal_ansi_dim_green: green().dark().step_9(),
251 terminal_ansi_yellow: yellow().dark().step_11(),
252 terminal_ansi_bright_yellow: yellow().dark().step_10(),
253 terminal_ansi_dim_yellow: yellow().dark().step_9(),
254 terminal_ansi_blue: blue().dark().step_11(),
255 terminal_ansi_bright_blue: blue().dark().step_10(),
256 terminal_ansi_dim_blue: blue().dark().step_9(),
257 terminal_ansi_magenta: violet().dark().step_11(),
258 terminal_ansi_bright_magenta: violet().dark().step_10(),
259 terminal_ansi_dim_magenta: violet().dark().step_9(),
260 terminal_ansi_cyan: cyan().dark().step_11(),
261 terminal_ansi_bright_cyan: cyan().dark().step_10(),
262 terminal_ansi_dim_cyan: cyan().dark().step_9(),
263 terminal_ansi_white: neutral().dark().step_12(),
264 terminal_ansi_bright_white: neutral().dark().step_11(),
265 terminal_ansi_dim_white: neutral().dark().step_10(),
266 link_text_hover: orange().dark().step_10(),
267 version_control_added: ADDED_COLOR,
268 version_control_deleted: REMOVED_COLOR,
269 version_control_modified: MODIFIED_COLOR,
270 version_control_renamed: MODIFIED_COLOR,
271 version_control_conflict: orange().dark().step_12(),
272 version_control_ignored: gray().dark().step_12(),
273 version_control_conflict_marker_ours: green().dark().step_10().alpha(0.5),
274 version_control_conflict_marker_theirs: blue().dark().step_10().alpha(0.5),
275 }
276 }
277}
278
279type StaticColorScale = [&'static str; 12];
280
281struct StaticColorScaleSet {
282 scale: &'static str,
283 light: StaticColorScale,
284 light_alpha: StaticColorScale,
285 dark: StaticColorScale,
286 dark_alpha: StaticColorScale,
287}
288
289impl TryFrom<StaticColorScaleSet> for ColorScaleSet {
290 type Error = anyhow::Error;
291
292 fn try_from(value: StaticColorScaleSet) -> Result<Self, Self::Error> {
293 fn to_color_scale(scale: StaticColorScale) -> anyhow::Result<ColorScale> {
294 scale
295 .into_iter()
296 .map(|color| Rgba::try_from(color).map(Hsla::from))
297 .collect::<Result<Vec<_>, _>>()
298 .map(ColorScale::from_iter)
299 }
300
301 Ok(Self::new(
302 value.scale,
303 to_color_scale(value.light)?,
304 to_color_scale(value.light_alpha)?,
305 to_color_scale(value.dark)?,
306 to_color_scale(value.dark_alpha)?,
307 ))
308 }
309}
310
311/// Color scales used to build the default themes.
312pub fn default_color_scales() -> ColorScales {
313 ColorScales {
314 gray: gray(),
315 mauve: mauve(),
316 slate: slate(),
317 sage: sage(),
318 olive: olive(),
319 sand: sand(),
320 gold: gold(),
321 bronze: bronze(),
322 brown: brown(),
323 yellow: yellow(),
324 amber: amber(),
325 orange: orange(),
326 tomato: tomato(),
327 red: red(),
328 ruby: ruby(),
329 crimson: crimson(),
330 pink: pink(),
331 plum: plum(),
332 purple: purple(),
333 violet: violet(),
334 iris: iris(),
335 indigo: indigo(),
336 blue: blue(),
337 cyan: cyan(),
338 teal: teal(),
339 jade: jade(),
340 green: green(),
341 grass: grass(),
342 lime: lime(),
343 mint: mint(),
344 sky: sky(),
345 black: black(),
346 white: white(),
347 }
348}
349
350pub(crate) fn gray() -> ColorScaleSet {
351 StaticColorScaleSet {
352 scale: "Gray",
353 light: [
354 "#fcfcfcff",
355 "#f9f9f9ff",
356 "#f0f0f0ff",
357 "#e8e8e8ff",
358 "#e0e0e0ff",
359 "#d9d9d9ff",
360 "#cececeff",
361 "#bbbbbbff",
362 "#8d8d8dff",
363 "#838383ff",
364 "#646464ff",
365 "#202020ff",
366 ],
367 light_alpha: [
368 "#00000003",
369 "#00000006",
370 "#0000000f",
371 "#00000017",
372 "#0000001f",
373 "#00000026",
374 "#00000031",
375 "#00000044",
376 "#00000072",
377 "#0000007c",
378 "#0000009b",
379 "#000000df",
380 ],
381 dark: [
382 "#111111ff",
383 "#191919ff",
384 "#222222ff",
385 "#2a2a2aff",
386 "#313131ff",
387 "#3a3a3aff",
388 "#484848ff",
389 "#606060ff",
390 "#6e6e6eff",
391 "#7b7b7bff",
392 "#b4b4b4ff",
393 "#eeeeeeff",
394 ],
395 dark_alpha: [
396 "#00000000",
397 "#ffffff09",
398 "#ffffff12",
399 "#ffffff1b",
400 "#ffffff22",
401 "#ffffff2c",
402 "#ffffff3b",
403 "#ffffff55",
404 "#ffffff64",
405 "#ffffff72",
406 "#ffffffaf",
407 "#ffffffed",
408 ],
409 }
410 .try_into()
411 .unwrap()
412}
413
414pub(crate) fn mauve() -> ColorScaleSet {
415 StaticColorScaleSet {
416 scale: "Mauve",
417 light: [
418 "#fdfcfdff",
419 "#faf9fbff",
420 "#f2eff3ff",
421 "#eae7ecff",
422 "#e3dfe6ff",
423 "#dbd8e0ff",
424 "#d0cdd7ff",
425 "#bcbac7ff",
426 "#8e8c99ff",
427 "#84828eff",
428 "#65636dff",
429 "#211f26ff",
430 ],
431 light_alpha: [
432 "#55005503",
433 "#2b005506",
434 "#30004010",
435 "#20003618",
436 "#20003820",
437 "#14003527",
438 "#10003332",
439 "#08003145",
440 "#05001d73",
441 "#0500197d",
442 "#0400119c",
443 "#020008e0",
444 ],
445 dark: [
446 "#121113ff",
447 "#1a191bff",
448 "#232225ff",
449 "#2b292dff",
450 "#323035ff",
451 "#3c393fff",
452 "#49474eff",
453 "#625f69ff",
454 "#6f6d78ff",
455 "#7c7a85ff",
456 "#b5b2bcff",
457 "#eeeef0ff",
458 ],
459 dark_alpha: [
460 "#00000000",
461 "#f5f4f609",
462 "#ebeaf814",
463 "#eee5f81d",
464 "#efe6fe25",
465 "#f1e6fd30",
466 "#eee9ff40",
467 "#eee7ff5d",
468 "#eae6fd6e",
469 "#ece9fd7c",
470 "#f5f1ffb7",
471 "#fdfdffef",
472 ],
473 }
474 .try_into()
475 .unwrap()
476}
477
478pub(crate) fn slate() -> ColorScaleSet {
479 StaticColorScaleSet {
480 scale: "Slate",
481 light: [
482 "#fcfcfdff",
483 "#f9f9fbff",
484 "#f0f0f3ff",
485 "#e8e8ecff",
486 "#e0e1e6ff",
487 "#d9d9e0ff",
488 "#cdced6ff",
489 "#b9bbc6ff",
490 "#8b8d98ff",
491 "#80838dff",
492 "#60646cff",
493 "#1c2024ff",
494 ],
495 light_alpha: [
496 "#00005503",
497 "#00005506",
498 "#0000330f",
499 "#00002d17",
500 "#0009321f",
501 "#00002f26",
502 "#00062e32",
503 "#00083046",
504 "#00051d74",
505 "#00071b7f",
506 "#0007149f",
507 "#000509e3",
508 ],
509 dark: [
510 "#111113ff",
511 "#18191bff",
512 "#212225ff",
513 "#272a2dff",
514 "#2e3135ff",
515 "#363a3fff",
516 "#43484eff",
517 "#5a6169ff",
518 "#696e77ff",
519 "#777b84ff",
520 "#b0b4baff",
521 "#edeef0ff",
522 ],
523 dark_alpha: [
524 "#00000000",
525 "#d8f4f609",
526 "#ddeaf814",
527 "#d3edf81d",
528 "#d9edfe25",
529 "#d6ebfd30",
530 "#d9edff40",
531 "#d9edff5d",
532 "#dfebfd6d",
533 "#e5edfd7b",
534 "#f1f7feb5",
535 "#fcfdffef",
536 ],
537 }
538 .try_into()
539 .unwrap()
540}
541
542pub(crate) fn sage() -> ColorScaleSet {
543 StaticColorScaleSet {
544 scale: "Sage",
545 light: [
546 "#fbfdfcff",
547 "#f7f9f8ff",
548 "#eef1f0ff",
549 "#e6e9e8ff",
550 "#dfe2e0ff",
551 "#d7dad9ff",
552 "#cbcfcdff",
553 "#b8bcbaff",
554 "#868e8bff",
555 "#7c8481ff",
556 "#5f6563ff",
557 "#1a211eff",
558 ],
559 light_alpha: [
560 "#00804004",
561 "#00402008",
562 "#002d1e11",
563 "#001f1519",
564 "#00180820",
565 "#00140d28",
566 "#00140a34",
567 "#000f0847",
568 "#00110b79",
569 "#00100a83",
570 "#000a07a0",
571 "#000805e5",
572 ],
573 dark: [
574 "#101211ff",
575 "#171918ff",
576 "#202221ff",
577 "#272a29ff",
578 "#2e3130ff",
579 "#373b39ff",
580 "#444947ff",
581 "#5b625fff",
582 "#63706bff",
583 "#717d79ff",
584 "#adb5b2ff",
585 "#eceeedff",
586 ],
587 dark_alpha: [
588 "#00000000",
589 "#f0f2f108",
590 "#f3f5f412",
591 "#f2fefd1a",
592 "#f1fbfa22",
593 "#edfbf42d",
594 "#edfcf73c",
595 "#ebfdf657",
596 "#dffdf266",
597 "#e5fdf674",
598 "#f4fefbb0",
599 "#fdfffeed",
600 ],
601 }
602 .try_into()
603 .unwrap()
604}
605
606pub(crate) fn olive() -> ColorScaleSet {
607 StaticColorScaleSet {
608 scale: "Olive",
609 light: [
610 "#fcfdfcff",
611 "#f8faf8ff",
612 "#eff1efff",
613 "#e7e9e7ff",
614 "#dfe2dfff",
615 "#d7dad7ff",
616 "#cccfccff",
617 "#b9bcb8ff",
618 "#898e87ff",
619 "#7f847dff",
620 "#60655fff",
621 "#1d211cff",
622 ],
623 light_alpha: [
624 "#00550003",
625 "#00490007",
626 "#00200010",
627 "#00160018",
628 "#00180020",
629 "#00140028",
630 "#000f0033",
631 "#040f0047",
632 "#050f0078",
633 "#040e0082",
634 "#020a00a0",
635 "#010600e3",
636 ],
637 dark: [
638 "#111210ff",
639 "#181917ff",
640 "#212220ff",
641 "#282a27ff",
642 "#2f312eff",
643 "#383a36ff",
644 "#454843ff",
645 "#5c625bff",
646 "#687066ff",
647 "#767d74ff",
648 "#afb5adff",
649 "#eceeecff",
650 ],
651 dark_alpha: [
652 "#00000000",
653 "#f1f2f008",
654 "#f4f5f312",
655 "#f3fef21a",
656 "#f2fbf122",
657 "#f4faed2c",
658 "#f2fced3b",
659 "#edfdeb57",
660 "#ebfde766",
661 "#f0fdec74",
662 "#f6fef4b0",
663 "#fdfffded",
664 ],
665 }
666 .try_into()
667 .unwrap()
668}
669
670pub(crate) fn sand() -> ColorScaleSet {
671 StaticColorScaleSet {
672 scale: "Sand",
673 light: [
674 "#fdfdfcff",
675 "#f9f9f8ff",
676 "#f1f0efff",
677 "#e9e8e6ff",
678 "#e2e1deff",
679 "#dad9d6ff",
680 "#cfcecaff",
681 "#bcbbb5ff",
682 "#8d8d86ff",
683 "#82827cff",
684 "#63635eff",
685 "#21201cff",
686 ],
687 light_alpha: [
688 "#55550003",
689 "#25250007",
690 "#20100010",
691 "#1f150019",
692 "#1f180021",
693 "#19130029",
694 "#19140035",
695 "#1915014a",
696 "#0f0f0079",
697 "#0c0c0083",
698 "#080800a1",
699 "#060500e3",
700 ],
701 dark: [
702 "#111110ff",
703 "#191918ff",
704 "#222221ff",
705 "#2a2a28ff",
706 "#31312eff",
707 "#3b3a37ff",
708 "#494844ff",
709 "#62605bff",
710 "#6f6d66ff",
711 "#7c7b74ff",
712 "#b5b3adff",
713 "#eeeeecff",
714 ],
715 dark_alpha: [
716 "#00000000",
717 "#f4f4f309",
718 "#f6f6f513",
719 "#fefef31b",
720 "#fbfbeb23",
721 "#fffaed2d",
722 "#fffbed3c",
723 "#fff9eb57",
724 "#fffae965",
725 "#fffdee73",
726 "#fffcf4b0",
727 "#fffffded",
728 ],
729 }
730 .try_into()
731 .unwrap()
732}
733
734pub(crate) fn gold() -> ColorScaleSet {
735 StaticColorScaleSet {
736 scale: "Gold",
737 light: [
738 "#fdfdfcff",
739 "#faf9f2ff",
740 "#f2f0e7ff",
741 "#eae6dbff",
742 "#e1dccfff",
743 "#d8d0bfff",
744 "#cbc0aaff",
745 "#b9a88dff",
746 "#978365ff",
747 "#8c7a5eff",
748 "#71624bff",
749 "#3b352bff",
750 ],
751 light_alpha: [
752 "#55550003",
753 "#9d8a000d",
754 "#75600018",
755 "#6b4e0024",
756 "#60460030",
757 "#64440040",
758 "#63420055",
759 "#633d0072",
760 "#5332009a",
761 "#492d00a1",
762 "#362100b4",
763 "#130c00d4",
764 ],
765 dark: [
766 "#121211ff",
767 "#1b1a17ff",
768 "#24231fff",
769 "#2d2b26ff",
770 "#38352eff",
771 "#444039ff",
772 "#544f46ff",
773 "#696256ff",
774 "#978365ff",
775 "#a39073ff",
776 "#cbb99fff",
777 "#e8e2d9ff",
778 ],
779 dark_alpha: [
780 "#91911102",
781 "#f9e29d0b",
782 "#f8ecbb15",
783 "#ffeec41e",
784 "#feecc22a",
785 "#feebcb37",
786 "#ffedcd48",
787 "#fdeaca5f",
788 "#ffdba690",
789 "#fedfb09d",
790 "#fee7c6c8",
791 "#fef7ede7",
792 ],
793 }
794 .try_into()
795 .unwrap()
796}
797
798pub(crate) fn bronze() -> ColorScaleSet {
799 StaticColorScaleSet {
800 scale: "Bronze",
801 light: [
802 "#fdfcfcff",
803 "#fdf7f5ff",
804 "#f6edeaff",
805 "#efe4dfff",
806 "#e7d9d3ff",
807 "#dfcdc5ff",
808 "#d3bcb3ff",
809 "#c2a499ff",
810 "#a18072ff",
811 "#957468ff",
812 "#7d5e54ff",
813 "#43302bff",
814 ],
815 light_alpha: [
816 "#55000003",
817 "#cc33000a",
818 "#92250015",
819 "#80280020",
820 "#7423002c",
821 "#7324003a",
822 "#6c1f004c",
823 "#671c0066",
824 "#551a008d",
825 "#4c150097",
826 "#3d0f00ab",
827 "#1d0600d4",
828 ],
829 dark: [
830 "#141110ff",
831 "#1c1917ff",
832 "#262220ff",
833 "#302a27ff",
834 "#3b3330ff",
835 "#493e3aff",
836 "#5a4c47ff",
837 "#6f5f58ff",
838 "#a18072ff",
839 "#ae8c7eff",
840 "#d4b3a5ff",
841 "#ede0d9ff",
842 ],
843 dark_alpha: [
844 "#d1110004",
845 "#fbbc910c",
846 "#faceb817",
847 "#facdb622",
848 "#ffd2c12d",
849 "#ffd1c03c",
850 "#fdd0c04f",
851 "#ffd6c565",
852 "#fec7b09b",
853 "#fecab5a9",
854 "#ffd7c6d1",
855 "#fff1e9ec",
856 ],
857 }
858 .try_into()
859 .unwrap()
860}
861
862pub(crate) fn brown() -> ColorScaleSet {
863 StaticColorScaleSet {
864 scale: "Brown",
865 light: [
866 "#fefdfcff",
867 "#fcf9f6ff",
868 "#f6eee7ff",
869 "#f0e4d9ff",
870 "#ebdacaff",
871 "#e4cdb7ff",
872 "#dcbc9fff",
873 "#cea37eff",
874 "#ad7f58ff",
875 "#a07553ff",
876 "#815e46ff",
877 "#3e332eff",
878 ],
879 light_alpha: [
880 "#aa550003",
881 "#aa550009",
882 "#a04b0018",
883 "#9b4a0026",
884 "#9f4d0035",
885 "#a04e0048",
886 "#a34e0060",
887 "#9f4a0081",
888 "#823c00a7",
889 "#723300ac",
890 "#522100b9",
891 "#140600d1",
892 ],
893 dark: [
894 "#12110fff",
895 "#1c1816ff",
896 "#28211dff",
897 "#322922ff",
898 "#3e3128ff",
899 "#4d3c2fff",
900 "#614a39ff",
901 "#7c5f46ff",
902 "#ad7f58ff",
903 "#b88c67ff",
904 "#dbb594ff",
905 "#f2e1caff",
906 ],
907 dark_alpha: [
908 "#91110002",
909 "#fba67c0c",
910 "#fcb58c19",
911 "#fbbb8a24",
912 "#fcb88931",
913 "#fdba8741",
914 "#ffbb8856",
915 "#ffbe8773",
916 "#feb87da8",
917 "#ffc18cb3",
918 "#fed1aad9",
919 "#feecd4f2",
920 ],
921 }
922 .try_into()
923 .unwrap()
924}
925
926pub(crate) fn yellow() -> ColorScaleSet {
927 StaticColorScaleSet {
928 scale: "Yellow",
929 light: [
930 "#fdfdf9ff",
931 "#fefce9ff",
932 "#fffab8ff",
933 "#fff394ff",
934 "#ffe770ff",
935 "#f3d768ff",
936 "#e4c767ff",
937 "#d5ae39ff",
938 "#ffe629ff",
939 "#ffdc00ff",
940 "#9e6c00ff",
941 "#473b1fff",
942 ],
943 light_alpha: [
944 "#aaaa0006",
945 "#f4dd0016",
946 "#ffee0047",
947 "#ffe3016b",
948 "#ffd5008f",
949 "#ebbc0097",
950 "#d2a10098",
951 "#c99700c6",
952 "#ffe100d6",
953 "#ffdc00ff",
954 "#9e6c00ff",
955 "#2e2000e0",
956 ],
957 dark: [
958 "#14120bff",
959 "#1b180fff",
960 "#2d2305ff",
961 "#362b00ff",
962 "#433500ff",
963 "#524202ff",
964 "#665417ff",
965 "#836a21ff",
966 "#ffe629ff",
967 "#ffff57ff",
968 "#f5e147ff",
969 "#f6eeb4ff",
970 ],
971 dark_alpha: [
972 "#d1510004",
973 "#f9b4000b",
974 "#ffaa001e",
975 "#fdb70028",
976 "#febb0036",
977 "#fec40046",
978 "#fdcb225c",
979 "#fdca327b",
980 "#ffe629ff",
981 "#ffff57ff",
982 "#fee949f5",
983 "#fef6baf6",
984 ],
985 }
986 .try_into()
987 .unwrap()
988}
989
990pub(crate) fn amber() -> ColorScaleSet {
991 StaticColorScaleSet {
992 scale: "Amber",
993 light: [
994 "#fefdfbff",
995 "#fefbe9ff",
996 "#fff7c2ff",
997 "#ffee9cff",
998 "#fbe577ff",
999 "#f3d673ff",
1000 "#e9c162ff",
1001 "#e2a336ff",
1002 "#ffc53dff",
1003 "#ffba18ff",
1004 "#ab6400ff",
1005 "#4f3422ff",
1006 ],
1007 light_alpha: [
1008 "#c0800004",
1009 "#f4d10016",
1010 "#ffde003d",
1011 "#ffd40063",
1012 "#f8cf0088",
1013 "#eab5008c",
1014 "#dc9b009d",
1015 "#da8a00c9",
1016 "#ffb300c2",
1017 "#ffb300e7",
1018 "#ab6400ff",
1019 "#341500dd",
1020 ],
1021 dark: [
1022 "#16120cff",
1023 "#1d180fff",
1024 "#302008ff",
1025 "#3f2700ff",
1026 "#4d3000ff",
1027 "#5c3d05ff",
1028 "#714f19ff",
1029 "#8f6424ff",
1030 "#ffc53dff",
1031 "#ffd60aff",
1032 "#ffca16ff",
1033 "#ffe7b3ff",
1034 ],
1035 dark_alpha: [
1036 "#e63c0006",
1037 "#fd9b000d",
1038 "#fa820022",
1039 "#fc820032",
1040 "#fd8b0041",
1041 "#fd9b0051",
1042 "#ffab2567",
1043 "#ffae3587",
1044 "#ffc53dff",
1045 "#ffd60aff",
1046 "#ffca16ff",
1047 "#ffe7b3ff",
1048 ],
1049 }
1050 .try_into()
1051 .unwrap()
1052}
1053
1054pub(crate) fn orange() -> ColorScaleSet {
1055 StaticColorScaleSet {
1056 scale: "Orange",
1057 light: [
1058 "#fefcfbff",
1059 "#fff7edff",
1060 "#ffefd6ff",
1061 "#ffdfb5ff",
1062 "#ffd19aff",
1063 "#ffc182ff",
1064 "#f5ae73ff",
1065 "#ec9455ff",
1066 "#f76b15ff",
1067 "#ef5f00ff",
1068 "#cc4e00ff",
1069 "#582d1dff",
1070 ],
1071 light_alpha: [
1072 "#c0400004",
1073 "#ff8e0012",
1074 "#ff9c0029",
1075 "#ff91014a",
1076 "#ff8b0065",
1077 "#ff81007d",
1078 "#ed6c008c",
1079 "#e35f00aa",
1080 "#f65e00ea",
1081 "#ef5f00ff",
1082 "#cc4e00ff",
1083 "#431200e2",
1084 ],
1085 dark: [
1086 "#17120eff",
1087 "#1e160fff",
1088 "#331e0bff",
1089 "#462100ff",
1090 "#562800ff",
1091 "#66350cff",
1092 "#7e451dff",
1093 "#a35829ff",
1094 "#f76b15ff",
1095 "#ff801fff",
1096 "#ffa057ff",
1097 "#ffe0c2ff",
1098 ],
1099 dark_alpha: [
1100 "#ec360007",
1101 "#fe6d000e",
1102 "#fb6a0025",
1103 "#ff590039",
1104 "#ff61004a",
1105 "#fd75045c",
1106 "#ff832c75",
1107 "#fe84389d",
1108 "#fe6d15f7",
1109 "#ff801fff",
1110 "#ffa057ff",
1111 "#ffe0c2ff",
1112 ],
1113 }
1114 .try_into()
1115 .unwrap()
1116}
1117
1118pub(crate) fn tomato() -> ColorScaleSet {
1119 StaticColorScaleSet {
1120 scale: "Tomato",
1121 light: [
1122 "#fffcfcff",
1123 "#fff8f7ff",
1124 "#feebe7ff",
1125 "#ffdcd3ff",
1126 "#ffcdc2ff",
1127 "#fdbdafff",
1128 "#f5a898ff",
1129 "#ec8e7bff",
1130 "#e54d2eff",
1131 "#dd4425ff",
1132 "#d13415ff",
1133 "#5c271fff",
1134 ],
1135 light_alpha: [
1136 "#ff000003",
1137 "#ff200008",
1138 "#f52b0018",
1139 "#ff35002c",
1140 "#ff2e003d",
1141 "#f92d0050",
1142 "#e7280067",
1143 "#db250084",
1144 "#df2600d1",
1145 "#d72400da",
1146 "#cd2200ea",
1147 "#460900e0",
1148 ],
1149 dark: [
1150 "#181111ff",
1151 "#1f1513ff",
1152 "#391714ff",
1153 "#4e1511ff",
1154 "#5e1c16ff",
1155 "#6e2920ff",
1156 "#853a2dff",
1157 "#ac4d39ff",
1158 "#e54d2eff",
1159 "#ec6142ff",
1160 "#ff977dff",
1161 "#fbd3cbff",
1162 ],
1163 dark_alpha: [
1164 "#f1121208",
1165 "#ff55330f",
1166 "#ff35232b",
1167 "#fd201142",
1168 "#fe332153",
1169 "#ff4f3864",
1170 "#fd644a7d",
1171 "#fe6d4ea7",
1172 "#fe5431e4",
1173 "#ff6847eb",
1174 "#ff977dff",
1175 "#ffd6cefb",
1176 ],
1177 }
1178 .try_into()
1179 .unwrap()
1180}
1181
1182pub(crate) fn red() -> ColorScaleSet {
1183 StaticColorScaleSet {
1184 scale: "Red",
1185 light: [
1186 "#fffcfcff",
1187 "#fff7f7ff",
1188 "#feebecff",
1189 "#ffdbdcff",
1190 "#ffcdceff",
1191 "#fdbdbeff",
1192 "#f4a9aaff",
1193 "#eb8e90ff",
1194 "#e5484dff",
1195 "#dc3e42ff",
1196 "#ce2c31ff",
1197 "#641723ff",
1198 ],
1199 light_alpha: [
1200 "#ff000003",
1201 "#ff000008",
1202 "#f3000d14",
1203 "#ff000824",
1204 "#ff000632",
1205 "#f8000442",
1206 "#df000356",
1207 "#d2000571",
1208 "#db0007b7",
1209 "#d10005c1",
1210 "#c40006d3",
1211 "#55000de8",
1212 ],
1213 dark: [
1214 "#191111ff",
1215 "#201314ff",
1216 "#3b1219ff",
1217 "#500f1cff",
1218 "#611623ff",
1219 "#72232dff",
1220 "#8c333aff",
1221 "#b54548ff",
1222 "#e5484dff",
1223 "#ec5d5eff",
1224 "#ff9592ff",
1225 "#ffd1d9ff",
1226 ],
1227 dark_alpha: [
1228 "#f4121209",
1229 "#f22f3e11",
1230 "#ff173f2d",
1231 "#fe0a3b44",
1232 "#ff204756",
1233 "#ff3e5668",
1234 "#ff536184",
1235 "#ff5d61b0",
1236 "#fe4e54e4",
1237 "#ff6465eb",
1238 "#ff9592ff",
1239 "#ffd1d9ff",
1240 ],
1241 }
1242 .try_into()
1243 .unwrap()
1244}
1245
1246pub(crate) fn ruby() -> ColorScaleSet {
1247 StaticColorScaleSet {
1248 scale: "Ruby",
1249 light: [
1250 "#fffcfdff",
1251 "#fff7f8ff",
1252 "#feeaedff",
1253 "#ffdce1ff",
1254 "#ffced6ff",
1255 "#f8bfc8ff",
1256 "#efacb8ff",
1257 "#e592a3ff",
1258 "#e54666ff",
1259 "#dc3b5dff",
1260 "#ca244dff",
1261 "#64172bff",
1262 ],
1263 light_alpha: [
1264 "#ff005503",
1265 "#ff002008",
1266 "#f3002515",
1267 "#ff002523",
1268 "#ff002a31",
1269 "#e4002440",
1270 "#ce002553",
1271 "#c300286d",
1272 "#db002cb9",
1273 "#d2002cc4",
1274 "#c10030db",
1275 "#550016e8",
1276 ],
1277 dark: [
1278 "#191113ff",
1279 "#1e1517ff",
1280 "#3a141eff",
1281 "#4e1325ff",
1282 "#5e1a2eff",
1283 "#6f2539ff",
1284 "#883447ff",
1285 "#b3445aff",
1286 "#e54666ff",
1287 "#ec5a72ff",
1288 "#ff949dff",
1289 "#fed2e1ff",
1290 ],
1291 dark_alpha: [
1292 "#f4124a09",
1293 "#fe5a7f0e",
1294 "#ff235d2c",
1295 "#fd195e42",
1296 "#fe2d6b53",
1297 "#ff447665",
1298 "#ff577d80",
1299 "#ff5c7cae",
1300 "#fe4c70e4",
1301 "#ff617beb",
1302 "#ff949dff",
1303 "#ffd3e2fe",
1304 ],
1305 }
1306 .try_into()
1307 .unwrap()
1308}
1309
1310pub(crate) fn crimson() -> ColorScaleSet {
1311 StaticColorScaleSet {
1312 scale: "Crimson",
1313 light: [
1314 "#fffcfdff",
1315 "#fef7f9ff",
1316 "#ffe9f0ff",
1317 "#fedce7ff",
1318 "#faceddff",
1319 "#f3bed1ff",
1320 "#eaacc3ff",
1321 "#e093b2ff",
1322 "#e93d82ff",
1323 "#df3478ff",
1324 "#cb1d63ff",
1325 "#621639ff",
1326 ],
1327 light_alpha: [
1328 "#ff005503",
1329 "#e0004008",
1330 "#ff005216",
1331 "#f8005123",
1332 "#e5004f31",
1333 "#d0004b41",
1334 "#bf004753",
1335 "#b6004a6c",
1336 "#e2005bc2",
1337 "#d70056cb",
1338 "#c4004fe2",
1339 "#530026e9",
1340 ],
1341 dark: [
1342 "#191114ff",
1343 "#201318ff",
1344 "#381525ff",
1345 "#4d122fff",
1346 "#5c1839ff",
1347 "#6d2545ff",
1348 "#873356ff",
1349 "#b0436eff",
1350 "#e93d82ff",
1351 "#ee518aff",
1352 "#ff92adff",
1353 "#fdd3e8ff",
1354 ],
1355 dark_alpha: [
1356 "#f4126709",
1357 "#f22f7a11",
1358 "#fe2a8b2a",
1359 "#fd158741",
1360 "#fd278f51",
1361 "#fe459763",
1362 "#fd559b7f",
1363 "#fe5b9bab",
1364 "#fe418de8",
1365 "#ff5693ed",
1366 "#ff92adff",
1367 "#ffd5eafd",
1368 ],
1369 }
1370 .try_into()
1371 .unwrap()
1372}
1373
1374pub(crate) fn pink() -> ColorScaleSet {
1375 StaticColorScaleSet {
1376 scale: "Pink",
1377 light: [
1378 "#fffcfeff",
1379 "#fef7fbff",
1380 "#fee9f5ff",
1381 "#fbdcefff",
1382 "#f6cee7ff",
1383 "#efbfddff",
1384 "#e7acd0ff",
1385 "#dd93c2ff",
1386 "#d6409fff",
1387 "#cf3897ff",
1388 "#c2298aff",
1389 "#651249ff",
1390 ],
1391 light_alpha: [
1392 "#ff00aa03",
1393 "#e0008008",
1394 "#f4008c16",
1395 "#e2008b23",
1396 "#d1008331",
1397 "#c0007840",
1398 "#b6006f53",
1399 "#af006f6c",
1400 "#c8007fbf",
1401 "#c2007ac7",
1402 "#b60074d6",
1403 "#59003bed",
1404 ],
1405 dark: [
1406 "#191117ff",
1407 "#21121dff",
1408 "#37172fff",
1409 "#4b143dff",
1410 "#591c47ff",
1411 "#692955ff",
1412 "#833869ff",
1413 "#a84885ff",
1414 "#d6409fff",
1415 "#de51a8ff",
1416 "#ff8dccff",
1417 "#fdd1eaff",
1418 ],
1419 dark_alpha: [
1420 "#f412bc09",
1421 "#f420bb12",
1422 "#fe37cc29",
1423 "#fc1ec43f",
1424 "#fd35c24e",
1425 "#fd51c75f",
1426 "#fd62c87b",
1427 "#ff68c8a2",
1428 "#fe49bcd4",
1429 "#ff5cc0dc",
1430 "#ff8dccff",
1431 "#ffd3ecfd",
1432 ],
1433 }
1434 .try_into()
1435 .unwrap()
1436}
1437
1438pub(crate) fn plum() -> ColorScaleSet {
1439 StaticColorScaleSet {
1440 scale: "Plum",
1441 light: [
1442 "#fefcffff",
1443 "#fdf7fdff",
1444 "#fbebfbff",
1445 "#f7def8ff",
1446 "#f2d1f3ff",
1447 "#e9c2ecff",
1448 "#deade3ff",
1449 "#cf91d8ff",
1450 "#ab4abaff",
1451 "#a144afff",
1452 "#953ea3ff",
1453 "#53195dff",
1454 ],
1455 light_alpha: [
1456 "#aa00ff03",
1457 "#c000c008",
1458 "#cc00cc14",
1459 "#c200c921",
1460 "#b700bd2e",
1461 "#a400b03d",
1462 "#9900a852",
1463 "#9000a56e",
1464 "#89009eb5",
1465 "#7f0092bb",
1466 "#730086c1",
1467 "#40004be6",
1468 ],
1469 dark: [
1470 "#181118ff",
1471 "#201320ff",
1472 "#351a35ff",
1473 "#451d47ff",
1474 "#512454ff",
1475 "#5e3061ff",
1476 "#734079ff",
1477 "#92549cff",
1478 "#ab4abaff",
1479 "#b658c4ff",
1480 "#e796f3ff",
1481 "#f4d4f4ff",
1482 ],
1483 dark_alpha: [
1484 "#f112f108",
1485 "#f22ff211",
1486 "#fd4cfd27",
1487 "#f646ff3a",
1488 "#f455ff48",
1489 "#f66dff56",
1490 "#f07cfd70",
1491 "#ee84ff95",
1492 "#e961feb6",
1493 "#ed70ffc0",
1494 "#f19cfef3",
1495 "#feddfef4",
1496 ],
1497 }
1498 .try_into()
1499 .unwrap()
1500}
1501
1502pub(crate) fn purple() -> ColorScaleSet {
1503 StaticColorScaleSet {
1504 scale: "Purple",
1505 light: [
1506 "#fefcfeff",
1507 "#fbf7feff",
1508 "#f7edfeff",
1509 "#f2e2fcff",
1510 "#ead5f9ff",
1511 "#e0c4f4ff",
1512 "#d1afecff",
1513 "#be93e4ff",
1514 "#8e4ec6ff",
1515 "#8347b9ff",
1516 "#8145b5ff",
1517 "#402060ff",
1518 ],
1519 light_alpha: [
1520 "#aa00aa03",
1521 "#8000e008",
1522 "#8e00f112",
1523 "#8d00e51d",
1524 "#8000db2a",
1525 "#7a01d03b",
1526 "#6d00c350",
1527 "#6600c06c",
1528 "#5c00adb1",
1529 "#53009eb8",
1530 "#52009aba",
1531 "#250049df",
1532 ],
1533 dark: [
1534 "#18111bff",
1535 "#1e1523ff",
1536 "#301c3bff",
1537 "#3d224eff",
1538 "#48295cff",
1539 "#54346bff",
1540 "#664282ff",
1541 "#8457aaff",
1542 "#8e4ec6ff",
1543 "#9a5cd0ff",
1544 "#d19dffff",
1545 "#ecd9faff",
1546 ],
1547 dark_alpha: [
1548 "#b412f90b",
1549 "#b744f714",
1550 "#c150ff2d",
1551 "#bb53fd42",
1552 "#be5cfd51",
1553 "#c16dfd61",
1554 "#c378fd7a",
1555 "#c47effa4",
1556 "#b661ffc2",
1557 "#bc6fffcd",
1558 "#d19dffff",
1559 "#f1ddfffa",
1560 ],
1561 }
1562 .try_into()
1563 .unwrap()
1564}
1565
1566pub(crate) fn violet() -> ColorScaleSet {
1567 StaticColorScaleSet {
1568 scale: "Violet",
1569 light: [
1570 "#fdfcfeff",
1571 "#faf8ffff",
1572 "#f4f0feff",
1573 "#ebe4ffff",
1574 "#e1d9ffff",
1575 "#d4cafeff",
1576 "#c2b5f5ff",
1577 "#aa99ecff",
1578 "#6e56cfff",
1579 "#654dc4ff",
1580 "#6550b9ff",
1581 "#2f265fff",
1582 ],
1583 light_alpha: [
1584 "#5500aa03",
1585 "#4900ff07",
1586 "#4400ee0f",
1587 "#4300ff1b",
1588 "#3600ff26",
1589 "#3100fb35",
1590 "#2d01dd4a",
1591 "#2b00d066",
1592 "#2400b7a9",
1593 "#2300abb2",
1594 "#1f0099af",
1595 "#0b0043d9",
1596 ],
1597 dark: [
1598 "#14121fff",
1599 "#1b1525ff",
1600 "#291f43ff",
1601 "#33255bff",
1602 "#3c2e69ff",
1603 "#473876ff",
1604 "#56468bff",
1605 "#6958adff",
1606 "#6e56cfff",
1607 "#7d66d9ff",
1608 "#baa7ffff",
1609 "#e2ddfeff",
1610 ],
1611 dark_alpha: [
1612 "#4422ff0f",
1613 "#853ff916",
1614 "#8354fe36",
1615 "#7d51fd50",
1616 "#845ffd5f",
1617 "#8f6cfd6d",
1618 "#9879ff83",
1619 "#977dfea8",
1620 "#8668ffcc",
1621 "#9176fed7",
1622 "#baa7ffff",
1623 "#e3defffe",
1624 ],
1625 }
1626 .try_into()
1627 .unwrap()
1628}
1629
1630pub(crate) fn iris() -> ColorScaleSet {
1631 StaticColorScaleSet {
1632 scale: "Iris",
1633 light: [
1634 "#fdfdffff",
1635 "#f8f8ffff",
1636 "#f0f1feff",
1637 "#e6e7ffff",
1638 "#dadcffff",
1639 "#cbcdffff",
1640 "#b8baf8ff",
1641 "#9b9ef0ff",
1642 "#5b5bd6ff",
1643 "#5151cdff",
1644 "#5753c6ff",
1645 "#272962ff",
1646 ],
1647 light_alpha: [
1648 "#0000ff02",
1649 "#0000ff07",
1650 "#0011ee0f",
1651 "#000bff19",
1652 "#000eff25",
1653 "#000aff34",
1654 "#0008e647",
1655 "#0008d964",
1656 "#0000c0a4",
1657 "#0000b6ae",
1658 "#0600abac",
1659 "#000246d8",
1660 ],
1661 dark: [
1662 "#13131eff",
1663 "#171625ff",
1664 "#202248ff",
1665 "#262a65ff",
1666 "#303374ff",
1667 "#3d3e82ff",
1668 "#4a4a95ff",
1669 "#5958b1ff",
1670 "#5b5bd6ff",
1671 "#6e6adeff",
1672 "#b1a9ffff",
1673 "#e0dffeff",
1674 ],
1675 dark_alpha: [
1676 "#3636fe0e",
1677 "#564bf916",
1678 "#525bff3b",
1679 "#4d58ff5a",
1680 "#5b62fd6b",
1681 "#6d6ffd7a",
1682 "#7777fe8e",
1683 "#7b7afeac",
1684 "#6a6afed4",
1685 "#7d79ffdc",
1686 "#b1a9ffff",
1687 "#e1e0fffe",
1688 ],
1689 }
1690 .try_into()
1691 .unwrap()
1692}
1693
1694pub(crate) fn indigo() -> ColorScaleSet {
1695 StaticColorScaleSet {
1696 scale: "Indigo",
1697 light: [
1698 "#fdfdfeff",
1699 "#f7f9ffff",
1700 "#edf2feff",
1701 "#e1e9ffff",
1702 "#d2deffff",
1703 "#c1d0ffff",
1704 "#abbdf9ff",
1705 "#8da4efff",
1706 "#3e63ddff",
1707 "#3358d4ff",
1708 "#3a5bc7ff",
1709 "#1f2d5cff",
1710 ],
1711 light_alpha: [
1712 "#00008002",
1713 "#0040ff08",
1714 "#0047f112",
1715 "#0044ff1e",
1716 "#0044ff2d",
1717 "#003eff3e",
1718 "#0037ed54",
1719 "#0034dc72",
1720 "#0031d2c1",
1721 "#002ec9cc",
1722 "#002bb7c5",
1723 "#001046e0",
1724 ],
1725 dark: [
1726 "#11131fff",
1727 "#141726ff",
1728 "#182449ff",
1729 "#1d2e62ff",
1730 "#253974ff",
1731 "#304384ff",
1732 "#3a4f97ff",
1733 "#435db1ff",
1734 "#3e63ddff",
1735 "#5472e4ff",
1736 "#9eb1ffff",
1737 "#d6e1ffff",
1738 ],
1739 dark_alpha: [
1740 "#1133ff0f",
1741 "#3354fa17",
1742 "#2f62ff3c",
1743 "#3566ff57",
1744 "#4171fd6b",
1745 "#5178fd7c",
1746 "#5a7fff90",
1747 "#5b81feac",
1748 "#4671ffdb",
1749 "#5c7efee3",
1750 "#9eb1ffff",
1751 "#d6e1ffff",
1752 ],
1753 }
1754 .try_into()
1755 .unwrap()
1756}
1757
1758pub(crate) fn blue() -> ColorScaleSet {
1759 StaticColorScaleSet {
1760 scale: "Blue",
1761 light: [
1762 "#fbfdffff",
1763 "#f4faffff",
1764 "#e6f4feff",
1765 "#d5efffff",
1766 "#c2e5ffff",
1767 "#acd8fcff",
1768 "#8ec8f6ff",
1769 "#5eb1efff",
1770 "#0090ffff",
1771 "#0588f0ff",
1772 "#0d74ceff",
1773 "#113264ff",
1774 ],
1775 light_alpha: [
1776 "#0080ff04",
1777 "#008cff0b",
1778 "#008ff519",
1779 "#009eff2a",
1780 "#0093ff3d",
1781 "#0088f653",
1782 "#0083eb71",
1783 "#0084e6a1",
1784 "#0090ffff",
1785 "#0086f0fa",
1786 "#006dcbf2",
1787 "#002359ee",
1788 ],
1789 dark: [
1790 "#0d1520ff",
1791 "#111927ff",
1792 "#0d2847ff",
1793 "#003362ff",
1794 "#004074ff",
1795 "#104d87ff",
1796 "#205d9eff",
1797 "#2870bdff",
1798 "#0090ffff",
1799 "#3b9effff",
1800 "#70b8ffff",
1801 "#c2e6ffff",
1802 ],
1803 dark_alpha: [
1804 "#004df211",
1805 "#1166fb18",
1806 "#0077ff3a",
1807 "#0075ff57",
1808 "#0081fd6b",
1809 "#0f89fd7f",
1810 "#2a91fe98",
1811 "#3094feb9",
1812 "#0090ffff",
1813 "#3b9effff",
1814 "#70b8ffff",
1815 "#c2e6ffff",
1816 ],
1817 }
1818 .try_into()
1819 .unwrap()
1820}
1821
1822pub(crate) fn cyan() -> ColorScaleSet {
1823 StaticColorScaleSet {
1824 scale: "Cyan",
1825 light: [
1826 "#fafdfeff",
1827 "#f2fafbff",
1828 "#def7f9ff",
1829 "#caf1f6ff",
1830 "#b5e9f0ff",
1831 "#9ddde7ff",
1832 "#7dcedcff",
1833 "#3db9cfff",
1834 "#00a2c7ff",
1835 "#0797b9ff",
1836 "#107d98ff",
1837 "#0d3c48ff",
1838 ],
1839 light_alpha: [
1840 "#0099cc05",
1841 "#009db10d",
1842 "#00c2d121",
1843 "#00bcd435",
1844 "#01b4cc4a",
1845 "#00a7c162",
1846 "#009fbb82",
1847 "#00a3c0c2",
1848 "#00a2c7ff",
1849 "#0094b7f8",
1850 "#007491ef",
1851 "#00323ef2",
1852 ],
1853 dark: [
1854 "#0b161aff",
1855 "#101b20ff",
1856 "#082c36ff",
1857 "#003848ff",
1858 "#004558ff",
1859 "#045468ff",
1860 "#12677eff",
1861 "#11809cff",
1862 "#00a2c7ff",
1863 "#23afd0ff",
1864 "#4ccce6ff",
1865 "#b6ecf7ff",
1866 ],
1867 dark_alpha: [
1868 "#0091f70a",
1869 "#02a7f211",
1870 "#00befd28",
1871 "#00baff3b",
1872 "#00befd4d",
1873 "#00c7fd5e",
1874 "#14cdff75",
1875 "#11cfff95",
1876 "#00cfffc3",
1877 "#28d6ffcd",
1878 "#52e1fee5",
1879 "#bbf3fef7",
1880 ],
1881 }
1882 .try_into()
1883 .unwrap()
1884}
1885
1886pub(crate) fn teal() -> ColorScaleSet {
1887 StaticColorScaleSet {
1888 scale: "Teal",
1889 light: [
1890 "#fafefdff",
1891 "#f3fbf9ff",
1892 "#e0f8f3ff",
1893 "#ccf3eaff",
1894 "#b8eae0ff",
1895 "#a1ded2ff",
1896 "#83cdc1ff",
1897 "#53b9abff",
1898 "#12a594ff",
1899 "#0d9b8aff",
1900 "#008573ff",
1901 "#0d3d38ff",
1902 ],
1903 light_alpha: [
1904 "#00cc9905",
1905 "#00aa800c",
1906 "#00c69d1f",
1907 "#00c39633",
1908 "#00b49047",
1909 "#00a6855e",
1910 "#0099807c",
1911 "#009783ac",
1912 "#009e8ced",
1913 "#009684f2",
1914 "#008573ff",
1915 "#00332df2",
1916 ],
1917 dark: [
1918 "#0d1514ff",
1919 "#111c1bff",
1920 "#0d2d2aff",
1921 "#023b37ff",
1922 "#084843ff",
1923 "#145750ff",
1924 "#1c6961ff",
1925 "#207e73ff",
1926 "#12a594ff",
1927 "#0eb39eff",
1928 "#0bd8b6ff",
1929 "#adf0ddff",
1930 ],
1931 dark_alpha: [
1932 "#00deab05",
1933 "#12fbe60c",
1934 "#00ffe61e",
1935 "#00ffe92d",
1936 "#00ffea3b",
1937 "#1cffe84b",
1938 "#2efde85f",
1939 "#32ffe775",
1940 "#13ffe49f",
1941 "#0dffe0ae",
1942 "#0afed5d6",
1943 "#b8ffebef",
1944 ],
1945 }
1946 .try_into()
1947 .unwrap()
1948}
1949
1950pub(crate) fn jade() -> ColorScaleSet {
1951 StaticColorScaleSet {
1952 scale: "Jade",
1953 light: [
1954 "#fbfefdff",
1955 "#f4fbf7ff",
1956 "#e6f7edff",
1957 "#d6f1e3ff",
1958 "#c3e9d7ff",
1959 "#acdec8ff",
1960 "#8bceb6ff",
1961 "#56ba9fff",
1962 "#29a383ff",
1963 "#26997bff",
1964 "#208368ff",
1965 "#1d3b31ff",
1966 ],
1967 light_alpha: [
1968 "#00c08004",
1969 "#00a3460b",
1970 "#00ae4819",
1971 "#00a85129",
1972 "#00a2553c",
1973 "#009a5753",
1974 "#00945f74",
1975 "#00976ea9",
1976 "#00916bd6",
1977 "#008764d9",
1978 "#007152df",
1979 "#002217e2",
1980 ],
1981 dark: [
1982 "#0d1512ff",
1983 "#121c18ff",
1984 "#0f2e22ff",
1985 "#0b3b2cff",
1986 "#114837ff",
1987 "#1b5745ff",
1988 "#246854ff",
1989 "#2a7e68ff",
1990 "#29a383ff",
1991 "#27b08bff",
1992 "#1fd8a4ff",
1993 "#adf0d4ff",
1994 ],
1995 dark_alpha: [
1996 "#00de4505",
1997 "#27fba60c",
1998 "#02f99920",
1999 "#00ffaa2d",
2000 "#11ffb63b",
2001 "#34ffc24b",
2002 "#45fdc75e",
2003 "#48ffcf75",
2004 "#38feca9d",
2005 "#31fec7ab",
2006 "#21fec0d6",
2007 "#b8ffe1ef",
2008 ],
2009 }
2010 .try_into()
2011 .unwrap()
2012}
2013
2014pub(crate) fn green() -> ColorScaleSet {
2015 StaticColorScaleSet {
2016 scale: "Green",
2017 light: [
2018 "#fbfefcff",
2019 "#f4fbf6ff",
2020 "#e6f6ebff",
2021 "#d6f1dfff",
2022 "#c4e8d1ff",
2023 "#adddc0ff",
2024 "#8eceaaff",
2025 "#5bb98bff",
2026 "#30a46cff",
2027 "#2b9a66ff",
2028 "#218358ff",
2029 "#193b2dff",
2030 ],
2031 light_alpha: [
2032 "#00c04004",
2033 "#00a32f0b",
2034 "#00a43319",
2035 "#00a83829",
2036 "#019c393b",
2037 "#00963c52",
2038 "#00914071",
2039 "#00924ba4",
2040 "#008f4acf",
2041 "#008647d4",
2042 "#00713fde",
2043 "#002616e6",
2044 ],
2045 dark: [
2046 "#0e1512ff",
2047 "#121b17ff",
2048 "#132d21ff",
2049 "#113b29ff",
2050 "#174933ff",
2051 "#20573eff",
2052 "#28684aff",
2053 "#2f7c57ff",
2054 "#30a46cff",
2055 "#33b074ff",
2056 "#3dd68cff",
2057 "#b1f1cbff",
2058 ],
2059 dark_alpha: [
2060 "#00de4505",
2061 "#29f99d0b",
2062 "#22ff991e",
2063 "#11ff992d",
2064 "#2bffa23c",
2065 "#44ffaa4b",
2066 "#50fdac5e",
2067 "#54ffad73",
2068 "#44ffa49e",
2069 "#43fea4ab",
2070 "#46fea5d4",
2071 "#bbffd7f0",
2072 ],
2073 }
2074 .try_into()
2075 .unwrap()
2076}
2077
2078pub(crate) fn grass() -> ColorScaleSet {
2079 StaticColorScaleSet {
2080 scale: "Grass",
2081 light: [
2082 "#fbfefbff",
2083 "#f5fbf5ff",
2084 "#e9f6e9ff",
2085 "#daf1dbff",
2086 "#c9e8caff",
2087 "#b2ddb5ff",
2088 "#94ce9aff",
2089 "#65ba74ff",
2090 "#46a758ff",
2091 "#3e9b4fff",
2092 "#2a7e3bff",
2093 "#203c25ff",
2094 ],
2095 light_alpha: [
2096 "#00c00004",
2097 "#0099000a",
2098 "#00970016",
2099 "#009f0725",
2100 "#00930536",
2101 "#008f0a4d",
2102 "#018b0f6b",
2103 "#008d199a",
2104 "#008619b9",
2105 "#007b17c1",
2106 "#006514d5",
2107 "#002006df",
2108 ],
2109 dark: [
2110 "#0e1511ff",
2111 "#141a15ff",
2112 "#1b2a1eff",
2113 "#1d3a24ff",
2114 "#25482dff",
2115 "#2d5736ff",
2116 "#366740ff",
2117 "#3e7949ff",
2118 "#46a758ff",
2119 "#53b365ff",
2120 "#71d083ff",
2121 "#c2f0c2ff",
2122 ],
2123 dark_alpha: [
2124 "#00de1205",
2125 "#5ef7780a",
2126 "#70fe8c1b",
2127 "#57ff802c",
2128 "#68ff8b3b",
2129 "#71ff8f4b",
2130 "#77fd925d",
2131 "#77fd9070",
2132 "#65ff82a1",
2133 "#72ff8dae",
2134 "#89ff9fcd",
2135 "#ceffceef",
2136 ],
2137 }
2138 .try_into()
2139 .unwrap()
2140}
2141
2142pub(crate) fn lime() -> ColorScaleSet {
2143 StaticColorScaleSet {
2144 scale: "Lime",
2145 light: [
2146 "#fcfdfaff",
2147 "#f8faf3ff",
2148 "#eef6d6ff",
2149 "#e2f0bdff",
2150 "#d3e7a6ff",
2151 "#c2da91ff",
2152 "#abc978ff",
2153 "#8db654ff",
2154 "#bdee63ff",
2155 "#b0e64cff",
2156 "#5c7c2fff",
2157 "#37401cff",
2158 ],
2159 light_alpha: [
2160 "#66990005",
2161 "#6b95000c",
2162 "#96c80029",
2163 "#8fc60042",
2164 "#81bb0059",
2165 "#72aa006e",
2166 "#61990087",
2167 "#559200ab",
2168 "#93e4009c",
2169 "#8fdc00b3",
2170 "#375f00d0",
2171 "#1e2900e3",
2172 ],
2173 dark: [
2174 "#11130cff",
2175 "#151a10ff",
2176 "#1f2917ff",
2177 "#29371dff",
2178 "#334423ff",
2179 "#3d522aff",
2180 "#496231ff",
2181 "#577538ff",
2182 "#bdee63ff",
2183 "#d4ff70ff",
2184 "#bde56cff",
2185 "#e3f7baff",
2186 ],
2187 dark_alpha: [
2188 "#11bb0003",
2189 "#78f7000a",
2190 "#9bfd4c1a",
2191 "#a7fe5c29",
2192 "#affe6537",
2193 "#b2fe6d46",
2194 "#b6ff6f57",
2195 "#b6fd6d6c",
2196 "#caff69ed",
2197 "#d4ff70ff",
2198 "#d1fe77e4",
2199 "#e9febff7",
2200 ],
2201 }
2202 .try_into()
2203 .unwrap()
2204}
2205
2206pub(crate) fn mint() -> ColorScaleSet {
2207 StaticColorScaleSet {
2208 scale: "Mint",
2209 light: [
2210 "#f9fefdff",
2211 "#f2fbf9ff",
2212 "#ddf9f2ff",
2213 "#c8f4e9ff",
2214 "#b3ecdeff",
2215 "#9ce0d0ff",
2216 "#7ecfbdff",
2217 "#4cbba5ff",
2218 "#86ead4ff",
2219 "#7de0cbff",
2220 "#027864ff",
2221 "#16433cff",
2222 ],
2223 light_alpha: [
2224 "#00d5aa06",
2225 "#00b18a0d",
2226 "#00d29e22",
2227 "#00cc9937",
2228 "#00c0914c",
2229 "#00b08663",
2230 "#00a17d81",
2231 "#009e7fb3",
2232 "#00d3a579",
2233 "#00c39982",
2234 "#007763fd",
2235 "#00312ae9",
2236 ],
2237 dark: [
2238 "#0e1515ff",
2239 "#0f1b1bff",
2240 "#092c2bff",
2241 "#003a38ff",
2242 "#004744ff",
2243 "#105650ff",
2244 "#1e685fff",
2245 "#277f70ff",
2246 "#86ead4ff",
2247 "#a8f5e5ff",
2248 "#58d5baff",
2249 "#c4f5e1ff",
2250 ],
2251 dark_alpha: [
2252 "#00dede05",
2253 "#00f9f90b",
2254 "#00fff61d",
2255 "#00fff42c",
2256 "#00fff23a",
2257 "#0effeb4a",
2258 "#34fde55e",
2259 "#41ffdf76",
2260 "#92ffe7e9",
2261 "#aefeedf5",
2262 "#67ffded2",
2263 "#cbfee9f5",
2264 ],
2265 }
2266 .try_into()
2267 .unwrap()
2268}
2269
2270pub(crate) fn sky() -> ColorScaleSet {
2271 StaticColorScaleSet {
2272 scale: "Sky",
2273 light: [
2274 "#f9feffff",
2275 "#f1fafdff",
2276 "#e1f6fdff",
2277 "#d1f0faff",
2278 "#bee7f5ff",
2279 "#a9daedff",
2280 "#8dcae3ff",
2281 "#60b3d7ff",
2282 "#7ce2feff",
2283 "#74daf8ff",
2284 "#00749eff",
2285 "#1d3e56ff",
2286 ],
2287 light_alpha: [
2288 "#00d5ff06",
2289 "#00a4db0e",
2290 "#00b3ee1e",
2291 "#00ace42e",
2292 "#00a1d841",
2293 "#0092ca56",
2294 "#0089c172",
2295 "#0085bf9f",
2296 "#00c7fe83",
2297 "#00bcf38b",
2298 "#00749eff",
2299 "#002540e2",
2300 ],
2301 dark: [
2302 "#0d141fff",
2303 "#111a27ff",
2304 "#112840ff",
2305 "#113555ff",
2306 "#154467ff",
2307 "#1b537bff",
2308 "#1f6692ff",
2309 "#197caeff",
2310 "#7ce2feff",
2311 "#a8eeffff",
2312 "#75c7f0ff",
2313 "#c2f3ffff",
2314 ],
2315 dark_alpha: [
2316 "#0044ff0f",
2317 "#1171fb18",
2318 "#1184fc33",
2319 "#128fff49",
2320 "#1c9dfd5d",
2321 "#28a5ff72",
2322 "#2badfe8b",
2323 "#1db2fea9",
2324 "#7ce3fffe",
2325 "#a8eeffff",
2326 "#7cd3ffef",
2327 "#c2f3ffff",
2328 ],
2329 }
2330 .try_into()
2331 .unwrap()
2332}
2333
2334pub(crate) fn black() -> ColorScaleSet {
2335 StaticColorScaleSet {
2336 scale: "Black",
2337 light: [
2338 "#0000000d",
2339 "#0000001a",
2340 "#00000026",
2341 "#00000033",
2342 "#0000004d",
2343 "#00000066",
2344 "#00000080",
2345 "#00000099",
2346 "#000000b3",
2347 "#000000cc",
2348 "#000000e6",
2349 "#000000f2",
2350 ],
2351 light_alpha: [
2352 "#0000000d",
2353 "#0000001a",
2354 "#00000026",
2355 "#00000033",
2356 "#0000004d",
2357 "#00000066",
2358 "#00000080",
2359 "#00000099",
2360 "#000000b3",
2361 "#000000cc",
2362 "#000000e6",
2363 "#000000f2",
2364 ],
2365 dark: [
2366 "#0000000d",
2367 "#0000001a",
2368 "#00000026",
2369 "#00000033",
2370 "#0000004d",
2371 "#00000066",
2372 "#00000080",
2373 "#00000099",
2374 "#000000b3",
2375 "#000000cc",
2376 "#000000e6",
2377 "#000000f2",
2378 ],
2379 dark_alpha: [
2380 "#0000000d",
2381 "#0000001a",
2382 "#00000026",
2383 "#00000033",
2384 "#0000004d",
2385 "#00000066",
2386 "#00000080",
2387 "#00000099",
2388 "#000000b3",
2389 "#000000cc",
2390 "#000000e6",
2391 "#000000f2",
2392 ],
2393 }
2394 .try_into()
2395 .unwrap()
2396}
2397
2398pub(crate) fn white() -> ColorScaleSet {
2399 StaticColorScaleSet {
2400 scale: "White",
2401 light: [
2402 "#ffffff0d",
2403 "#ffffff1a",
2404 "#ffffff26",
2405 "#ffffff33",
2406 "#ffffff4d",
2407 "#ffffff66",
2408 "#ffffff80",
2409 "#ffffff99",
2410 "#ffffffb3",
2411 "#ffffffcc",
2412 "#ffffffe6",
2413 "#fffffff2",
2414 ],
2415 light_alpha: [
2416 "#ffffff0d",
2417 "#ffffff1a",
2418 "#ffffff26",
2419 "#ffffff33",
2420 "#ffffff4d",
2421 "#ffffff66",
2422 "#ffffff80",
2423 "#ffffff99",
2424 "#ffffffb3",
2425 "#ffffffcc",
2426 "#ffffffe6",
2427 "#fffffff2",
2428 ],
2429 dark: [
2430 "#ffffff0d",
2431 "#ffffff1a",
2432 "#ffffff26",
2433 "#ffffff33",
2434 "#ffffff4d",
2435 "#ffffff66",
2436 "#ffffff80",
2437 "#ffffff99",
2438 "#ffffffb3",
2439 "#ffffffcc",
2440 "#ffffffe6",
2441 "#fffffff2",
2442 ],
2443 dark_alpha: [
2444 "#ffffff0d",
2445 "#ffffff1a",
2446 "#ffffff26",
2447 "#ffffff33",
2448 "#ffffff4d",
2449 "#ffffff66",
2450 "#ffffff80",
2451 "#ffffff99",
2452 "#ffffffb3",
2453 "#ffffffcc",
2454 "#ffffffe6",
2455 "#fffffff2",
2456 ],
2457 }
2458 .try_into()
2459 .unwrap()
2460}