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