default_colors.rs

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