fix(StatusChatInput): improve code highlighting in code snippet/blocks
- make the bg/fg color follow our current Style/Theme colors Fixes: #8649
This commit is contained in:
parent
9e396f7344
commit
6f1ecb9c8c
|
@ -68,7 +68,7 @@ Theme {
|
|||
property color backgroundTertiary: tenPercentBlue
|
||||
property color pillButtonTextColor: secondaryText
|
||||
property color chatReplyCurrentUser: lightGrey
|
||||
property color codeBackground: "#EEF2F5"
|
||||
property color codeBackground: graphite2
|
||||
property color primarySelectionColor: "#b4c8ff"
|
||||
property color emojiReactionBackground: "#2d2823"
|
||||
property color emojiReactionBackgroundHovered: "#3a3632"
|
||||
|
|
|
@ -68,7 +68,7 @@ Theme {
|
|||
property color backgroundTertiary: tenPercentBlue
|
||||
property color pillButtonTextColor: white
|
||||
property color chatReplyCurrentUser: darkGrey
|
||||
property color codeBackground: "#EEF2F5"
|
||||
property color codeBackground: grey2
|
||||
property color primarySelectionColor: "#b4c8ff"
|
||||
property color emojiReactionBackground: "#e2e6e9"
|
||||
property color emojiReactionBackgroundHovered: "#d7dadd"
|
||||
|
|
|
@ -1356,6 +1356,8 @@ Rectangle {
|
|||
|
||||
StatusSyntaxHighlighter {
|
||||
quickTextDocument: messageInputField.textDocument
|
||||
codeBackgroundColor: Style.current.codeBackground
|
||||
codeForegroundColor: Style.current.textColor
|
||||
}
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit d1926ff252c7645b04cfff014d6a6c80313d8628
|
||||
Subproject commit 742a139b07338f23390b5d6ee84924424bbc8974
|
Loading…
Reference in New Issue