From 243be5ad03b4d6e411dd1c4ba1265b05852a4e60 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 18 Mar 2015 15:45:48 +0100 Subject: [PATCH] use color from theme --- containments/homescreen/contents/ui/main.qml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/containments/homescreen/contents/ui/main.qml b/containments/homescreen/contents/ui/main.qml index 31ce38ce..c5a95e0c 100644 --- a/containments/homescreen/contents/ui/main.qml +++ b/containments/homescreen/contents/ui/main.qml @@ -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 {