From 378c2992cd43811fec53e969c978fb710dcd3e01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Sun, 8 Oct 2023 20:34:14 +0200 Subject: [PATCH] Do not hard-code colors in classic stylesheet for SearchBanner/KeeShareBanner Having the green-ish hard-coded color makes the banner stand out too much when the platform native theming is used. --- src/gui/styles/base/classicstyle.qss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/styles/base/classicstyle.qss b/src/gui/styles/base/classicstyle.qss index f7d3c0fb47..d0ab2b88fc 100644 --- a/src/gui/styles/base/classicstyle.qss +++ b/src/gui/styles/base/classicstyle.qss @@ -9,8 +9,9 @@ QToolTip { DatabaseWidget #SearchBanner, DatabaseWidget #KeeShareBanner { font-weight: bold; - background-color: rgb(94, 161, 14); - border: 1px solid rgb(190, 190, 190); + background-color: palette(highlight); + color: palette(highlighted-text); + border: 1px solid palette(dark); padding: 2px; }