bar groups: gradient background connecting to top border
This commit is contained in:
parent
784ded0a32
commit
e96ccf7f63
1 changed files with 10 additions and 0 deletions
|
|
@ -36,6 +36,16 @@ Item {
|
|||
shadowHorizontalOffset: 0
|
||||
}
|
||||
|
||||
// Background gradient — accent color fading down, connects to bar's top gradient
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
radius: M.Theme.radius
|
||||
gradient: Gradient {
|
||||
GradientStop { position: 0; color: Qt.rgba(root.borderColor.r, root.borderColor.g, root.borderColor.b, 0.15) }
|
||||
GradientStop { position: 1; color: "transparent" }
|
||||
}
|
||||
}
|
||||
|
||||
// Visible border (on top of the glow)
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue