default_colors.rs

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