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