diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-17 15:09:22 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-17 15:09:22 +0200 |
| commit | f36d49e8a2341cc3855dc592461d39154bb6b74a (patch) | |
| tree | fadce6530ddad47e57d79705999a4dc30c973731 /theme/components/PowerBar.qml | |
| parent | fdc2d0ae0a4cf5606295e5ee7c619d559478baca (diff) | |
| download | sddm-theme-udt-f36d49e8a2341cc3855dc592461d39154bb6b74a.tar.gz sddm-theme-udt-f36d49e8a2341cc3855dc592461d39154bb6b74a.zip | |
feat: bold clock, left-aligned uppercase date, 96px greeting
Greeting wraps so it stays inside the panel, and the power buttons
gain a hover effect (icon scales and the surface highlights).
Diffstat (limited to 'theme/components/PowerBar.qml')
| -rw-r--r-- | theme/components/PowerBar.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/theme/components/PowerBar.qml b/theme/components/PowerBar.qml index 88bdee6..1e35fb1 100644 --- a/theme/components/PowerBar.qml +++ b/theme/components/PowerBar.qml @@ -42,6 +42,7 @@ Row { radius: 10 color: config.stringValue("surface0") opacity: mouse.containsMouse && modelData.enabled ? 1 : 0 + Behavior on opacity { NumberAnimation { duration: 120; easing.type: Easing.OutCubic } } } Image { @@ -66,6 +67,8 @@ Row { colorizationColor: mouse.containsMouse && modelData.enabled ? config.stringValue("accent") : config.stringValue("subtext0") + scale: mouse.containsMouse && modelData.enabled ? 1.15 : 1.0 + Behavior on scale { NumberAnimation { duration: 120; easing.type: Easing.OutCubic } } } MouseArea { |
