actiondrawer: Darken landscape drawer background to be easier to read

This commit is contained in:
Devin Lin 2022-02-19 22:08:58 -05:00
parent 27297c445a
commit 5cb056dd3e

View file

@ -42,7 +42,7 @@ PlasmaCore.ColorScope {
color: Qt.rgba(PlasmaCore.Theme.backgroundColor.r, color: Qt.rgba(PlasmaCore.Theme.backgroundColor.r,
PlasmaCore.Theme.backgroundColor.g, PlasmaCore.Theme.backgroundColor.g,
PlasmaCore.Theme.backgroundColor.b, PlasmaCore.Theme.backgroundColor.b,
notificationWidget.hasNotifications ? 0.95 : 0.7) notificationWidget.hasNotifications ? 0.95 : 0.9)
Behavior on color { ColorAnimation { duration: PlasmaCore.Units.longDuration } } Behavior on color { ColorAnimation { duration: PlasmaCore.Units.longDuration } }
opacity: Math.max(0, Math.min(1, actionDrawer.offset / root.minimizedQuickSettingsOffset)) opacity: Math.max(0, Math.min(1, actionDrawer.offset / root.minimizedQuickSettingsOffset))
} }