change is_system_theme_dark to is_system_theme_light
This commit is contained in:
+3
-3
@@ -28,10 +28,10 @@ impl From<Theme> for catppuccin_egui::Theme {
|
||||
fn from(val: Theme) -> Self {
|
||||
match val {
|
||||
Theme::Auto => {
|
||||
if win::is_system_theme_dark() {
|
||||
catppuccin_egui::MOCHA
|
||||
} else {
|
||||
if win::is_system_theme_light() {
|
||||
catppuccin_egui::LATTE
|
||||
} else {
|
||||
catppuccin_egui::MOCHA
|
||||
}
|
||||
}
|
||||
Theme::CatppuccinLatte => catppuccin_egui::LATTE,
|
||||
|
||||
Reference in New Issue
Block a user