Add xenogender preset

This commit is contained in:
Teoh Han Hui 2024-06-27 01:24:43 +08:00
parent 3b94b94528
commit 4f9e6deb90
No known key found for this signature in database
GPG key ID: D43E2BABAF97DCAE

View file

@ -74,6 +74,7 @@ pub enum Preset {
Unlabeled2,
Voidboy,
Voidgirl,
Xenogender,
}
#[derive(Clone, Eq, PartialEq, Hash, Debug)]
@ -360,6 +361,10 @@ impl Preset {
Self::Voidgirl => ColorProfile::from_hex_colors(vec![
"#180827", "#7A5A8B", "#E09BED", "#7A5A8B", "#180827",
]),
// sourced from https://commons.wikimedia.org/wiki/File:Xenogender_pride_flag.svg
Self::Xenogender => ColorProfile::from_hex_colors(vec![
"#FF6692", "#FF9A98", "#FFB883", "#FBFFA8", "#85BCFF", "#9D85FF", "#A510FF",
]),
})
.expect("presets should not be invalid")
}