chore(StatusBetaTag): make fg color configurable
This commit is contained in:
parent
9acf723ddc
commit
c50c970e42
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue