Verified Commit 64d89d94 authored by Melvin Keskin's avatar Melvin Keskin Committed by Linus Jahn

Use consistent colors for message counter

Signed-off-by: Linus Jahn's avatarLinus Jahn <lnj@kaidan.im>
parent 91680882
......@@ -29,6 +29,7 @@
*/
import QtQuick 2.7
import org.kde.kirigami 2.8 as Kirigami
Rectangle {
property int counter: 0
......@@ -36,12 +37,12 @@ Rectangle {
id: counterCircle
radius: counterCircle.height * 0.5
color: muted ? "grey" : "#4CAF50"
color: muted ? "lightgray" : Kirigami.Theme.positiveTextColor
Text {
id: msgCounter
text: counter
color: "white"
color: Kirigami.Theme.backgroundColor
anchors.centerIn: parent
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment