New theme + Network.qml has it's more theme variables now

This commit is contained in:
SomeElse
2026-05-25 07:10:35 +00:00
parent 7adef7e7f9
commit 1ba70f3f14
17 changed files with 384 additions and 4 deletions

View File

@@ -69,8 +69,8 @@ ModuleChip {
readonly property string displayIcon: hasWifi ? wifiIcon : ""
readonly property color iconColor: {
if (hasWifi) return wifiUp ? t.statusOk : t.statusErr
if (hasWired) return wiredUp ? t.statusOk : t.statusErr
if (hasWifi) return wifiUp ? t.netWifiIconOk : t.netWifiIconErr
if (hasWired) return wiredUp ? t.netEthIconOk : t.netEthIconErr
return t.textDim
}
@@ -461,7 +461,7 @@ ModuleChip {
Text {
text: root.wiredUp ? "\uf0601" : "\uf0602"
color: root.wiredUp ? root.t.statusOk : root.t.statusErr
color: root.wiredUp ? root.t.netEthIconOk : root.t.netEthIconErr
font.pixelSize: 18
Layout.alignment: Qt.AlignVCenter
}