propagate group accent color to modules via accentColor chain
This commit is contained in:
parent
ec8672e837
commit
834bf808d0
20 changed files with 17 additions and 25 deletions
|
|
@ -22,7 +22,7 @@ M.BarSection {
|
|||
readonly property int _critThresh: M.Modules.battery.critical || 15
|
||||
readonly property int _warnThresh: M.Modules.battery.warning || 25
|
||||
readonly property bool _critical: pct < _critThresh && !charging
|
||||
property color _stateColor: charging ? M.Theme.base0B : _critical ? M.Theme.base09 : pct < _warnThresh ? M.Theme.base0A : M.Theme.base08
|
||||
property color _stateColor: charging ? M.Theme.base0B : _critical ? M.Theme.base09 : pct < _warnThresh ? M.Theme.base0A : root.accentColor
|
||||
property real _blinkOpacity: 1
|
||||
|
||||
SequentialAnimation {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue