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