If you support light and dark mode and you have SVG icons, you need a way to have them adapt automatically:
<style> path { fill: black;} @media (prefers-color-scheme: dark) { path { fill: white; } } </style>
source
Date: 2025-03-21
Tags: svg
Share: