diff --git a/CHANGELOG.md b/CHANGELOG.md index 826575581e4..008972b30c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve - We fixed an issue where the Harvard RTF exporter did not use the new authors formatter and therefore did not export "organization" authors correctly. [4508](https://github.com/JabRef/jabref/issues/4508) - We fixed an issue where the field `urldate` was not exported to the corresponding fields `YearAccessed`, `MonthAccessed`, `DayAccessed` in MS Office XML [#7354](https://github.com/JabRef/jabref/issues/7354) - We fixed an issue where the password for a shared SQL database was only remembered if it was the same as the username [#6869](https://github.com/JabRef/jabref/issues/6869) +- We fixed an issue where the file path is invisible in dark theme. [#7382](https://github.com/JabRef/jabref/issues/7382) ### Removed diff --git a/src/main/java/org/jabref/gui/Base.css b/src/main/java/org/jabref/gui/Base.css index ffe7cd3f04f..eacdf4815ac 100644 --- a/src/main/java/org/jabref/gui/Base.css +++ b/src/main/java/org/jabref/gui/Base.css @@ -642,6 +642,10 @@ -fx-background-color: -jr-warn; } +.file-row-text{ + -fx-fill: -jr-search-text; +} + .combo-box-base { -fx-background-color: -fx-outer-border, -fx-control-inner-background; -fx-background-insets: 0, 1; diff --git a/src/main/java/org/jabref/gui/fieldeditors/LinkedFilesEditor.java b/src/main/java/org/jabref/gui/fieldeditors/LinkedFilesEditor.java index b005a1a0624..acba658aaec 100644 --- a/src/main/java/org/jabref/gui/fieldeditors/LinkedFilesEditor.java +++ b/src/main/java/org/jabref/gui/fieldeditors/LinkedFilesEditor.java @@ -141,8 +141,10 @@ private static Node createFileDisplay(LinkedFileViewModel linkedFile) { icon.setOnMouseClicked(event -> linkedFile.open()); Text link = new Text(); link.textProperty().bind(linkedFile.linkProperty()); + link.getStyleClass().setAll("file-row-text"); Text desc = new Text(); desc.textProperty().bind(linkedFile.descriptionProperty()); + desc.getStyleClass().setAll("file-row-text"); ProgressBar progressIndicator = new ProgressBar(); progressIndicator.progressProperty().bind(linkedFile.downloadProgressProperty());