propagate accent color to workspaces, tray, window title; round workspace pills
This commit is contained in:
parent
834bf808d0
commit
32a1bb8fa8
3 changed files with 5 additions and 5 deletions
|
|
@ -64,7 +64,7 @@ RowLayout {
|
|||
M.ThemedIcon {
|
||||
anchors.fill: parent
|
||||
source: iconItem.modelData.icon
|
||||
tint: iconItem._needsAttention ? M.Theme.base08 : M.Theme.base0D
|
||||
tint: iconItem._needsAttention ? M.Theme.base08 : (root.parent?.accentColor ?? M.Theme.base05)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -76,13 +76,13 @@ M.BarSection {
|
|||
layer.enabled: true
|
||||
layer.effect: MultiEffect {
|
||||
colorization: 1.0
|
||||
colorizationColor: M.Theme.base0D
|
||||
colorizationColor: root.accentColor
|
||||
}
|
||||
}
|
||||
|
||||
M.BarLabel {
|
||||
label: root._title
|
||||
color: M.Theme.base0D
|
||||
color: root.accentColor
|
||||
elide: Text.ElideRight
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
|
|
|
|||
|
|
@ -88,8 +88,8 @@ Row {
|
|||
|
||||
width: M.Theme.fontSize + 4
|
||||
height: M.Theme.fontSize + 4
|
||||
radius: M.Theme.radius
|
||||
color: pill.active ? M.Theme.base0D : (pill._hovered ? M.Theme.base03 : M.Theme.base02)
|
||||
radius: width / 2
|
||||
color: pill.active ? (root.parent?.accentColor ?? M.Theme.base0D) : (pill._hovered ? M.Theme.base03 : M.Theme.base02)
|
||||
Behavior on color {
|
||||
ColorAnimation {
|
||||
duration: 150
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue