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 {
|
Rectangle {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
property color fgColor: Theme.palette.baseColor1
|
||||||
property alias tooltipText: tip.text
|
property alias tooltipText: tip.text
|
||||||
|
|
||||||
implicitHeight: 20
|
implicitHeight: 20
|
||||||
|
@ -14,13 +15,12 @@ Rectangle {
|
||||||
radius: 4
|
radius: 4
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
border.width: 1
|
border.width: 1
|
||||||
border.color: Theme.palette.baseColor1
|
border.color: root.fgColor
|
||||||
|
|
||||||
StatusBaseText {
|
StatusBaseText {
|
||||||
id: label
|
|
||||||
font.pixelSize: 11
|
font.pixelSize: 11
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
color: Theme.palette.baseColor1
|
color: root.fgColor
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
text: "Beta"
|
text: "Beta"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue