This commit is contained in:
müde 2026-03-15 23:25:33 +01:00
parent c7e8c1a9f5
commit 269a336f50
6 changed files with 194 additions and 0 deletions

View file

@ -0,0 +1,30 @@
import Quickshell
import QtQuick.Layouts
import QtQuick
Rectangle {
default property alias content: container.data
property color pillAccentColor: Theme.colors.foreground
property color backgroundColor: Theme.colors.background
palette {
text: pillAccentColor
windowText: pillAccentColor
}
color: backgroundColor
border.color: pillAccentColor
border.width: 2
radius: 15
implicitHeight: container.implicitHeight
implicitWidth: container.implicitWidth + 16
RowLayout {
id: container
anchors.centerIn: parent
spacing: 8
}
}