Re:What's in a Linux Executable?
by Tokelin on Thursday October 29, 2020 @07:11AM
(#24929230)
That's a "feature" of SVGs. The image is an SVG and since they are transparent it goes dark when switching.
[ Parent
| on HN ]
It’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.