Introduce more themes to iced_highlighter

This commit is contained in:
Héctor Ramón Jiménez 2023-09-20 01:21:42 +02:00
parent 93d6f748f6
commit ff78e97ad7
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 33 additions and 8 deletions

View file

@ -230,7 +230,11 @@ impl Application for Editor {
}
fn theme(&self) -> Theme {
Theme::Dark
if self.theme.is_dark() {
Theme::Dark
} else {
Theme::Light
}
}
}