add accentColor property to BarIcon and BarLabel for proper color propagation
This commit is contained in:
parent
b3e919514a
commit
7dbbb89455
4 changed files with 8 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue