diff --git a/ui/main.slint b/ui/main.slint index 5d30625..52f9e88 100644 --- a/ui/main.slint +++ b/ui/main.slint @@ -376,7 +376,7 @@ export component AppWindow inherits Window { width: 44px; height: 44px; border-width: 2px; - border-color: black; + border-color: Settings.dark-mode ? #777777 : black; background: close-touch.pressed ? Settings.dark-mode ? #777777 : black : Settings.dark-mode ? black : white; close-touch := TouchArea { @@ -385,7 +385,7 @@ export component AppWindow inherits Window { Text { text: Settings.dark-mode ? "D" : "L"; - color: close-touch.pressed ? white : black; + color: close-touch.pressed ? Settings.dark-mode ? black : white : Settings.dark-mode ? #777777 : black; font-size: 29px; horizontal-alignment: center; vertical-alignment: center;