summaryrefslogtreecommitdiffstats
path: root/resources/qml/delegates/Reply.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/delegates/Reply.qml')
-rw-r--r--resources/qml/delegates/Reply.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/qml/delegates/Reply.qml b/resources/qml/delegates/Reply.qml
index 87eb371a..55607952 100644
--- a/resources/qml/delegates/Reply.qml
+++ b/resources/qml/delegates/Reply.qml
@@ -54,7 +54,7 @@ AbstractButton {
anchors.top: replyContainer.top
anchors.bottom: replyContainer.bottom
width: 4
- color: TimelineManager.userColor(userId, Nheko.colors.base)
+ color: TimelineManager.userColor(userId, timelineRoot.palette.base)
}
onClicked: {
@@ -134,8 +134,8 @@ AbstractButton {
z: -1
anchors.fill: replyContainer
- property color userColor: TimelineManager.userColor(userId, Nheko.colors.base)
- property color bgColor: Nheko.colors.base
+ property color userColor: TimelineManager.userColor(userId, timelineRoot.palette.base)
+ property color bgColor: timelineRoot.palette.base
color: Qt.tint(bgColor, Qt.hsla(userColor.hslHue, 0.5, userColor.hslLightness, 0.1))
}