Loading SVGs that support light/dark mode is painful.
If you try to inline a <style> tag, it won't work in Safari. And unless you're going inline the SVG, the only solution as far as I can tell is to make two SVG files.
Then you have to use a <picture> element to include each file.
about 1 year ago