From 7ea19d14d0183e05e97e3331d52cc7f60a029941 Mon Sep 17 00:00:00 2001 From: Alexandra Betouni Date: Fri, 23 Sep 2022 16:51:00 +0300 Subject: [PATCH] fix(CommunityListTags): fixed gradiend on dark theme Closes #7257 --- .../CommunitiesPortal/controls/CommunityTagsRowButton.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/CommunitiesPortal/controls/CommunityTagsRowButton.qml b/ui/app/AppLayouts/CommunitiesPortal/controls/CommunityTagsRowButton.qml index 5baebee5c2..beb9023475 100644 --- a/ui/app/AppLayouts/CommunitiesPortal/controls/CommunityTagsRowButton.qml +++ b/ui/app/AppLayouts/CommunitiesPortal/controls/CommunityTagsRowButton.qml @@ -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() } -} \ No newline at end of file +}