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