Quote:
But these would also affect the document i'm creating, and i want to use dark mode only when editting the document.
|
That's not true. These settings apply only to the code view, so they do not affect the appearance of the final EPUB file.
Below is my personal opinion about the dark theme in Sigil.
As for the Apple system:
In Mojave and Catalina, a dark theme can be set directly on the system.
As for Windows:
Preparation of a dark theme in Sigil (and in PageEdit) is not trivial. It is true that you can achieve partial effects using:
- Preferences › Appearance › Fonts / Colors (colors in the code editor)
- creating the qt_styles.qss file (interface styling)
- creating the custom_preview_style.css file (styling in the preview window)
Unfortunately, several interface elements are hardcoded, so without editing the source code and graphic resources – you can't get the perfect (in terms of aesthetics and consistency) solution.
If you are interested, I can point out the exact places in the code that you should pay attention to when building Sigil.
When editing the source code, you can further increase Sigil's capabilities

The most interesting ideas are sure to find favor with developers.
As for Linux:
as above, although I haven't tested it too thoroughly.