add accentColor property to BarIcon and BarLabel for proper color propagation

This commit is contained in:
Damocles 2026-04-17 18:10:48 +02:00
parent b3e919514a
commit 7dbbb89455
4 changed files with 8 additions and 6 deletions

View file

@ -5,7 +5,7 @@ import "." as M
M.BarIcon {
id: root
color: root.active ? M.Theme.base09 : (parent?.accentColor ?? M.Theme.base05)
color: root.active ? M.Theme.base09 : root.accentColor
tooltip: {
const parts = ["Idle inhibition: " + (root.active ? "active" : "inactive")];
if (root._inhibitors)