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

lowercase named colours (#222)

This commit is contained in:
activepass 2025-05-17 01:07:51 -05:00 committed by GitHub
parent fbcaa6eca9
commit 9e34a2660d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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()
}