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