fix: use accentColor in volume, backlight, and mpris panels

This commit is contained in:
Damocles 2026-04-13 20:04:46 +02:00
parent 19eedf9c0e
commit 6c91fc031c
3 changed files with 9 additions and 9 deletions

View file

@ -365,7 +365,7 @@ M.BarSection {
anchors.rightMargin: 12
anchors.verticalCenter: parent.verticalCenter
text: modelData.description || modelData.name || "Unknown"
color: parent._active ? M.Theme.base0E : M.Theme.base05
color: parent._active ? root.accentColor : M.Theme.base05
font.pixelSize: M.Theme.fontSize
font.family: M.Theme.fontFamily
font.bold: parent._active
@ -472,7 +472,7 @@ M.BarSection {
Rectangle {
width: parent.width * Math.min(1, Math.max(0, streamEntry._vol))
height: parent.height
color: streamEntry._muted ? M.Theme.base04 : M.Theme.base0E
color: streamEntry._muted ? M.Theme.base04 : root.accentColor
radius: 2
}