Quote:
Originally Posted by EuroScribe
Yes, is there any potential problem with it?
|
On e-ink screens black and white for text and bars/rules are really the only safe colors to use. And even then you don't want to use "black" and "white" or their hex equivalents but instead use "color: inherit;" for the text color so that it will work in night mode as pointed out by phillipgessert. E.g., in my boilerplate CSS I have
a.text-color {
color: inherit;
}
so that it's black (in day mode), not the usual blue, which comes out as gray on e-ink. There is also the builtin color currentColor.
See also
https://friendsofepub.github.io/eBookTricks/