From 8d209a5424c75683775604a74098aeaeabdd5ba5 Mon Sep 17 00:00:00 2001 From: Akseli Lahtinen Date: Mon, 18 Dec 2023 16:23:00 +0000 Subject: [PATCH] Make it easier to spot reaction buttons In dark themes it can be very hard to spot the reaction buttons when using compact mode. Before: ![image](/uploads/f499f5fd16be353c5fef9b1a08e99522/image.png) After: ![image](https://invent.kde.org/network/neochat/uploads/86e6cecc546d73481dff79debdcadc3f/image.png) Also this uses the given colorscheme so it will work everywhere :smile: --- src/qml/ReactionDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/ReactionDelegate.qml b/src/qml/ReactionDelegate.qml index f3c4346a2..20d2f529e 100644 --- a/src/qml/ReactionDelegate.qml +++ b/src/qml/ReactionDelegate.qml @@ -53,7 +53,7 @@ Flow { background: Kirigami.ShadowedRectangle { color: reactionDelegate.hasLocalUser ? Kirigami.Theme.positiveBackgroundColor : Kirigami.Theme.backgroundColor Kirigami.Theme.inherit: false - Kirigami.Theme.colorSet: Kirigami.Theme.View + Kirigami.Theme.colorSet: Config.compactLayout ? Kirigami.Theme.Window : Kirigami.Theme.View radius: height / 2 shadow { size: Kirigami.Units.smallSpacing