mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
Fix reply and topic colors
This commit is contained in:
parent
c793506dc4
commit
057e1f5c67
2 changed files with 7 additions and 5 deletions
|
@ -31,7 +31,7 @@ EventDelegateChooser {
|
|||
Layout.fillWidth: true
|
||||
//Layout.maximumWidth: implicitWidth
|
||||
|
||||
color: type == MtxEvent.NoticeMessage ? palette.buttonText : palette.text
|
||||
color: type == MtxEvent.NoticeMessage ? palette.active.buttonText : palette.active.text
|
||||
font.italic: type == MtxEvent.NoticeMessage
|
||||
formatted: formattedBody
|
||||
keepFullText: true
|
||||
|
@ -48,7 +48,7 @@ EventDelegateChooser {
|
|||
Layout.fillWidth: true
|
||||
//Layout.maximumWidth: implicitWidth
|
||||
|
||||
color: TimelineManager.userColor(userId, palette.base)
|
||||
color: TimelineManager.userColor(userId, palette.active.base)
|
||||
font.italic: true
|
||||
formatted: TimelineManager.escapeEmoji(userName) + " " + formattedBody
|
||||
keepFullText: true
|
||||
|
@ -63,7 +63,7 @@ EventDelegateChooser {
|
|||
required property string userName
|
||||
|
||||
body: ''
|
||||
color: palette.buttonText
|
||||
color: palette.active.buttonText
|
||||
font.italic: true
|
||||
font.pointSize: Settings.fontSize * 0.8
|
||||
formatted: ''
|
||||
|
@ -83,7 +83,7 @@ EventDelegateChooser {
|
|||
|
||||
Layout.fillWidth: true
|
||||
body: formatted
|
||||
color: palette.buttonText
|
||||
color: palette.active.buttonText
|
||||
font.italic: true
|
||||
formatted: {
|
||||
switch (callType) {
|
||||
|
@ -109,7 +109,7 @@ EventDelegateChooser {
|
|||
|
||||
Layout.fillWidth: true
|
||||
body: formatted
|
||||
color: palette.buttonText
|
||||
color: palette.active.buttonText
|
||||
font.italic: true
|
||||
formatted: {
|
||||
switch (type) {
|
||||
|
|
|
@ -125,6 +125,8 @@ Pane {
|
|||
Layout.row: 2
|
||||
clip: true
|
||||
enabled: false
|
||||
// don't use the disabled color
|
||||
color: topBar.palette.text
|
||||
selectByMouse: false
|
||||
text: roomTopic
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue