Skip to content

Commit

Permalink
add: blue palette for Christy
Browse files Browse the repository at this point in the history
  • Loading branch information
Velfi committed Feb 28, 2020
1 parent 0b3728d commit 75bdecc
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/palette.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,21 @@ pub const FANTASY: &[&str] = &[
"45230d", "3c9f9c", "9b1a0a", "36170c", "550f0a", "300f0a",
];

pub const BLUE_RED: &[&str] = &["FF000022", "0000FF22",];
pub const BLUE_RED: &[&str] = &["FF000022", "0000FF22"];

pub const FLESH: &[&str] = &["E8B89911", "FFC3A0", "78011622", "93482322", "FF8F6D"];

pub const CHRISTY_BLUE: &[&str] = &[
"1e74d7", "31acf0", "366792", "557ac8", "7293d8", "95c9f0", "98f0fe",
];

pub enum Palette {
Arne,
BlueRed,
CM1,
CM2,
CM3,
ChristyBlue,
Endesga64,
Fantasy,
Flesh,
Expand Down Expand Up @@ -123,7 +128,8 @@ impl Palette {
Self::Viridis => Self::Zughy32,
Self::Zughy32 => Self::BlueRed,
Self::BlueRed => Self::Flesh,
Self::Flesh => Self::Arne,
Self::Flesh => Self::ChristyBlue,
Self::ChristyBlue => Self::Arne,
}
}

Expand All @@ -134,6 +140,7 @@ impl Palette {
Self::CM1 => CM1,
Self::CM2 => CM2,
Self::CM3 => CM3,
Self::ChristyBlue => CHRISTY_BLUE,
Self::Endesga64 => ENDESGA_64,
Self::Fantasy => FANTASY,
Self::Flesh => FLESH,
Expand All @@ -159,6 +166,7 @@ impl Display for Palette {
Self::CM1 => "CM1",
Self::CM2 => "CM2",
Self::CM3 => "CM3",
Self::ChristyBlue => "Christy Blue",
Self::Endesga64 => "Endesga 64",
Self::Fantasy => "Fantasy",
Self::Flesh => "Flesh",
Expand Down

0 comments on commit 75bdecc

Please sign in to comment.