Modify the background of dark mode

This commit is contained in:
reionwong 2021-08-01 03:11:02 +08:00
parent f79794f09d
commit 51c89d26d5

View file

@ -42,7 +42,7 @@ Item {
id: _background id: _background
anchors.fill: parent anchors.fill: parent
radius: windowHelper.compositing ? windowRadius : 0 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 opacity: windowHelper.compositing ? FishUI.Theme.darkMode ? 0.5 : 0.4 : 1
border.width: 0 border.width: 0
@ -74,8 +74,8 @@ Item {
FishUI.PopupTips { FishUI.PopupTips {
id: popupTips id: popupTips
backgroundColor: FishUI.Theme.backgroundColor backgroundColor: _background.color
backgroundOpacity: windowHelper.compositing ? FishUI.Theme.darkMode ? 0.3 : 0.4 : 1 backgroundOpacity: _background.opacity
} }
GridLayout { GridLayout {