View Single Post
Old 06-30-2022, 08:49 AM   #27
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,849
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by BeckyEbook View Post
I found the problem described by @RbnJrg interesting. I thought it was just a special case that could be solved by the trivial editing of custom_preview_style.css, however, some toggler of custom stylesheets could be a nice addition.
Thank you very much Becky! Your solution was astounding! I compiled Sigil with Qt6 and your tweak worked flawlessly (I suppose it must also work with Qt5).

I definitely think that your improvement should be part of future versions of Sigil because it is pure profit without any drawback. It can be applied not only in my case (which I am looking for inverted colors) but in many other totally different ones (for example, a user might want the text contained in <p> tags are seen in the Preview Panel in one color and the text contained in <div> tags are seen in another color, etc., etc.). And now I think that what you made it could be applied not only for users that work in dark mode but also in users that work in the normal one. Fantastic solution, many, many thanks Becky!
RbnJrg is offline   Reply With Quote