diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-17 13:05:41 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-17 13:05:41 +0200 |
| commit | 34cc45d7b800aaa94f7718b6b48316575b09575a (patch) | |
| tree | 2913d4a1ba1d3c2108f8339ab58c16c7106e92c0 /theme/components/LoginCard.qml | |
| parent | d53b21ab5b86c9b91b84f013901c7e5ba0762035 (diff) | |
| download | sddm-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.qml | 9 |
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 { |
