View Single Post
Old 01-30-2017, 12:13 PM   #1
albertp007
Junior Member
albertp007 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2017
Device: Kindle Voyage, Kobo Aura One
Dark theme in Calibre for Windows 10

Hi all, there was a thread some time back about adding a couple of lines to read in a qss file to style the Calibre GUI. Not sure if anybody has done that already, but I have made a 4-liner change in the source code which hopefully won't break anything (famous last words!)

Basically, you add the environment variable "CALIBRE_QSS_PATH" and set it to be, well, the path of the qss file (absolute or relative to start directory). I took mine from https://github.com/ColinDuquesnoy/QDarkStyleSheet. The side panel on the left with the Authors, Titles, Tags etc is still light though, will need to tweak the qss a little bit. For now, I am just hiding it, I don't use it that often anyways.

If anybody is interested, let me know and I will co-ordinate to check it in. I actually don't know how to create a package so I am still running with CALIBRE_DEVELOP_FROM on. If anybody could point me somewhere, that would be very much appreciated.

Please see attached screenshot.

Cheers,
Albert
Attached Thumbnails
Click image for larger version

Name:	DarkCalibre.png
Views:	644
Size:	75.1 KB
ID:	154641  
albertp007 is offline   Reply With Quote