From aa61a728976a53129df138e7e64431833a4fccba Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 28 Jul 2025 19:33:35 +0800 Subject: refactor(colors): use background2 instead of d2, and use a proper config for transparency --- 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 d4289ae..506232c 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.d2 + color: Colors.background2 radius: Style.rounding.smaller } contentItem: Item { IRect { width: pBar.visualPosition * parent.width height: parent.height - color: Qt.rgba(Colors.d1.r, Colors.d1.g, Colors.d1.b, Colors.d2.a * 2) + color: Qt.rgba(Colors.background1.r, Colors.background1.g, Colors.background1.b, General.accentTransparency * 1.5) radius: Style.rounding.smaller Behavior on width { -- cgit v1.2.3