49 lines
1.3 KiB
Rust
49 lines
1.3 KiB
Rust
//! variant pride flags
|
|
//! these aren't in the flag module for organizational reasons.
|
|
|
|
use crate::{
|
|
color::*,
|
|
flag::{ self, Flag }
|
|
};
|
|
|
|
pub fn gilbert_baker() -> Flag {
|
|
let pink = rgb(0xFF69B4); // sex
|
|
let red = rgb(0xFF0000); // life
|
|
let orange = rgb(0xFF8F00); // healing
|
|
let yellow = rgb(0xFFFF00); // sunlight
|
|
let green = rgb(0x008F00); // nature
|
|
let cyan = rgb(0x00C0C0); // magic
|
|
let indigo = rgb(0x3E0099); // serenity
|
|
let purple = rgb(0x8F008F); // spirit
|
|
|
|
Flag::Stripes(vec![pink, red, orange, yellow, green, cyan, indigo, purple])
|
|
}
|
|
|
|
pub fn philadelphia() -> Flag {
|
|
let brown = rgb(0x784F17);
|
|
|
|
let base = flag::pride();
|
|
let mut colors = match base {
|
|
Flag::Stripes(inner)
|
|
=> inner,
|
|
_
|
|
=> { panic!("impossible enum variant"); }
|
|
};
|
|
colors.insert(0, BLACK);
|
|
colors.insert(1, brown);
|
|
|
|
Flag::Stripes(colors)
|
|
}
|
|
|
|
pub fn lesbian_7() -> Flag {
|
|
let orange1 = rgb(0xD52D00); // gender non-conformity
|
|
let orange2 = rgb(0xEF7627); // independence
|
|
let orange3 = rgb(0xFF9A56); // community
|
|
// white // unique relationships with womanhood
|
|
let pink1 = rgb(0xD162A4); // serenity and peace
|
|
let pink2 = rgb(0xB55690); // love and sex
|
|
let pink3 = rgb(0xA30262); // femininity
|
|
|
|
Flag::Stripes(vec![orange1, orange2, orange3, WHITE, pink1, pink2, pink3])
|
|
}
|
|
|