mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-25 14:02:53 -05:00
- notifications - color picker - process list - settings - control center, dash - launcher part of #1059
25 lines
555 B
QML
25 lines
555 B
QML
import QtQuick
|
|
import qs.Common
|
|
|
|
Rectangle {
|
|
id: card
|
|
|
|
LayoutMirroring.enabled: I18n.isRtl
|
|
LayoutMirroring.childrenInherit: true
|
|
|
|
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
|
|
}
|
|
}
|