-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The entry preview window does not load my customized visual theme #7068
Comments
The file is right, but the highlight function is only used for highlighting search results in the preview. jabref/src/main/java/org/jabref/gui/preview/PreviewViewer.java Lines 119 to 129 in 6dec174
|
Maybe simply adding a toggle "The custom theme is a dark theme" to pass the test |
I would just change the condition and replace it with != Theme.Type.LIGHT |
Eagerly waiting for this change. Thanks! |
JabRef 5.2--2020-10-15--13a80ba
Windows 10 10.0 amd64
Java 14.0.2
The entry preview window does not load my customized visual theme as the rest of the GUI. I loaded my customized visual theme (copy of the source
Dark.css
file) but was not able to change colors of the preview textarea to match the dark theme of the rest of the GUI. Instead selecting "Dark theme" from Options > Appearance correctly makes the background dark.Steps to reproduce the behavior:
Dark.css
fileI suspect the problem is in file:
jabref-master\src\main\java\org\jabref\gui\preview\PreviewViewer.java
where I don’t see any reference to theme in JS_HIGHLIGHT_FUNCTION definition or in setPreviewText() function, so the#previewBody
block inDark.css
has no effect.The text was updated successfully, but these errors were encountered: