Conditional Dark Mode Image on GitHub README
Warning
Over a year old. May be outdated
The <picture> way from Setting different images for Light & Dark mode, applied to a README.
Backlinks1
240729Warning
The <picture> way from Setting different images for Light & Dark mode, applied to a README.
<a title="Stats" href="https://wakatime.com/@anaclumos">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://wakatime.com/share/@anaclumos/80665940-aee9-4368-b1f3-09fa010bbb09.svg">
<img alt="Stats" src="https://wakatime.com/share/@anaclumos/9a6d246d-af8d-41cf-9dbc-e6c288cce405.svg">
</picture>
</a>