Y
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
xigoi
680 days ago
Not even that, you should just use currentColor rather than black in SVGs.
link
layer8
679 days ago
Depends on whether you have control over the SVG contents or not.
link
xigoi
679 days ago
Why would you not have control over the markup of your own website?
link