Compare commits

..

No commits in common. "f300979b3ab0ee41dbd94b1f4dc28bb55682c48c" and "7df02965aa0b3e86cdd6527ee103b2f528b0666c" have entirely different histories.

4 changed files with 1 additions and 44 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "pride"
version = "0.2.3"
version = "0.2.2"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -181,7 +181,6 @@ pub fn aroace(small: bool) -> Flag {
Flag::Lines(lines)
}
fn demi_orientation_render(middle: Bg<Rgb>, bottom: Bg<Rgb>, width: u16, height: u16) -> Vec<String> {
let white = bg(0xFFFFFF);
@ -239,7 +238,6 @@ pub fn demisexual(small: bool) -> Flag {
Flag::Lines(lines)
}
pub fn disability() {
let gray = bg(0x575757);
@ -255,7 +253,6 @@ pub fn disability() {
}
pub fn intersex() -> Flag {
let yellow = bg(0xFFDA00);
let purple = rgb(0x7A00AC);
@ -273,7 +270,6 @@ pub fn intersex() -> Flag {
Flag::Lines(lines)
}
pub fn polyamory(small: bool) -> Flag {
let blue = rgb(0x019FE3);
let magenta = rgb(0xE50051);

View file

@ -53,7 +53,6 @@ pub fn aroace() -> Flag {
Flag::Stripes(vec![orange, yellow, WHITE, blue, navy])
}
pub fn bigender() -> Flag {
let pink = rgb(0xE676A6);
let yellow = rgb(0xF9F04C);
@ -71,31 +70,6 @@ pub fn bisexual() -> Flag {
Flag::Stripes(vec![magenta, magenta, purple, blue, blue])
}
fn demigender_base(color: Color) -> Vec<Color> {
let grey = rgb(0x7F7F7F);
let gray = rgb(0xC3C3C3);
vec![grey, gray, color, WHITE, color, gray, grey]
}
pub fn demiboy() -> Flag {
let blue = rgb(0x7ACBF5);
Flag::Stripes(demigender_base(blue))
}
pub fn demigender() -> Flag {
let yellow = rgb(0xFBFF74);
Flag::Stripes(demigender_base(yellow))
}
pub fn demigirl() -> Flag {
let pink = rgb(0xEAACB8);
Flag::Stripes(demigender_base(pink))
}
pub fn gay() -> Flag {
let green1 = rgb(0x00906D);
let green2 = rgb(0x00D1A7);
@ -137,7 +111,6 @@ pub fn gendervoid() -> Flag {
Flag::Stripes(vec![navy, gray, BLACK, gray, navy])
}
pub fn lesbian() -> Flag {
let red = rgb(0xD62800);
let orange = rgb(0xFF9B56);
@ -147,7 +120,6 @@ pub fn lesbian() -> Flag {
Flag::Stripes(vec![red, orange, WHITE, pink, magenta])
}
pub fn multigender() -> Flag {
let blue = rgb(0x3F47CC);
let ltblue = rgb(0x01A4E9);
@ -164,7 +136,6 @@ pub fn multisexual() -> Flag {
Flag::Stripes(vec![purple, WHITE, blue, pink])
}
pub fn nonbinary() -> Flag {
let yellow = rgb(0xFFF433);
let purple = rgb(0x9B59D0);
@ -172,7 +143,6 @@ pub fn nonbinary() -> Flag {
Flag::Stripes(vec![yellow, WHITE, purple, BLACK])
}
pub fn pansexual() -> Flag {
let magenta = rgb(0xFF1B8D);
let yellow = rgb(0xFFDA00);
@ -189,7 +159,6 @@ pub fn polysexual() -> Flag {
Flag::Stripes(vec![pink, green, blue])
}
pub fn transgender() -> Flag {
let pink = rgb(0x7ACBF5);
let blue = rgb(0xEAACB8);

View file

@ -95,14 +95,6 @@ fn main() {
Some("bisexual" | "bi")
=> flag::bisexual(),
Some("demiboy")
=> flag::demiboy(),
Some("demigender")
=> flag::demigender(),
Some("demigirl")
=> flag::demigirl(),
Some("demiromantic")
=> complex::demiromantic(small),