New Plugin: Night for Zotero
Hi!
Inspired by some other editors that do this (most notably Emacs), I made a plugin which allows you to read pdfs in dark mode! Of course, since just having the pdfs dark would be a bit silly, it also does dark mode for everything else if you're into that.
It's not completely done (small tweaks mostly) and I'd like to develop this plugin a bit further to allow people to define their own themes and share them, but for now it works pretty well!
Check it out and let me know what you think!
https://github.com/ThomasFKJorna/zotero-night/
Inspired by some other editors that do this (most notably Emacs), I made a plugin which allows you to read pdfs in dark mode! Of course, since just having the pdfs dark would be a bit silly, it also does dark mode for everything else if you're into that.
It's not completely done (small tweaks mostly) and I'd like to develop this plugin a bit further to allow people to define their own themes and share them, but for now it works pretty well!
Check it out and let me know what you think!
https://github.com/ThomasFKJorna/zotero-night/
I have installed it and it works very well. I had Rosmaninho's theme, with some adaptations of my own, but I find this one better, especially because it works with the PDF reader. Thank you!
'npm run release' will also drop test builds on issues BTW if your branches are named 'gh-[issue number]' and you push to that branch.
I note that some menu doesn't' seem to be "darked", mainly the preferences panes.
Also, but is a very small detail, maybe I would re-work the moon/sun icon, that made me tick a little : maybe a smaller sun and another moon? But again I can totally live with it. Great job!
Anyway I set it up "properly" now, thank you so much for making the Zotero scaffold! Makes it possible to actually do things, I remember losing my mind a year or two ago trying to set everything up myself hahaha.
Because of this and some other bugs, I have disabled this plugin, and went back to Rosmaninho's css file approach.
But if you want to use the traditional CSS style and customize your themes, another addon, ZoteroTheme, enables users to modify and apply the CSS easily. You can create different themes and modify the color for each theme, based on Rosmaninho's CSS file.
It also provides a green-background PDF reader style.
https://github.com/iShareStuff/ZoteroTheme
https://github.com/q77190858/zotero-pdf-background
1) Since installing this plugin, the general search feature seems to be behaving differently - before, when searching on a keyword, only the actual items containing that keyword would show - but now, I think the entire collection containing that item shows? Is this behavior by design?
Maybe this item is related to the issue mentioned above about items in a collection not working because now that I uninstalled Zotero night, I think the search feature was working the same way with/without the night addon. It's just that with the night addon, the distinction of which items were direct hits was not pronounced in night mode. So this is still a bug?
2) Is there a way to default the pdf reader to be dark mode? I tried setting the night preference in my top menu, but that doesn't seem to stick
3) The search feature within a note seems to show the search text as a very light gray/hard to see against a white search box - is this result by design also?
Aside from the above overall, this plugin is great - I echo the others' comments!
I tried to install "zotero-night-0.4.20.xpi" but it did nothing. The installation was completed successfully and I restarted Zotero, but it's still the white theme. In the add-on settings, I tried switching it from "default" to "on" but nothing chnaged.
I also tried the file "night.xpi" but it too didn't do anything.
These are the latest files from here: https://github.com/tefkah/zotero-night/releases/tag/v0.4.20
I installed via Tools > Add-ons > Install file from file. I also tried dragging the .xpi file into the window. In both cases, I get a prompt saying the installation was completed successfully.
I tried uninstalling Zotero, making sure to manually wipe any residual files inside:
C:\Users\Name
C:\Users\Name\AppData\Roaming
C:\Users\Name\AppData\Local
I can't think of anything else to try. Is this version of Zotero just incompatible with the add-on?