View Single Post
Old 07-14-2018, 09:41 AM   #12
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 876
Karma: 3501146
Join Date: Jan 2017
Location: Poland
Device: Various
@slowsmile
Oh, you forgot about the UI graphics.
QSS styles are unfortunately a more complicated matter
From the source link (github) you must also copy the "rc" folder to the preferences folder.

In Windows you need edit qss file and change all:
Code:
:/qss_icons
to
Code:
C:/Users/USERNAME/AppData/Local/sigil-ebook/sigil
Of course USERNAME is your folder name.

I can suspect that preparing a perfect dark theme is impossible without the help of Sigil programmers and probably some modifications to the source code.

E.g:
QTableView is used in Validation Resuls window and in a table with a list of installed plugins.
I have no idea how to set the independent text color in both windows, so I used the {color: #666666;}, which looks decent in both places.

I set the colors in Code View by setting custom colors (Edit > Preferences > Appearance)

I set the colors in Book View and Preview Window by a single-line custom_preview_style.css file

Code:
body {background-color: #232629; color: #EFF0F1;}
Attached Thumbnails
Click image for larger version

Name:	sigil-darkmode-becky-v20180714.png
Views:	972
Size:	278.7 KB
ID:	165033  
BeckyEbook is online now   Reply With Quote