Quote:
Originally Posted by morty92222
Thank you. But why does my CSS work for day mode if the reader got its own already?
|
Users can choose whatever background colors they want. When you
force colors, this may lead to a serious readability problem.
The most common of these is tools/programs/people accidentally setting the text as "black":
Code:
p {
color: #000000;
}
And people don't notice it, because "white background is the default" (see Word, LibreOffice, InDesign, etc. etc.).
So when Apple flips over to Night Mode, they probably specifically override font colors to make sure that "black-on-black" (or another unreadable combination) doesn't happen.
A lot of this was discussed in:
2020:
"Colored Text, EPUB, Android Dark Mode"
or I explained a similar situation with images of music notes
♫♫♫♫♫♫♫ and changing background/font colors:
2016:
"Problem with inline image" (Posts #14 + #22)