themed icons for states

This commit is contained in:
Damocles 2026-04-12 14:37:37 +02:00
parent a67cdbd66f
commit df58449ef5
4 changed files with 13 additions and 4 deletions

View file

@ -61,12 +61,13 @@ M.BarSection {
return "\uDB85\uDE16";
return "\uDB82\uDCFD";
}
color: root.state === "disconnected" ? M.Theme.base08 : M.Theme.base05
anchors.verticalCenter: parent.verticalCenter
}
Text {
visible: root.state === "wifi"
text: root.essid
color: M.Theme.base05
color: root.state === "disconnected" ? M.Theme.base08 : M.Theme.base05
font.pixelSize: M.Theme.fontSize + 1
font.family: M.Theme.fontFamily
anchors.verticalCenter: parent.verticalCenter