Skip to content

Commit d3b193c

Browse files
davidemdottobiasdiez
authored andcommitted
Fix background color of dialogs in dark mode (#4994)
* Fix background color of dialogs in dark mode * Update CHANGELOG * Add new line at end of Base.css * Revert "Update CHANGELOG" This reverts commit 13a313a.
1 parent 9322cde commit d3b193c

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

src/main/java/org/jabref/gui/Base.css

+4
Original file line numberDiff line numberDiff line change
@@ -1032,3 +1032,7 @@ We want to have a look that matches our icons in the tool-bar */
10321032
-fx-font-size: 1.5em;
10331033
-fx-padding: 1em 0em 1em 0em;
10341034
}
1035+
1036+
.dialog-pane {
1037+
-fx-background-color: -fx-control-inner-background;
1038+
}

src/main/java/org/jabref/gui/help/AboutDialog.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
.about-heading {
22
-fx-font-size: 30;
3+
-fx-text-fill: -jr-theme;
34
}
45

56
.about-heading:pressed {
6-
-fx-text-fill: -fx-focus-color;
7+
-fx-text-fill: -jr-selected;
78
}
89

910
.top-padding {
@@ -33,7 +34,7 @@
3334
}
3435

3536
.info-sections {
36-
-fx-padding: 5px;
37+
-fx-padding: 5px;
3738
}
3839

3940
.logo-pane {

src/main/java/org/jabref/gui/preferences/PreferencesDialog.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#sideMenu {
2-
-fx-background-color: -jr-white;
2+
-fx-background-color: -fx-control-inner-background;
33
-fx-border-color: -fx-outer-border;
44
-fx-border-width: 1;
55
}
66

77
#sideMenu > .virtual-flow > .clipped-container > .sheet > .list-cell {
88
-fx-padding: 8 8 8 8;
9-
-fx-background: -jr-white;
9+
-fx-background: -fx-control-inner-background;
1010
}
1111

1212
.preferencePaneContainer {

0 commit comments

Comments
 (0)