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