refactor: extract PopupBackground component for shared panel styling

This commit is contained in:
Damocles 2026-04-13 20:26:34 +02:00
parent 1dea93e1bd
commit 50af43a76e
7 changed files with 26 additions and 42 deletions

View file

@ -0,0 +1,15 @@
import QtQuick
import "." as M
Rectangle {
property color accentColor: M.Theme.base05
color: M.Theme.base01
opacity: Math.max(M.Theme.barOpacity, 0.85)
topLeftRadius: 0
topRightRadius: 0
bottomLeftRadius: M.Theme.radius
bottomRightRadius: M.Theme.radius
border.color: accentColor
border.width: 1
}