Change the background colour in compact mode to achieve the same level of contrast as with bubbles.

This commit is contained in:
James Graham
2023-04-01 09:49:04 +01:00
parent a13b2e6bd2
commit e00ce79d26
2 changed files with 33 additions and 28 deletions

View File

@@ -42,6 +42,6 @@ QQC2.ItemDelegate {
background: Rectangle { background: Rectangle {
color: Config.blur ? "transparent" : Kirigami.Theme.backgroundColor color: Config.blur ? "transparent" : Kirigami.Theme.backgroundColor
Kirigami.Theme.inherit: false Kirigami.Theme.inherit: false
Kirigami.Theme.colorSet: Kirigami.Theme.Window Kirigami.Theme.colorSet: Config.compactLayout ? Kirigami.Theme.View : Kirigami.Theme.Window
} }
} }

View File

@@ -581,8 +581,12 @@ Kirigami.ScrollablePage {
} }
} }
background: FancyEffectsContainer { background: Rectangle {
color: Config.compactLayout ? Kirigami.Theme.backgroundColor : "transparent"
FancyEffectsContainer {
id: fancyEffectsContainer id: fancyEffectsContainer
anchors.fill: parent
z: 100 z: 100
enabled: Config.showFancyEffects enabled: Config.showFancyEffects
@@ -615,6 +619,7 @@ Kirigami.ScrollablePage {
} }
} }
} }
}
function warning(title, message) { function warning(title, message) {