mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
use color from theme
This commit is contained in:
parent
e130d3a24f
commit
243be5ad03
1 changed files with 6 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue