aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop/assistant/Card.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/assistant/Card.qml b/desktop/assistant/Card.qml
index f4dc71d..150e483 100644
--- a/desktop/assistant/Card.qml
+++ b/desktop/assistant/Card.qml
@@ -216,8 +216,10 @@ Rectangle {
implicitHeight: 62
radius: 8
opacity: on ? 1 : 0.4
- color: area.pressed && on ? Qt.alpha(Theme.accent, 0.35)
- : area.containsMouse && on ? Qt.alpha(Theme.accent, 0.18)
+ // Opaque when lit: the glow sits beneath the tile, and a translucent
+ // fill let it wash out the icon and the label.
+ color: area.pressed && on ? Qt.tint(Theme.surface, Qt.alpha(Theme.accent, 0.35))
+ : area.containsMouse && on ? Qt.tint(Theme.surface, Qt.alpha(Theme.accent, 0.18))
: Qt.alpha(Theme.surface, 0.8)
border.width: 1
border.color: Qt.alpha(Theme.text, 0.12)