Hacker News new | ask | show | jobs
by layer8 681 days ago
Displaying black on white in dark mode is still bad. In principle, CSS invert() should be able to do the trick for SVGs. You’d have to test it on all relevant browsers though.
1 comments

Not even that, you should just use currentColor rather than black in SVGs.
Depends on whether you have control over the SVG contents or not.
Why would you not have control over the markup of your own website?