added neutrois pride flag

This commit is contained in:
Valerie Wolfe 2024-02-11 19:41:01 -05:00
parent fd2009d1fd
commit 11ca93834d
3 changed files with 17 additions and 0 deletions

View file

@ -165,6 +165,12 @@ pub fn multisexual() -> Flag {
}
pub fn neutrois() -> Flag {
let green = rgb(0x2D9A1B);
Flag::Stripes(vec![WHITE, green, BLACK])
}
pub fn nonbinary() -> Flag {
let yellow = rgb(0xFFF433);
let purple = rgb(0x9B59D0);

View file

@ -50,6 +50,7 @@ flag list:
lesbian lesbian pride flag
multigender multigender pride flag
multisexual multisexual pride flag
neutrois neutrois pride flag
nonbinary nonbinary pride flag
pansexual pansexual pride flag
polysexual polysexual pride flag

View file

@ -117,6 +117,7 @@ fn main() {
// Some("disability")
// => complex::disability();
Some("gay" | "mlm")
=> flag::gay(),
@ -132,9 +133,11 @@ fn main() {
Some("gendervoid")
=> flag::gendervoid(),
// Some("intersex")
// => complex::intersex(),
Some("lesbian")
=> {
match variant.as_deref() {
@ -145,15 +148,21 @@ fn main() {
}
}
Some("multisexual" | "m-spec" | "mspec")
=> flag::multisexual(),
Some("multigender")
=> flag::multigender(),
Some("neutrois")
=> flag::neutrois(),
Some("nonbinary" | "nb")
=> flag::nonbinary(),
Some("pansexual" | "pan")
=> flag::pansexual(),
@ -163,6 +172,7 @@ fn main() {
Some("polysexual")
=> flag::polysexual(),
Some("transgender" | "trans")
=> flag::transgender(),