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