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