themed icons for states
This commit is contained in:
parent
a67cdbd66f
commit
df58449ef5
4 changed files with 13 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue