Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
danieg
· 3y ago · 0 comments
Author here, apologies for the dark mode issue and thanks for flagging it -- looks to be an open bug in theme-ui (
https://github.com/system-ui/theme-ui/issues/1602
).
I've just pushed a workaround that appears to have fixed it.
Comments
[–]
V__
3y ago
I wrote it a bit further down, but another solution is to use SVG's with stroke='currentColor' instead. This value uses the inherited text-color and would therefore always work.