diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-07-29 15:04:20 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-07-29 15:04:20 +0800 |
| commit | 4792f2f322bee9ee2a2c4ed62386150f162ebd8b (patch) | |
| tree | 6af40a0b5ff8327806b5c2618f8870cfd516b6db /bar/Mpris.qml | |
| parent | d971fd6a620f4ab044d38154f75d806307d4b367 (diff) | |
refactor(colors): configurable accent color
Diffstat (limited to 'bar/Mpris.qml')
| -rw-r--r-- | bar/Mpris.qml | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |
