From 4792f2f322bee9ee2a2c4ed62386150f162ebd8b Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 29 Jul 2025 15:04:20 +0800 Subject: refactor(colors): configurable accent color --- bar/Mpris.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bar/Mpris.qml') diff --git a/bar/Mpris.qml b/bar/Mpris.qml index 506232c..93872cb 100644 --- a/bar/Mpris.qml +++ b/bar/Mpris.qml @@ -52,14 +52,14 @@ Item { value: activePlayer?.position || 0 background: IRect { anchors.fill: parent - color: Colors.background2 + color: Colors.accent radius: Style.rounding.smaller } contentItem: Item { IRect { width: pBar.visualPosition * parent.width height: parent.height - color: Qt.rgba(Colors.background1.r, Colors.background1.g, Colors.background1.b, General.accentTransparency * 1.5) + color: Qt.rgba(Colors.accentAlt.r, Colors.accentAlt.g, Colors.accentAlt.b, General.accentTransparency * 1.5) radius: Style.rounding.smaller Behavior on width { -- cgit v1.2.3