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

@ -44,13 +44,12 @@ M.BarSection {
return root.count > 0 ? "\uDB80\uDCA0" : "\uDB82\uDE93";
return root.count > 0 ? "\uDB84\uDD6B" : "\uDB80\uDC9C";
}
color: root.count > 0 ? M.Theme.base0D : (root.dnd ? M.Theme.base04 : M.Theme.base0D)
color: root.dnd ? M.Theme.base04 : root.accentColor
anchors.verticalCenter: parent.verticalCenter
}
M.BarLabel {
id: countLabel
label: root.count > 0 ? String(root.count) : ""
color: M.Theme.base0D
anchors.verticalCenter: parent.verticalCenter
transform: Scale {