Commit 285ee08b authored by Nate Graham's avatar Nate Graham 🔩

Use Header colors for Desktop style ToolBar

This will fall back to the current Window colors when using a color
scheme without Header colors, so there is no visual change right now.
However this ensures that we are prepared for the new Breeze color
scheme once it lands.
parent 0da81325
......@@ -25,6 +25,10 @@ T.ToolBar {
position: controlRoot.parent.footer == controlRoot ? ToolBar.Footer : ToolBar.Header
background: Rectangle {
implicitHeight: 40
// Use header colors if available; if not, this will fall back to
// Window colors
Kirigami.Theme.colorSet: Kirigami.Theme.Header
Kirigami.Theme.inherit: false
color: Kirigami.Theme.backgroundColor
Kirigami.Separator {
anchors {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment