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