Hi all,
It's my very first post in this community but I have been authoring ePubs and used Sigil for a while.
I'm also actively collaborating with FreeCAD (
https://www.freecadweb.org/), as a result I have created some themes with Qt stylesheets.
I have
adapted and improved them for use in Sigil
Here you have some examples, they are 24 variants in total:
Here you can download and install them:
https://github.com/pgilfernandez/sigil_stylesheets
In the GitHub repository I explain it all but I would like to note here the problems I faced while creating the themes just in case Sigil developers feel like improving the theme selection and/or collaborate with me in order to include them in the official builds:
- you can just select one stylesheet. It would be nice to have a preference entry to select between a list of .qss files
- you should set a full path for all images (icons) inside the qt_styles.qss file so that they are drawn in Sigil. It would be nice that a "Preferences folder location" variable is set so that the stylesheet just writes "qss:" and Sigil changes/find them on the fly.
- inside Tools > Add cover... window there is a splitter that shows zoomed, it seems to be something hardcoded.
- as Sigil already lets user setup some colors inside Preferences > Appearance, it's kind of messy because you need to "synchronize" colors from the stylesheet with those color Preferences in order to get a final nice theme. It would be desirable that all "Code editor" colors can be accessible by Preferences > Appearance and another Preference entry let user choose between a list of UI styles (.qss files).
I hope you like them
Cheers