gpu module: use inherited accent color instead of load-dependent color

This commit is contained in:
Damocles 2026-04-22 20:06:06 +02:00
parent 50f04372b1
commit 4c3f4a1691

View file

@ -40,7 +40,6 @@ M.BarSection {
M.BarIcon { M.BarIcon {
icon: "\uDB84\uDCB0" icon: "\uDB84\uDCB0"
color: root._loadColor(S.SystemStats.gpuUsage)
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
TapHandler { TapHandler {
onTapped: root._pinned = !root._pinned onTapped: root._pinned = !root._pinned
@ -49,7 +48,6 @@ M.BarSection {
M.BarLabel { M.BarLabel {
label: S.SystemStats.gpuUsage + "%" label: S.SystemStats.gpuUsage + "%"
minText: "100%" minText: "100%"
color: root._loadColor(S.SystemStats.gpuUsage)
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
TapHandler { TapHandler {
onTapped: root._pinned = !root._pinned onTapped: root._pinned = !root._pinned