From c50c970e4279e963db4e462c15881f573d075069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Sat, 10 Aug 2024 14:26:17 +0200 Subject: [PATCH] chore(StatusBetaTag): make fg color configurable --- ui/StatusQ/src/StatusQ/Components/StatusBetaTag.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/StatusQ/src/StatusQ/Components/StatusBetaTag.qml b/ui/StatusQ/src/StatusQ/Components/StatusBetaTag.qml index e9e5b0afeb..f2905ddc38 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusBetaTag.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusBetaTag.qml @@ -7,6 +7,7 @@ import StatusQ.Core.Theme 0.1 Rectangle { id: root + property color fgColor: Theme.palette.baseColor1 property alias tooltipText: tip.text implicitHeight: 20 @@ -14,13 +15,12 @@ Rectangle { radius: 4 color: "transparent" border.width: 1 - border.color: Theme.palette.baseColor1 + border.color: root.fgColor StatusBaseText { - id: label font.pixelSize: 11 font.weight: Font.Medium - color: Theme.palette.baseColor1 + color: root.fgColor anchors.centerIn: parent text: "Beta" }