aboutsummaryrefslogtreecommitdiffstats
path: root/theme/components/LoginCard.qml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-17 13:05:41 +0200
committerDanilo M. <danix@danix.xyz>2026-09-17 13:05:41 +0200
commit34cc45d7b800aaa94f7718b6b48316575b09575a (patch)
tree2913d4a1ba1d3c2108f8339ab58c16c7106e92c0 /theme/components/LoginCard.qml
parentd53b21ab5b86c9b91b84f013901c7e5ba0762035 (diff)
downloadsddm-theme-udt-34cc45d7b800aaa94f7718b6b48316575b09575a.tar.gz
sddm-theme-udt-34cc45d7b800aaa94f7718b6b48316575b09575a.zip
feat: frosted backdrop behind the login card
Diffstat (limited to 'theme/components/LoginCard.qml')
-rw-r--r--theme/components/LoginCard.qml9
1 files changed, 5 insertions, 4 deletions
diff --git a/theme/components/LoginCard.qml b/theme/components/LoginCard.qml
index e980dfd..5f336d0 100644
--- a/theme/components/LoginCard.qml
+++ b/theme/components/LoginCard.qml
@@ -25,12 +25,13 @@ Item {
implicitWidth: 380
implicitHeight: column.implicitHeight + 2 * 28
- // Flat translucent surface. Task 4 layers the blur behind it.
- Rectangle {
+ // Frosted surface: the wallpaper behind the card, blurred and tinted.
+ Backdrop {
anchors.fill: parent
radius: card.radius
- color: config.stringValue("mantle")
- opacity: 0.82
+ sourceItem: card.backdropSource
+ tint: config.stringValue("mantle")
+ blurEnabled: config.boolValue("blur")
}
Rectangle {