4 ms·
What’s really neat is that when you switch to dark mode in the bottom left corner, the image flips to dark mode too!
by mfsch 6y ago
What’s really neat is that when you switch to dark mode in the bottom left corner, the image flips to dark mode too!
- Tokelin 6y agoThat's a "feature" of SVGs. The image is an SVG and since they are transparent it goes dark when switching.
- mfsch 6y agoIt’s not just that the image is transparent though, because the color of the text changes too. I thought perhaps it’s using the site CSS to style SVG elements (which appears to be possible, though I haven’t tried it), but it turns out it’s just a CSS filter `invert(83%) hue-rotate(180deg)`. Still, it looks great and I’m impressed by the attention to detail.
- Tokelin 6y agoAh, serves me right for not seeing it myself and assuming it was just the background. Thanks for the additional info.
- BRedSox 6y agoOkay, this is driving me crazy. Where?
- coldpie 6y agoBottom-left of the article linked in the OP, not the linked SVG image itself.
- lights0123 6y agoIt's a very low-contrast sun in the bottom left corner.