change svg logo color
woss opened this issue · comments
Hi, how can use this package together with the changing the SVG logo depending on the theme?
if it's an inline SVG, you can set the color in CSS for each theme
If it's svg file used as <img>
tag, you can't control the color using CSS but you can use 2 different <img>
and then hide them using CSS based on theme.
i'm afraid i don't get it.
can you please give an example?
also why is not possible to use https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme ?