Change message bubble colors for light ambiences, fixes #239
This commit is contained in:
parent
33878bb480
commit
7dfe7ddc3e
2 changed files with 2 additions and 2 deletions
|
@ -262,7 +262,7 @@ ListItem {
|
|||
height: messageTextColumn.height + precalculatedValues.paddingMediumDouble
|
||||
width: precalculatedValues.backgroundWidth
|
||||
property bool isUnread: index > chatModel.getLastReadMessageIndex()
|
||||
color: isUnread ? Theme.secondaryHighlightColor : Theme.secondaryColor
|
||||
color: Theme.colorScheme === Theme.LightOnDark ? (isUnread ? Theme.secondaryHighlightColor : Theme.secondaryColor) : (isUnread ? Theme.backgroundGlowColor : Theme.overlayBackgroundColor)
|
||||
radius: parent.width / 50
|
||||
opacity: isUnread ? 0.5 : 0.2
|
||||
visible: appSettings.showStickersAsImages || myMessage.content['@type'] !== "messageSticker"
|
||||
|
|
|
@ -33,7 +33,7 @@ Item {
|
|||
anchors.centerIn: parent
|
||||
height: messageText.height + Theme.paddingMedium * 2
|
||||
width: Math.min(messageText.implicitWidth, messageText.contentWidth) + Theme.paddingMedium * 2
|
||||
color: Theme.rgba(Theme.secondaryColor, 0.1)
|
||||
color: Theme.colorScheme === Theme.LightOnDark ? Theme.rgba(Theme.secondaryColor, 0.1) : Theme.rgba(Theme.overlayBackgroundColor, 0.1)
|
||||
radius: parent.width / 50
|
||||
}
|
||||
Text {
|
||||
|
|
Loading…
Reference in a new issue