From fa880e8390cdb24a9e4467da3b9542d00bb974ad Mon Sep 17 00:00:00 2001 From: Sighthesia Date: Wed, 12 Nov 2025 13:22:29 +0800 Subject: [PATCH] SystemMonitor: restore metrics' icon color --- Modules/Bar/Widgets/SystemMonitor.qml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Modules/Bar/Widgets/SystemMonitor.qml b/Modules/Bar/Widgets/SystemMonitor.qml index d3b9fe8e..fd74e770 100644 --- a/Modules/Bar/Widgets/SystemMonitor.qml +++ b/Modules/Bar/Widgets/SystemMonitor.qml @@ -185,7 +185,7 @@ Rectangle { applyUiScale: false anchors.centerIn: parent // Invert color to bar background when indicator active - color: (cpuWarning || cpuCritical) ? Color.mSurfaceVariant : textColor + color: (cpuWarning || cpuCritical) ? Color.mSurfaceVariant : Color.mOnSurface } } @@ -257,7 +257,7 @@ Rectangle { applyUiScale: false anchors.centerIn: parent // Invert color when temp indicator active - color: (tempWarning || tempCritical) ? Color.mSurfaceVariant : textColor + color: (tempWarning || tempCritical) ? Color.mSurfaceVariant : Color.mOnSurface } } @@ -322,7 +322,7 @@ Rectangle { applyUiScale: false anchors.centerIn: parent // Invert color when memory indicator active - color: (memWarning || memCritical) ? Color.mSurfaceVariant : textColor + color: (memWarning || memCritical) ? Color.mSurfaceVariant : Color.mOnSurface } @@ -470,7 +470,7 @@ Rectangle { Layout.row: isVertical ? 1 : 0 Layout.column: 0 // Invert color when disk indicator active - color: (diskWarning || diskCritical) ? Color.mSurfaceVariant : textColor + color: (diskWarning || diskCritical) ? Color.mSurfaceVariant : Color.mOnSurface } NText {