default_colors.rs

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