Use Header colors in PlasmoidHeading headers
This brings applets with distinct heading areas into visual consistency with windows, once the Tools Area MR lands. When using a color scheme that lacks Header colors, there is no visual change whatsoever.
This commit is contained in:
parent
f47f98da0b
commit
b40a1fbdf0
@ -55,6 +55,10 @@ import QtQuick.Templates 2.12 as T
|
||||
visible: fromCurrentTheme
|
||||
imagePath: "widgets/plasmoidheading"
|
||||
prefix: location == PlasmoidHeading.Location.Header? 'header' : 'footer'
|
||||
|
||||
colorGroup: location == PlasmoidHeading.Location.Header ? PlasmaCore.Theme.HeaderColorGroup : PlasmaCore.Theme.WindowColorGroup
|
||||
PlasmaCore.ColorScope.inherit: false
|
||||
|
||||
enabledBorders: {
|
||||
var borders = 0
|
||||
borders |= PlasmaCore.FrameSvg.LeftBorder
|
||||
|
Loading…
Reference in New Issue
Block a user