track styled popup

This commit is contained in:
kossLAN 2025-07-16 23:43:43 -04:00
parent e82ef6e0c1
commit 189144099b
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8

View file

@ -0,0 +1,32 @@
import QtQuick
import Quickshell
import Quickshell.Widgets
import ".."
PopupWindow {
id: root
color: "transparent"
implicitWidth: container.width
implicitHeight: container.height
default property alias contentItem: container.children
WrapperRectangle {
id: container
margin: 5
radius: 12
color: {
let base = ShellSettings.colors.surface;
return Qt.rgba(base.r, base.g, base.b, 0.15);
}
border {
width: 1
color: {
let base = ShellSettings.colors.active;
return Qt.rgba(base.r, base.g, base.b, 0.05);
}
}
}
}