use color from theme

This commit is contained in:
Marco Martin 2015-03-18 15:45:48 +01:00
parent e130d3a24f
commit 243be5ad03

View file

@ -145,15 +145,16 @@ Item {
}
}
Rectangle {
color: Qt.rgba(0, 0, 0, 0.9 * (Math.min(applicationsView.contentY + root.height, root.height) / root.height))
anchors.fill: parent
}
PlasmaCore.ColorScope {
anchors.fill: parent
colorGroup: PlasmaCore.Theme.ComplementaryColorGroup
Rectangle {
color: PlasmaCore.ColorScope.backgroundColor
opacity: 0.9 * (Math.min(applicationsView.contentY + root.height, root.height) / root.height)
anchors.fill: parent
}
GridView {
id: applicationsView
anchors {