[+] Add Transneutral & Cenelian flags (#452)

This commit is contained in:
ObsoleteDev 2025-10-21 12:26:14 +01:00 committed by GitHub
parent de2141347e
commit b585ee1e26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 30 additions and 0 deletions

View file

@ -233,6 +233,10 @@ pub enum Preset {
Libragender, Librafeminine, Libramasculine, Libraandrogyne, Libranonbinary,
Fluidfluxa, Fluidfluxb,
Cenelian,
Transneutral,
}
#[derive(Clone, Eq, PartialEq, Debug)]
@ -718,6 +722,14 @@ impl Preset {
Self::Fluidfluxb => ColorProfile::from_hex_colors(vec![
"#c6d1d2", "#f47b9d", "#f09f9b", "#e3f09e", "#75eeea", "#52d2ed", "#c6d1d2"
]),
Self::Cenelian => ColorProfile::from_hex_colors(vec![
"#ffe7b6", "#93554a", "#52203a", "#7e4a93", "#99afd6"
]),
Self::Transneutral => ColorProfile::from_hex_colors(vec![
"#74dfff", "#fffdb3", "#fffc75", "#fff200", "#fffc75", "#fffdb3", "#fe8cbf"
]),
})
.expect("preset color profiles should be valid")
}

View file

@ -1092,4 +1092,22 @@ PRESETS: dict[str, ColorProfile] = {
"#52d2ed",
"#c6d1d2"
]),
'Cenelian': ColorProfile([
"#ffe7b6",
"#93554a",
"#52203a",
"#7e4a93",
"#99afd6"
]),
'Transneutral': ColorProfile([
"#74dfff",
"#fffdb3",
"#fffc75",
"#fff200",
"#fffc75",
"#fffdb3",
"#fe8cbf"
]),
}