From b0438bdf483c3ffa404d5cb28123b9081709afef Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Mon, 4 May 2026 09:47:40 +0200 Subject: [PATCH] Fix wallpaper selector icon and surface colors The header button used list-add icon and hard-coded white backgrounds that did not match the dark theme. Change icon to configure (it opens Configure Folio for advanced settings, not add-wallpaper), and use Kirigami.Theme.backgroundColor for both the header and thumbnail backgrounds. --- .../qml/homescreen/WallpaperSelector.qml | 21 +++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/components/mobileshell/qml/homescreen/WallpaperSelector.qml b/components/mobileshell/qml/homescreen/WallpaperSelector.qml index 7a769f06..ef2fbf01 100644 --- a/components/mobileshell/qml/homescreen/WallpaperSelector.qml +++ b/components/mobileshell/qml/homescreen/WallpaperSelector.qml @@ -63,7 +63,14 @@ Controls.Drawer { background: Rectangle { radius: Kirigami.Units.cornerRadius - color: Qt.rgba(255, 255, 255, (openSettings.down || openSettings.highlighted) ? 0.3 : 0.2) + Kirigami.Theme.inherit: false + Kirigami.Theme.colorSet: Kirigami.Theme.Window + color: Qt.rgba( + Kirigami.Theme.backgroundColor.r, + Kirigami.Theme.backgroundColor.g, + Kirigami.Theme.backgroundColor.b, + (openSettings.down || openSettings.highlighted) ? 0.9 : 0.75 + ) Component.onCompleted: { if (maskManager) { @@ -77,8 +84,7 @@ Controls.Drawer { anchors.centerIn: parent implicitHeight: Kirigami.Units.iconSizes.large implicitWidth: Kirigami.Units.iconSizes.large - source: 'list-add' - color: 'white' + source: 'configure' } } @@ -151,7 +157,14 @@ Controls.Drawer { } background: Rectangle { - color: Qt.rgba(255, 255, 255, (delegate.down || delegate.highlighted) ? 0.4 : 0.2) + Kirigami.Theme.inherit: false + Kirigami.Theme.colorSet: Kirigami.Theme.Window + color: Qt.rgba( + Kirigami.Theme.backgroundColor.r, + Kirigami.Theme.backgroundColor.g, + Kirigami.Theme.backgroundColor.b, + (delegate.down || delegate.highlighted) ? 0.9 : 0.75 + ) radius: Kirigami.Units.cornerRadius Component.onCompleted: {