Dark theme for main ZOtero window (black background, white text)
Most Windows programs have settings to set the background to black and the text colour to white (or some other colour-scheme that's easier on the eyes than the default black-on-white). It would be very nice if this option appeared in a future version of Zotero!
This discussion has been closed.
Thanks for such a great product.
Yes, that is not surprising. Zotero didn't use those values from Firefox, and so it still doesn't use them as a standalone. But you do bring up an interesting idea: it would make sense to set some of the colors as variables that can be easily changed through that interface.
https://zerowidthjoiner.net/negativescreen
Changing text colour in Zotero's settings doesn't seem to have an effect. Not particularly keen to change my whole system theme for one app. Does anyone know if there's something in the source that can be changed maybe?
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.
If they could make Zotero compatible with the theme engine of either one, it would be awesome.
/*:::::::::::::::::::::::::::::::::::::::::::::::::::: Zotero :::::::::::::::::::::::::::::::::::::::::::::::::::*/
#main-window[stylish-url="chrome://zotero/content/tab.xul"] #nav-bar { visibility: visible !important }
#main-window[stylish-url="chrome://zotero/content/tab.xul"] #customToolbars,
#main-window[stylish-url="chrome://zotero/content/tab.xul"] #PersonalToolbar { visibility: collapse!important }
/*#PersonalToolbar {visibility: hidden !important;}*/
/*#navigator-toolbox:hover > #PersonalToolbar {visibility: visible !important;}*/
/*#main-window[stylish-url="chrome://zotero/content/tab.xul"] #BookmarkslToolbar { visibility: hidden!important; }*/
* {border: 0 !important; }
#zotero-tb, #zotero-toolbar{ background: #696969 !important;
color: #eee !important; }
#zotero-splitter{ background: #696969 !important; }
#zotero-pane{ background: #696969 !important;
color: #aaa !important; }
grippy{ opacity: .5 !important; }
treechildren,
tabpanel *{ background: #333 !important;
color: #aaa !important; }
tab[selected="true"]{ background: #333 !important; }
tab{ -moz-appearance: none !important;
color: #eee !important;
background: #222 !important;
border-top: 0px solid rgba(127,127,127,0.2) !important;
border-left: 0px solid rgba(127,127,127,0.2) !important;
border-right: 2px solid rgba(127,127,127,0.2) !important;
border-radius: 0px !important;
border-bottom-left-radius: 0px !important;
border-bottom-right-radius: 0px !important; }
tab:hover{ color: #eee !important;
background: RGB(51, 153, 255) !important;
box-shadow: inset 0px 0px 0px !important;
border-radius: 0px 0px 0 0 !important; }
/* Folders */
treechildren::-moz-tree-image(folderNameCol) { list-style-image: url("folder-pane/folder.svg") !important; }
In the meantime I tried to use the script Pedro Rosmaninho nicely shared, unfortunately I put it in the zotero profile folder and it didn't change a thing. If someone could explain where to put it or if I need something else I'd be very grateful :)