Theming for account unread/mention indicator

This commit is contained in:
miruka 2020-05-01 04:50:00 -04:00
parent 9f7d30f248
commit 37042f6365
3 changed files with 6 additions and 2 deletions

View File

@ -12,6 +12,7 @@
- lag when switching accounts - lag when switching accounts
- update glass theme - update glass theme
- improve room highlight
- if last room event is a membership change, it won't be visible in timeline - if last room event is a membership change, it won't be visible in timeline
- use uiState instead of open_room - use uiState instead of open_room

View File

@ -84,8 +84,7 @@ HColumnLayout {
anchors.right: parent.right anchors.right: parent.right
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
indicatorTheme: indicatorTheme: theme.accountView.account.unreadIndicator
theme.accountView.roomList.room.unreadIndicator
unreads: model.total_unread unreads: model.total_unread
mentions: model.total_mentions mentions: model.total_mentions
} }

View File

@ -297,6 +297,10 @@ accountView:
color background: colors.strongBackground color background: colors.strongBackground
color name: colors.text color name: colors.text
unreadIndicator:
color background: colors.accentBackground
color mentionBackground: colors.alertBackground
roomList: roomList:
color background: colors.mediumBackground color background: colors.mediumBackground