Targeted iBooks mode css
#1  scruffs 06-29-2020, 01:45 PM
Please forgive if this is not the correct forum.

I am trying to target the background mode on Apple Books in CSS.

I can get sepia working with:

div.thing {
background-color : #ffff00;

but I cannot get Night or Gray working with:

div.thing {
background-color : #00ffff;

Info on the web seems to indicate that it should work.


#2  kyteflyer 06-30-2020, 01:27 PM
Do you have to define the background colours? I thought those were part of the app itself, like the fonts. You’re only allowed access to a subset of the available fonts on the device.

#3  scruffs 06-30-2020, 01:36 PM
So far as I can see it is literally impossible to create a single image with opacity that meets minimum accessibility requirements across all four theme modes.

Today's Posts | Search this Thread | Login | Register