Introduce more themes to iced_highlighter
This commit is contained in:
parent
93d6f748f6
commit
ff78e97ad7
2 changed files with 33 additions and 8 deletions
|
|
@ -230,7 +230,11 @@ impl Application for Editor {
|
|||
}
|
||||
|
||||
fn theme(&self) -> Theme {
|
||||
Theme::Dark
|
||||
if self.theme.is_dark() {
|
||||
Theme::Dark
|
||||
} else {
|
||||
Theme::Light
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue