summaryrefslogtreecommitdiff
path: root/bar/Mpris.qml
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-07-28 19:33:35 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-07-28 19:33:35 +0800
commitaa61a728976a53129df138e7e64431833a4fccba (patch)
tree1bb6743d23a075344fc890529e0cf3c3d3633ffa /bar/Mpris.qml
parent1d921b13ff9bf20bc76ea5c8275360c6708a249c (diff)
refactor(colors): use background2 instead of d2, and use a proper config for transparency
Diffstat (limited to 'bar/Mpris.qml')
-rw-r--r--bar/Mpris.qml4
1 files changed, 2 insertions, 2 deletions
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 {