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