Customizing 5.0 user interface
dstillman
Zotero Team
This discussion was created from comments split from: Now available: Zotero 5.0.
Upgrade Storage
From a quick test, it doesn't seem like chrome/userChrome.css works, though you can play with that more. But the Zotero UI is XUL/HTML/CSS, so in theory anything can be customized. Just a question of how much effort is involved.
(I would think a dark theme was more a job for the OS or a generic utility than something to do in individual applications, though.)
So far I have tried editing the em:targetApplication for Stylish (the extension I use to theme websites in Firefox) so that I can install it within Zotero standalone. However, whilst it installs the "Write New Style" button does not work and the "Install from URLs..." results in the add-on freezing after entering a URL.
Thanks fcheslack for the info. If I fail in editing the CSS I will try tinkering with GTK on Windows. I think, however, that there is a plain inheritance of the OS elements by Zotero rather than a reliance on GTK itself so it might not translate to Windows.
\chrome\skin\default\zotero\overlay.css
\resource\tinymce\skins\lightgray\content.min.css
Will need to make a few other small changes to padding etc as there are white lines in couple of places - such as left edge of the Notes tab. Additionally, while text colour changes in the tags panel the background remains white. Overall though I've been able to recreate majority of what I had when using Firefox.
Edit: To fix the tag box all that was needed was to comment out the #tags box background-color: -moz-field; line in the tagselector.css file.
The end result (so far) - http://constellations.scot/wp-content/uploads/2017/07/ZoteroCustomCSS.png
now you can find it over here:
https://pastebin.com/BNyUf2xN
i copied the script into userchrome.css in the zotero profile folder (created a new /chrome folder).
the result is far from perfect - but a good start.
C:\Users\*YOU*\AppData\Roaming\Zotero\Zotero\Profiles\*blablabla*.default\Chrome\
you should create the 'Chrome' folder in the profile folder itself
and copy the userChrome.css into it.
Thanks so much for replying so promptly. If you have any other tips, please share but I don't really know what to ask to troubleshoot this further.
(C:\Users\*YOU*\AppData\Roaming\Zotero\Zotero\Profiles\*blablabla*.default\)
in the new Chrome folder create a new file named 'userChrome.css'.
paste the css script into the 'userChrome.css' file.
than restart zotero...
this is the result:
https://i.imgur.com/TQuNHKd.png
I had it in the profiles folder - misread how you meant 'you should create the 'Chrome' folder in the profile folder itself'.
https://imgur.com/a/ppngS74
Do you have an updated version that would you like to share?
Thank you.
on mac it doesn't play nice with items themselves, so they become unreadable, though the background and info panels work. which indicates to me that it is possible with some tweaking
https://raw.githubusercontent.com/nickdvlpr/Redesign-for-Zotero/main/screenshots/redesign_for_zotero_2021.png?token=ABSCOL2KEXRVO4AIE5V6DP3ALOOK2
https://raw.githubusercontent.com/nickdvlpr/Redesign-for-Zotero/main/screenshots/redesign_dark_for_zotero_2021.png?token=ABSCOL7XDA72EJAWOF4SRGDAK77QY
@tomhigley @itayhad @quinq
Thanks so much!