diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-16 10:07:27 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-16 10:07:27 +0200 |
| commit | 5dca8ef48d2dc97c64ad236d2178d9557defd22d (patch) | |
| tree | a84ea2b35bee3240d261aa3760798de1cf26b499 /desktop/modules | |
| parent | 74de04faa4c51cf2a9442dcfe246dc04d1f8d19a (diff) | |
| download | quickshell-5dca8ef48d2dc97c64ad236d2178d9557defd22d.tar.gz quickshell-5dca8ef48d2dc97c64ad236d2178d9557defd22d.zip | |
style(user): the greeting is a header, not a card
With a surface and a border it read as one more notification in the
list under it. Only a faint hover tint remains.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules')
| -rw-r--r-- | desktop/modules/user/UserRow.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/modules/user/UserRow.qml b/desktop/modules/user/UserRow.qml index bd1fe0b..b67d591 100644 --- a/desktop/modules/user/UserRow.qml +++ b/desktop/modules/user/UserRow.qml @@ -27,9 +27,9 @@ Rectangle { implicitHeight: 64 radius: 12 - color: area.containsMouse ? Qt.alpha(Theme.accent, 0.22) : Qt.alpha(Theme.surface, 0.35) - border.width: 1 - border.color: Qt.alpha(Theme.text, 0.08) + // A header, not a card: nothing behind it until hovered, so it does not + // read as one more notification in the list below. + color: area.containsMouse ? Qt.alpha(Theme.accent, 0.12) : "transparent" function read() { reader.running = false; |
