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