From 5d7f1f3fd9e85b15286a0ea43e69252f4f58df77 Mon Sep 17 00:00:00 2001 From: Damocles Date: Sun, 12 Apr 2026 17:01:53 +0200 Subject: [PATCH] add gradient top border on bar --- modules/Bar.qml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/Bar.qml b/modules/Bar.qml index 7bfc4ed..f492ba5 100644 --- a/modules/Bar.qml +++ b/modules/Bar.qml @@ -27,6 +27,18 @@ PanelWindow { opacity: M.Theme.barOpacity } + Rectangle { + anchors.top: parent.top + anchors.left: parent.left + anchors.right: parent.right + height: 3 + gradient: Gradient { + orientation: Gradient.Horizontal + GradientStop { position: 0; color: M.Theme.base0C } + GradientStop { position: 1; color: M.Theme.base09 } + } + } + Item { anchors.fill: parent anchors.leftMargin: M.Theme.barPadding