Compare commits
No commits in common. "dd7adca3d0253e8b02a6ff042b0091fae71844be" and "3b7bc08ff081e91fa52124a0a441c5dbd2e17214" have entirely different histories.
dd7adca3d0
...
3b7bc08ff0
3 changed files with 4 additions and 20 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "pride"
|
||||
version = "0.1.5"
|
||||
version = "0.1.4"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
11
src/flag.rs
11
src/flag.rs
|
@ -62,17 +62,6 @@ pub fn bisexual() -> Colors {
|
|||
vec![magenta, magenta, purple, blue, blue]
|
||||
}
|
||||
|
||||
pub fn gay() -> Colors {
|
||||
let green1 = rgb(0x00906D);
|
||||
let green2 = rgb(0x00D1A7);
|
||||
let green3 = rgb(0x7EEBC1);
|
||||
let blue1 = rgb(0x6CAEE8);
|
||||
let blue2 = rgb(0x5543D3);
|
||||
let blue3 = rgb(0x461280);
|
||||
|
||||
vec![green1, green2, green3, WHITE, blue1, blue2, blue3]
|
||||
}
|
||||
|
||||
pub fn genderfluid() -> Colors {
|
||||
let pink = rgb(0xFF75A2);
|
||||
let violet = rgb(0xBE18D6);
|
||||
|
|
11
src/main.rs
11
src/main.rs
|
@ -38,8 +38,7 @@ fn main() {
|
|||
let subcommand = args.subcommand().unwrap();
|
||||
|
||||
let colors: Colors = match subcommand.as_deref() {
|
||||
Some("pride")
|
||||
| None
|
||||
Some("pride" | "gay")
|
||||
=> {
|
||||
let variant = args.subcommand().unwrap_or(None);
|
||||
match variant.as_deref() {
|
||||
|
@ -71,9 +70,6 @@ fn main() {
|
|||
Some("bisexual" | "bi")
|
||||
=> flag::bisexual(),
|
||||
|
||||
Some("gay" | "mlm")
|
||||
=> flag::gay(),
|
||||
|
||||
Some("genderfluid")
|
||||
=> flag::genderfluid(),
|
||||
|
||||
|
@ -108,7 +104,7 @@ fn help_text() {
|
|||
println!("Valerie Wolfe <sleeplessval@gmail.com>");
|
||||
println!("Show pride flags in the terminal.\n");
|
||||
|
||||
println!("usage: pride [flags] [name]\n");
|
||||
println!("usage: pride [flags] <name>\n");
|
||||
|
||||
println!("args:");
|
||||
println!(" <name> The pride flag to display\n");
|
||||
|
@ -131,7 +127,7 @@ fn list_text() {
|
|||
println!(" ace, asexual asexual pride flag");
|
||||
println!(" bigender bigender pride flag");
|
||||
println!(" bi, bisexual bisexual pride flag");
|
||||
println!(" gay, mlm gay men pride flag");
|
||||
println!(" gay, pride six-color rainbow flag");
|
||||
println!(" genderfluid genderfluid pride flag");
|
||||
println!(" genderqueer genderqueer pride flag");
|
||||
println!(" gendervoid gendervoid pride flag");
|
||||
|
@ -139,7 +135,6 @@ fn list_text() {
|
|||
println!(" multigender multigender pride flag");
|
||||
println!(" nb, nonbinary nonbinary pride flag");
|
||||
println!(" pan, pansexual pansexual pride flag");
|
||||
println!(" pride six-color rainbow flag");
|
||||
// println!(" progress progress arrow flag");
|
||||
println!(" trans, transgender transgender pride flag");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue