From 51c89d26d537ea7ac3d1429a85e10ea695f31c86 Mon Sep 17 00:00:00 2001 From: reionwong Date: Sun, 1 Aug 2021 03:11:02 +0800 Subject: [PATCH] Modify the background of dark mode --- qml/main.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qml/main.qml b/qml/main.qml index 47ec08e..b58b5a9 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -42,7 +42,7 @@ Item { id: _background anchors.fill: parent radius: windowHelper.compositing ? windowRadius : 0 - color: FishUI.Theme.darkMode ? "#333333" : "#F2F2F2" + color: FishUI.Theme.darkMode ? "#595959" : "#FFFFFF" opacity: windowHelper.compositing ? FishUI.Theme.darkMode ? 0.5 : 0.4 : 1 border.width: 0 @@ -74,8 +74,8 @@ Item { FishUI.PopupTips { id: popupTips - backgroundColor: FishUI.Theme.backgroundColor - backgroundOpacity: windowHelper.compositing ? FishUI.Theme.darkMode ? 0.3 : 0.4 : 1 + backgroundColor: _background.color + backgroundOpacity: _background.opacity } GridLayout {