3 ms·
I'm not using any dark theme addons or similar, just the standard prefers-color-scheme, and I have the same problem. So they just didn't account for their websi
by cmeacham98 4y ago
I'm not using any dark theme addons or similar, just the standard prefers-color-scheme, and I have the same problem. So they just didn't account for their website's dark mode when writing the article.
- themaninthedark 4y agoWindows dark theme here and I had the same problem. I clicked the light mode on the website and then back to dark mode and it was fixed. So their website is reading your theme and adjusting the background correctly but fails to adjust the test and diagrams.
- notRobot 4y agoHighlighting the diagram makes it readable.
- danieg 4y agoAuthor 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 https://github.com/system-ui/theme-ui/issues/1602). I've just pushed a workaround that appears to have fixed it.
- V__ 4y agoI 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.