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