Investigating Dark Mode for SVG’s in GitHub readmes
Jun 13, 2021
This weekend I set out to introduce support for @github’s dark mode in the SVG logos of our repositories at @laravelphp.
I failed.
Here’s why: https://driesvints.com/blog/investigating-dark-mode-for-svgs-in-github-readmes
tl;dr: media queries in SVG’s are tricky and referencing outside data attributes isn’t possible.