Skip to content

Commit

Permalink
Do not hard-code colors in classic stylesheet for SearchBanner/KeeSha…
Browse files Browse the repository at this point in the history
…reBanner

Having the green-ish hard-coded color makes the banner stand out
too much when the platform native theming is used.
  • Loading branch information
pobrn authored and droidmonkey committed Oct 24, 2023
1 parent 029b4c2 commit 378c299
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/gui/styles/base/classicstyle.qss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 378c299

Please sign in to comment.