View Single Post
Old 10-12-2020, 07:47 PM   #18
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,590
Karma: 14328510
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by EuroScribe View Post
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/
hobnail is offline   Reply With Quote