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