From e96ccf7f63852293e422a7a3febb888a4401a0d3 Mon Sep 17 00:00:00 2001 From: Damocles Date: Sun, 12 Apr 2026 17:21:24 +0200 Subject: [PATCH] bar groups: gradient background connecting to top border --- modules/BarGroup.qml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/BarGroup.qml b/modules/BarGroup.qml index 5237165..faafb9a 100644 --- a/modules/BarGroup.qml +++ b/modules/BarGroup.qml @@ -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