Over Light should invert foreground color from white to black. #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is looking really great.
Much of the accessibility gripes from the community comes from the white on white.
Apple's implementation looks at the bg color and adapts so it's always readable.
It's not possible to do what Apple does on the web platform, but there is an
overLightprop to manually tell the component when it's on top of a light section. I've used it with intersection observers to great effectIf you can detect that it's over light why can't you add the class text-black when overlight === true?
I made a fork and tried but couldn't get it to work though.