1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00

lowercase named colours

This commit is contained in:
galiano 2025-05-16 02:25:28 -05:00
parent fbcaa6eca9
commit fb81b61a13

View file

@ -268,7 +268,7 @@ impl TextColor {
fn serialize(&self) -> String {
if let Some(name) = &self.name {
name.clone()
name.clone().to_ascii_lowercase()
} else {
self.format_value()
}