[+] Add Kessoku Band flag for meme (#384)

* [+] Add Kessoku Band flag for meme

* [F] Fix key

---------

Co-authored-by: Azalea <22280294+hykilpikonna@users.noreply.github.com>
This commit is contained in:
Ameyama Izumi 2025-01-19 05:55:17 +08:00 committed by GitHub
parent f38b754783
commit 5ec7b4f01a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 45 additions and 30 deletions

View file

@ -214,6 +214,9 @@ pub enum Preset {
#[strum(serialize = "throatlozenges")] #[strum(serialize = "throatlozenges")]
ThroatLozenges, ThroatLozenges,
/// Meme flag
Band,
/// Colors from Gilbert Baker's original 1978 flag design /// Colors from Gilbert Baker's original 1978 flag design
Baker, Baker,
} }
@ -627,6 +630,11 @@ impl Preset {
"#2759DA", "#03940D", "#F5F100", "#F59B00", "#B71212", "#2759DA", "#03940D", "#F5F100", "#F59B00", "#B71212",
]), ]),
Self::Band => ColorProfile::from_hex_colors(vec![
"#2670C0", "#F5BD00", "#DC0045", "#E0608E"
]),
// used https://gilbertbaker.com/rainbow-flag-color-meanings/ as source and colorpicked // used https://gilbertbaker.com/rainbow-flag-color-meanings/ as source and colorpicked
Self::Baker => ColorProfile::from_hex_colors(vec![ Self::Baker => ColorProfile::from_hex_colors(vec![
"#F23D9E", "#F80A24", "#F78022", "#F9E81F", "#1E972E", "#1B86BC", "#243897", "#F23D9E", "#F80A24", "#F78022", "#F9E81F", "#1E972E", "#1B86BC", "#243897",

View file

@ -949,6 +949,13 @@ PRESETS: dict[str, ColorProfile] = {
"#B71212" "#B71212"
]), ]),
'band': ColorProfile([
"#2670c0",
"#f5bd00",
"#dc0045",
"#e0608e"
]),
# colors from Gilbert Baker's original 1978 flag design # colors from Gilbert Baker's original 1978 flag design
# used https://gilbertbaker.com/rainbow-flag-color-meanings/ as source and colorpicked # used https://gilbertbaker.com/rainbow-flag-color-meanings/ as source and colorpicked
'baker': ColorProfile([ 'baker': ColorProfile([