From 5ec7b4f01a1958a9c24c4a19eece0ca6189b9714 Mon Sep 17 00:00:00 2001 From: Ameyama Izumi <88724486+Souiken@users.noreply.github.com> Date: Sun, 19 Jan 2025 05:55:17 +0800 Subject: [PATCH] [+] 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> --- crates/hyfetch/src/presets.rs | 8 +++++ hyfetch/presets.py | 67 +++++++++++++++++++---------------- 2 files changed, 45 insertions(+), 30 deletions(-) diff --git a/crates/hyfetch/src/presets.rs b/crates/hyfetch/src/presets.rs index 001e9ad5..b37ed3c5 100644 --- a/crates/hyfetch/src/presets.rs +++ b/crates/hyfetch/src/presets.rs @@ -214,6 +214,9 @@ pub enum Preset { #[strum(serialize = "throatlozenges")] ThroatLozenges, + /// Meme flag + Band, + /// Colors from Gilbert Baker's original 1978 flag design Baker, } @@ -626,6 +629,11 @@ impl Preset { Self::ThroatLozenges => ColorProfile::from_hex_colors(vec![ "#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 Self::Baker => ColorProfile::from_hex_colors(vec![ diff --git a/hyfetch/presets.py b/hyfetch/presets.py index 3bcd1831..737910e5 100644 --- a/hyfetch/presets.py +++ b/hyfetch/presets.py @@ -704,52 +704,52 @@ PRESETS: dict[str, ColorProfile] = { # sourced from https://commons.wikimedia.org/wiki/File:Bear_Brotherhood_flag.svg 'bear': ColorProfile([ '#623804', - '#D56300', - '#FEDD63', - '#FEE6B8', - '#FFFFFF', - '#555555', + '#D56300', + '#FEDD63', + '#FEE6B8', + '#FFFFFF', + '#555555', ]), # colorpicked from https://commons.wikimedia.org/wiki/File:Butch_Flag.png 'butch': ColorProfile([ - '#D72800', - '#F17623', - '#FF9C56', - '#FFFDF6', - '#FFCE89', - '#FEAF02', - '#A37000', + '#D72800', + '#F17623', + '#FF9C56', + '#FFFDF6', + '#FFCE89', + '#FEAF02', + '#A37000', ]), # colorpicked from https://commons.wikimedia.org/wiki/File:Leather,_Latex,_and_BDSM_pride_-_Light.svg 'leather': ColorProfile([ - '#000000', - '#252580', - '#000000', - '#252580', - '#FFFFFF', - '#252580', - '#000000', - '#252580', - '#000000', + '#000000', + '#252580', + '#000000', + '#252580', + '#FFFFFF', + '#252580', + '#000000', + '#252580', + '#000000', ]), # colorpicked from https://commons.wikimedia.org/wiki/File:Official_Otter_Pride_Flag_by_Bearbackgear.jpg 'otter': ColorProfile([ - '#263881', - '#5C9DC9', - '#FFFFFF', - '#3A291D', - '#5C9DC9', - '#263881', + '#263881', + '#5C9DC9', + '#FFFFFF', + '#3A291D', + '#5C9DC9', + '#263881', ]), # colorpicked from https://commons.wikimedia.org/wiki/File:Twink_Pride_Flag_(proposed).svg 'twink': ColorProfile([ - '#FFB2FF', - '#FFFFFF', - '#FFFF81', + '#FFB2FF', + '#FFFFFF', + '#FFFF81', ]), 'kenochoric': ColorProfile([ @@ -949,6 +949,13 @@ PRESETS: dict[str, ColorProfile] = { "#B71212" ]), + 'band': ColorProfile([ + "#2670c0", + "#f5bd00", + "#dc0045", + "#e0608e" + ]), + # colors from Gilbert Baker's original 1978 flag design # used https://gilbertbaker.com/rainbow-flag-color-meanings/ as source and colorpicked 'baker': ColorProfile([