chore(StatusBetaTag): make fg color configurable

This commit is contained in:
Lukáš Tinkl 2024-08-10 14:26:17 +02:00 committed by Lukáš Tinkl
parent 9acf723ddc
commit c50c970e42
1 changed files with 3 additions and 3 deletions

View File

@ -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"
}