From eb4a19bb4ab7ed6152d23e3ef2a903f93f032485 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 7 Jun 2026 16:11:55 +1000 Subject: [PATCH] fix: invalid tPalette usage for fg colours --- modules/nexus/pages/BluetoothPage.qml | 2 +- modules/nexus/pages/NetworkPage.qml | 6 +++--- modules/nexus/pages/bluetooth/BluetoothPairing.qml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/nexus/pages/BluetoothPage.qml b/modules/nexus/pages/BluetoothPage.qml index eaa1e6e1..6fac102d 100644 --- a/modules/nexus/pages/BluetoothPage.qml +++ b/modules/nexus/pages/BluetoothPage.qml @@ -124,7 +124,7 @@ PageBase { StyledText { Layout.fillWidth: true text: device.connected ? qsTr("Connected%1").arg(device.modelData?.batteryAvailable ? " • " + Math.round(device.modelData.battery * 100) + "%" : "") : qsTr("Saved") - color: Colours.tPalette.m3outline + color: Colours.palette.m3outline font: Tokens.font.label.small elide: Text.ElideRight animate: true diff --git a/modules/nexus/pages/NetworkPage.qml b/modules/nexus/pages/NetworkPage.qml index 6b33bf39..b595a64d 100644 --- a/modules/nexus/pages/NetworkPage.qml +++ b/modules/nexus/pages/NetworkPage.qml @@ -133,7 +133,7 @@ PageBase { MaterialIcon { text: Icons.getNetworkIcon(network.modelData.strength) - color: network.modelData.active ? Colours.palette.m3primary : Colours.tPalette.m3onSurfaceVariant + color: network.modelData.active ? Colours.palette.m3primary : Colours.palette.m3onSurfaceVariant font: Tokens.font.icon.medium opacity: network.textOpacity } @@ -153,7 +153,7 @@ PageBase { StyledText { Layout.fillWidth: true text: qsTr("Security: %1%2").arg(network.modelData.security).arg(Nmcli.hasSavedProfile(network.modelData.ssid) ? qsTr(" • Saved") : "") - color: Colours.tPalette.m3outline + color: Colours.palette.m3outline font: Tokens.font.label.small elide: Text.ElideRight } @@ -167,7 +167,7 @@ PageBase { MaterialIcon { text: network.modelData.active ? "settings" : "lock" - color: network.modelData.active ? Colours.palette.m3primary : Colours.tPalette.m3onSurfaceVariant + color: network.modelData.active ? Colours.palette.m3primary : Colours.palette.m3onSurfaceVariant font: Tokens.font.icon.medium opacity: network.textOpacity } diff --git a/modules/nexus/pages/bluetooth/BluetoothPairing.qml b/modules/nexus/pages/bluetooth/BluetoothPairing.qml index 32b234b1..f6e308ff 100644 --- a/modules/nexus/pages/bluetooth/BluetoothPairing.qml +++ b/modules/nexus/pages/bluetooth/BluetoothPairing.qml @@ -127,7 +127,7 @@ PageBase { MaterialIcon { text: Icons.getBluetoothIcon(newDevice.modelData?.icon ?? "") - color: Colours.tPalette.m3onSurfaceVariant + color: Colours.palette.m3onSurfaceVariant font: Tokens.font.icon.medium opacity: newDevice.textOpacity } @@ -147,7 +147,7 @@ PageBase { StyledText { Layout.fillWidth: true text: newDevice.modelData?.pairing ? qsTr("Pairing...") : (newDevice.modelData?.address ?? "") - color: Colours.tPalette.m3outline + color: Colours.palette.m3outline font: Tokens.font.label.small elide: Text.ElideRight animate: true