diff --git a/CHANGELOG.md b/CHANGELOG.md index 93ba052512e..28d10b93720 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,7 +57,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `# - We grouped the toolbar icons and changed the Open Library and Copy icons. [#4584](https://github.com/JabRef/jabref/issues/4584) - We added a browse button next to the path text field for aux-based groups. [#4586](https://github.com/JabRef/jabref/issues/4586) - We changed the title of Group Dialog to "Add subgroup" from "Edit group" when we select Add subgroup option. - +- We made modifications to improve contrast of UI elements. [#4583](https://github.com/JabRef/jabref/issues/4583) ### Fixed - We fixed an issue where corresponding groups are sometimes not highlighted when clicking on entries [#3112](https://github.com/JabRef/jabref/issues/3112) diff --git a/src/main/java/org/jabref/gui/Base.css b/src/main/java/org/jabref/gui/Base.css index 8b2cd80f7b1..642fe8dcf88 100644 --- a/src/main/java/org/jabref/gui/Base.css +++ b/src/main/java/org/jabref/gui/Base.css @@ -18,7 +18,7 @@ -jr-white: #ffffff; -jr-gray-0: #f2f2f2; - -jr-gray-1: #e6e6e6; + -jr-gray-1: #dddddd; -jr-gray-2: #808080; -jr-gray-3: #404040; -jr-black: #000; @@ -70,7 +70,7 @@ -jr-error: -jr-light-red; /* Color for the small group view indicator for the number of hits */ - -jr-group-hits-bg: derive(-jr-sidepane-background, -5%); + -jr-group-hits-bg: derive(-jr-sidepane-background, -50%); -jr-group-hits-fg: ladder( -jr-group-hits-bg, -fx-light-text-color 45%, @@ -84,8 +84,8 @@ -jr-tooltip-fg: -jr-black; /* Finally, some specific jr styles that depend on -fx definitions in *this* style */ - -jr-sidepane-background: -jr-gray-0; - -jr-sidepane-header-background: -jr-gray-0; + -jr-sidepane-background: -jr-gray-1; + -jr-sidepane-header-background: -jr-gray-1; -jr-sidepane-header-color: -jr-theme-text; /* Specs for the scrollbars */ @@ -116,7 +116,7 @@ */ -fx-control-inner-background: derive(-fx-base, 95%); /* Version of -fx-control-inner-background for alternative rows */ - -fx-control-inner-background-alt: derive(-fx-control-inner-background, -2%); + -fx-control-inner-background-alt: derive(-fx-control-inner-background, -6%); /* One of these colors will be chosen based upon a ladder calculation * that uses the brightness of a background color. Instead of using these diff --git a/src/main/java/org/jabref/gui/groups/GroupTree.css b/src/main/java/org/jabref/gui/groups/GroupTree.css index 0b8b66b1928..ecee1015d44 100644 --- a/src/main/java/org/jabref/gui/groups/GroupTree.css +++ b/src/main/java/org/jabref/gui/groups/GroupTree.css @@ -20,7 +20,7 @@ .numberColumn > .hits { -fx-font-size: 85%; -fx-background-color: -jr-group-hits-bg; - -fx-padding: 0.1em 0.4em 0.1em 0.4em; + -fx-padding: 0.4em 0.4em 0.4em 0.4em; -fx-background-insets: 0; -fx-background-radius: 0.8em; }