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