Improve contrast of new notification background
This is required to be accessible Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
@@ -348,6 +348,7 @@ Kirigami.ScrollablePage {
|
|||||||
visible: notificationCount > 0
|
visible: notificationCount > 0
|
||||||
Kirigami.Theme.colorSet: Kirigami.Theme.Button
|
Kirigami.Theme.colorSet: Kirigami.Theme.Button
|
||||||
color: highlightCount > 0 ? Kirigami.Theme.positiveTextColor : Kirigami.Theme.disabledTextColor
|
color: highlightCount > 0 ? Kirigami.Theme.positiveTextColor : Kirigami.Theme.disabledTextColor
|
||||||
|
opacity: highlightCount > 0 ? 1 : 0.3
|
||||||
radius: height / 2
|
radius: height / 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user