aboutsummaryrefslogtreecommitdiffstats
path: root/theme/components/LoginCard.qml
diff options
context:
space:
mode:
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 {