propagate group accent color to modules via accentColor chain

This commit is contained in:
Damocles 2026-04-12 22:14:45 +02:00
parent ec8672e837
commit 834bf808d0
20 changed files with 17 additions and 25 deletions

View file

@ -17,7 +17,7 @@ M.BarSection {
readonly property real volume: sink?.audio?.volume ?? 0
readonly property bool muted: sink?.audio?.muted ?? false
readonly property string _volumeIcon: muted ? "\uF026" : (volume > 0.5 ? "\uF028" : (volume > 0 ? "\uF027" : "\uF026"))
readonly property color _volumeColor: muted ? M.Theme.base04 : M.Theme.base0E
readonly property color _volumeColor: muted ? M.Theme.base04 : root.accentColor
readonly property var _sinkList: {
const sinks = [];