Dedicated theming for unread indicator
Also make default indicator background colors darker to be more readable
This commit is contained in:
@@ -55,11 +55,16 @@ HTileDelegate {
|
||||
|
||||
background: Rectangle {
|
||||
color:
|
||||
model.mentions === 0 ?
|
||||
theme.colors.unreadBackground :
|
||||
theme.colors.alertBackground
|
||||
model.mentions ?
|
||||
indicatorTheme.mentionBackground :
|
||||
indicatorTheme.background
|
||||
|
||||
radius: theme.radius / 4
|
||||
|
||||
readonly property QtObject indicatorTheme:
|
||||
theme.mainPane.listView.room.unreadIndicator
|
||||
|
||||
Behavior on color { HColorAnimation {} }
|
||||
}
|
||||
|
||||
Behavior on scale { HNumberAnimation {} }
|
||||
|
Reference in New Issue
Block a user