I can understand how colors are meant to have semantic meaning, though in dark mode, often colors will not display well. An example, indeed text boxes (divs) can have a background to highlight some important text though they become unreadable, e.g. white text on a gray background. I think what iOS Books does is the best compromise, forcing all text to be light on dark and removing background colors. It's not ideal but without EPUBs specifically targeting dark mode, it is the most readable.
For dark mode, would you consider a different font color? White on black I think is a bit harsh. iOS indeed defaults to that for most apps in dark mode, though iOS Books uses #bebebe, gray on black, which I think is much easier on the eyes, particularly when reading in low light or in the dark.
|