zotero-night icon indicating copy to clipboard operation
zotero-night copied to clipboard

Scrollbar theming

Open jil24 opened this issue 2 years ago • 3 comments

The add-in works amazingly. Thank you. Is it possible to do anything about the scrollbar color? I am on Mac OS, but looking at screenshots on other OSs the scrollbars also don't appear dark.

zotero-night scrollbars: image

firefox scrollbars, for comparison: image

jil24 avatar May 31 '22 09:05 jil24

Yeah this is a good q, I actually don't know why the searchbars aren't dark. I resorted to setting scrollbar visibilty to "scroll only". Maybe I need to set the background of the main document dark?

It might be that this is something fucky with the type of "web page" that Zotero is using, which has been an endless source of frustration. It doesn't follow the normal HTML5 spec but uses some custom version of Mozilla's XUL, which means it doesn't have stuff like document.body, which MacOS might use to determine the background color. I'll have a looksy

tefkah avatar May 31 '22 14:05 tefkah

I wonder if it has anything to do with this wontfix? https://bugzilla.mozilla.org/show_bug.cgi?id=1513602

jil24 avatar May 31 '22 17:05 jil24

I will fix this when version 7 comes out, as newer Firefox allows you to theme scrollbars. This means that I won't fix this in version 6!

https://www.zotero.org/support/dev/zotero_7_for_developers

tefkah avatar Sep 27 '22 12:09 tefkah