1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-16 02:12:51 -05:00
Files
DankMaterialShell/quickshell/Modules/DankDash/Overview/Card.qml
2025-11-12 17:18:45 -05:00

22 lines
495 B
QML

import QtQuick
import QtQuick.Controls
import qs.Common
Rectangle {
id: card
property int pad: Theme.spacingM
radius: Theme.cornerRadius
color: Theme.withAlpha(Theme.surfaceContainerHigh, Theme.popupTransparency)
border.color: Qt.rgba(Theme.outline.r, Theme.outline.g, Theme.outline.b, 0.08)
border.width: 1
default property alias content: contentItem.data
Item {
id: contentItem
anchors.fill: parent
anchors.margins: card.pad
}
}