Modify the background of dark mode
This commit is contained in:
parent
f79794f09d
commit
51c89d26d5
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue