use colour from Style instead of palette for icons

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
This commit is contained in:
Jyrki Gadinger 2025-03-19 11:24:39 +01:00 committed by backportbot[bot]
parent fa5d3bc2f6
commit fa6e4efbd9

View File

@ -198,7 +198,7 @@ Button {
id: currentAccountUser
Layout.alignment: Qt.AlignLeft | Qt.AlignBottom
width: Style.currentAccountLabelWidth
color: palette.windowText
color: Style.currentUserHeaderTextColor
text: UserModel.currentUser ? UserModel.currentUser.name : ""
elide: Text.ElideRight
@ -210,7 +210,7 @@ Button {
id: currentAccountServer
Layout.alignment: Qt.AlignLeft | Qt.AlignBottom
width: Style.currentAccountLabelWidth
color: palette.windowText
color: Style.currentUserHeaderTextColor
text: UserModel.currentUser ? UserModel.currentUser.server : ""
elide: Text.ElideRight
visible: UserModel.numUsers() > 1
@ -227,7 +227,7 @@ Button {
id: emoji
visible: UserModel.currentUser && UserModel.currentUser.statusEmoji !== ""
width: Style.userStatusEmojiSize
color: palette.windowText
color: Style.currentUserHeaderTextColor
text: UserModel.currentUser ? UserModel.currentUser.statusEmoji : ""
}
EnforcedPlainTextLabel {
@ -236,7 +236,7 @@ Button {
Layout.fillWidth: true
visible: UserModel.currentUser && UserModel.currentUser.statusMessage !== ""
width: Style.currentAccountLabelWidth
color: palette.windowText
color: Style.currentUserHeaderTextColor
text: UserModel.currentUser && UserModel.currentUser.statusMessage !== ""
? UserModel.currentUser.statusMessage
: UserModel.currentUser ? UserModel.currentUser.server : ""