Reblogged by slightlyoff@toot.cafe ("Alex Russell"):
benschwarz@front-end.social wrote:
Turns out you can use CSS `light-dark` for SVG element colours.
As long as the SVGs is inlined to the page, you can bake in both light and dark mode colour 🌄
Reblogged by slightlyoff@toot.cafe ("Alex Russell"):
benschwarz@front-end.social wrote:
Turns out you can use CSS `light-dark` for SVG element colours.
As long as the SVGs is inlined to the page, you can bake in both light and dark mode colour 🌄