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