Remove more old MPalette stuff
This commit is contained in:
@@ -12,7 +12,6 @@ import NeoChat.Component 1.0
|
||||
import NeoChat.Component.Emoji 1.0
|
||||
import NeoChat.Dialog 1.0
|
||||
import NeoChat.Effect 1.0
|
||||
import NeoChat.Setting 1.0
|
||||
|
||||
import org.kde.neochat 1.0
|
||||
|
||||
@@ -121,7 +120,7 @@ ToolBar {
|
||||
background: Rectangle {
|
||||
visible: !isEmoji
|
||||
color: highlighted ? border.color : "transparent"
|
||||
border.color: isEmoji ? MPalette.accent : modelData.color
|
||||
border.color: isEmoji ? Kirigami.Theme.focusColor : modelData.color
|
||||
border.width: 2
|
||||
radius: height / 2
|
||||
}
|
||||
|
||||
@@ -23,8 +23,8 @@ RowLayout {
|
||||
readonly property bool darkBackground: !sentByMe
|
||||
readonly property bool replyVisible: reply ?? false
|
||||
readonly property bool failed: marks == EventStatus.SendingFailed
|
||||
readonly property color authorColor: eventType == "notice" ? MPalette.primary : author.color
|
||||
readonly property color replyAuthorColor: replyVisible ? reply.author.color : MPalette.accent
|
||||
readonly property color authorColor: eventType == "notice" ? Kirigami.Theme.activeTextColor : author.color
|
||||
readonly property color replyAuthorColor: replyVisible ? reply.author.color : Kirigami.Theme.focusColor
|
||||
|
||||
property alias mouseArea: controlContainer.children
|
||||
|
||||
|
||||
Reference in New Issue
Block a user