From 2cfea54a88b8e6b7e50d027ba32c959db5876a7c Mon Sep 17 00:00:00 2001 From: Azalea Gui <22280294+hykilpikonna@users.noreply.github.com> Date: Sun, 16 Feb 2025 17:41:21 -0500 Subject: [PATCH] [+] Cisgender flag for #386 Okay I think if I added this, someone will ask about the straight flag again. In terms of historical context, the cisgender flag has been used neutrally, and it has not been used as a symbol of dismissal like the straight flag did. While some people question whether it's necessary to have a pride flag for the majority identity that do not face discrimination, its existence isn't perceived as offensive by the LGBTQ+ community. So I judged it would be harmless to add the cisgender flag, while adding the straight flag would be harmful. --- crates/hyfetch/src/presets.rs | 29 +++++++++++-------- hyfetch/presets.py | 53 +++++++++++++++++++---------------- 2 files changed, 46 insertions(+), 36 deletions(-) diff --git a/crates/hyfetch/src/presets.rs b/crates/hyfetch/src/presets.rs index b37ed3c5..2de76f90 100644 --- a/crates/hyfetch/src/presets.rs +++ b/crates/hyfetch/src/presets.rs @@ -202,6 +202,11 @@ pub enum Preset { Neofluid, Genderqueer, + + Cisgender, + + /// Colors from Gilbert Baker's original 1978 flag design + Baker, /// Meme flag Beiyang, @@ -216,9 +221,6 @@ pub enum Preset { /// Meme flag Band, - - /// Colors from Gilbert Baker's original 1978 flag design - Baker, } #[derive(Clone, Eq, PartialEq, Debug)] @@ -614,9 +616,18 @@ impl Preset { "#FFECA0", "#FFFFFF", "#FFECA0", "#38087A", "#BCEC64", ]), - Self::Genderqueer => { - ColorProfile::from_hex_colors(vec!["#B57EDC", "#FFFFFF", "#4A8123"]) - }, + Self::Genderqueer => ColorProfile::from_hex_colors(vec![ + "#B57EDC", "#FFFFFF", "#4A8123" + ]), + + Self::Cisgender => ColorProfile::from_hex_colors(vec![ + "#D70270", "#0038A7" + ]), + + // used https://gilbertbaker.com/rainbow-flag-color-meanings/ as source and colorpicked + Self::Baker => ColorProfile::from_hex_colors(vec![ + "#F23D9E", "#F80A24", "#F78022", "#F9E81F", "#1E972E", "#1B86BC", "#243897", "#6F0A82", + ]), Self::Beiyang => ColorProfile::from_hex_colors(vec![ "#DF1B12", "#FFC600", "#01639D", "#FFFFFF", "#000000", @@ -634,12 +645,6 @@ impl Preset { "#2670C0", "#F5BD00", "#DC0045", "#E0608E" ]), - - // used https://gilbertbaker.com/rainbow-flag-color-meanings/ as source and colorpicked - Self::Baker => ColorProfile::from_hex_colors(vec![ - "#F23D9E", "#F80A24", "#F78022", "#F9E81F", "#1E972E", "#1B86BC", "#243897", - "#6F0A82", - ]), }) .expect("preset color profiles should be valid") } diff --git a/hyfetch/presets.py b/hyfetch/presets.py index 737910e5..8b6fb562 100644 --- a/hyfetch/presets.py +++ b/hyfetch/presets.py @@ -924,6 +924,35 @@ PRESETS: dict[str, ColorProfile] = { "#4a8123" ]), + 'cisgender': ColorProfile([ + "#D70270", + "#0038A7" + ]), + + # colors from Gilbert Baker's original 1978 flag design + # used https://gilbertbaker.com/rainbow-flag-color-meanings/ as source and colorpicked + 'baker': ColorProfile([ + '#F23D9E', + '#F80A24', + '#F78022', + '#F9E81F', + '#1E972E', + '#1B86BC', + '#243897', + '#6F0A82', + ]), + + # this is 4 all the dogs, from zombpawcoins on tumblr! + 'caninekin': ColorProfile([ + '#2d2822', + '#543d25', + '#9c754d', + '#e8dac2', + '#cfad8c', + '#b77b55', + '#954e31' + ]), + # Meme flags 'beiyang': ColorProfile([ '#DF1B12', @@ -955,28 +984,4 @@ PRESETS: dict[str, ColorProfile] = { "#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([ - '#F23D9E', - '#F80A24', - '#F78022', - '#F9E81F', - '#1E972E', - '#1B86BC', - '#243897', - '#6F0A82', - ]), - - # this is 4 all the dogs, from zombpawcoins on tumblr! - 'caninekin': ColorProfile([ - '#2d2822', - '#543d25', - '#9c754d', - '#e8dac2', - '#cfad8c', - '#b77b55', - '#954e31' - ]) }