1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-27 06:52:50 -05:00

meta: replace rectangles with DankRectangle shapes

This commit is contained in:
bbedward
2025-11-10 16:16:25 -05:00
parent 201a7e3b34
commit 471938adb6
12 changed files with 97 additions and 429 deletions

View File

@@ -339,7 +339,7 @@ Variants {
}
}
Rectangle {
Item {
id: dockBackground
objectName: "dockBackground"
anchors {
@@ -360,16 +360,13 @@ Variants {
width: implicitWidth
height: implicitHeight
color: Qt.rgba(Theme.surfaceContainer.r, Theme.surfaceContainer.g, Theme.surfaceContainer.b, backgroundTransparency)
radius: Theme.cornerRadius
border.width: 1
border.color: Theme.outlineMedium
layer.enabled: true
clip: false
Rectangle {
DankRectangle {
anchors.fill: parent
color: Qt.rgba(Theme.surfaceTint.r, Theme.surfaceTint.g, Theme.surfaceTint.b, 0.04)
radius: parent.radius
color: Qt.rgba(Theme.surfaceContainer.r, Theme.surfaceContainer.g, Theme.surfaceContainer.b, backgroundTransparency)
overlayColor: Qt.rgba(Theme.surfaceTint.r, Theme.surfaceTint.g, Theme.surfaceTint.b, 0.04)
}
}