mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-06-11 00:47:22 +00:00
Fix notification drawer text contrast
Force the notifications widget to use the Window color set instead of inheriting parent theme roles, preventing unreadable light-on-light content in the action drawer.
This commit is contained in:
parent
7115cb882d
commit
37fa852960
1 changed files with 2 additions and 0 deletions
|
|
@ -71,6 +71,8 @@ Item {
|
|||
MobileShell.NotificationsWidget {
|
||||
id: notificationWidget
|
||||
readonly property bool isConvergence: ShellSettings.Settings.convergenceModeEnabled
|
||||
Kirigami.Theme.inherit: false
|
||||
Kirigami.Theme.colorSet: Kirigami.Theme.Window
|
||||
anchors.fill: parent
|
||||
anchors.topMargin: root.topMargin + (isConvergence ? Kirigami.Units.gridUnit : 0)
|
||||
anchors.rightMargin: actionDrawer.mode == MobileShell.ActionDrawer.Portrait ? 0 : (isConvergence ? Kirigami.Units.gridUnit : Math.max(root.width - Kirigami.Units.gridUnit * 25, 0))
|
||||
|
|
|
|||
Loading…
Reference in a new issue