diff --git a/shell/widgets/StyledPopup.qml b/shell/widgets/StyledPopup.qml new file mode 100644 index 0000000..8afa616 --- /dev/null +++ b/shell/widgets/StyledPopup.qml @@ -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); + } + } + } +}