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