fix(CommunityListTags): fixed gradiend on dark theme

Closes #7257
This commit is contained in:
Alexandra Betouni 2022-09-23 16:51:00 +03:00 committed by Alexandra Betouni
parent 36a56a8af3
commit 7ea19d14d0
1 changed files with 3 additions and 2 deletions

View File

@ -2,6 +2,7 @@ import QtQuick 2.14
import utils 1.0
import shared.panels 1.0
import StatusQ.Core.Theme 0.1
Rectangle {
id: root
@ -15,7 +16,7 @@ Rectangle {
gradient: Gradient {
orientation: Gradient.Horizontal
GradientStop { position: mirrored ? 0.0 : 1.0; color: "transparent" }
GradientStop { position: 0.5; color: "white" }
GradientStop { position: 0.5; color: Theme.palette.statusAppLayout.backgroundColor }
}
SVGImage {
@ -33,4 +34,4 @@ Rectangle {
cursorShape: Qt.PointingHandCursor
onClicked: root.clicked()
}
}
}