You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if you could render the SVG in darkmode using the setting in @media (prefers-color-scheme: dark)
by passing a parameter for what color scheme you're in.
No. There isn't a way to do it at the moment. But you could do it yourself by checking the dark mode setting and passing different CSS to the renderToX() methods.
Parsing @media queries properly is quite complicated. So in the interest of keeping the library small, I've kind-of avoided adding support for them. But I'll keep this issue alive for now as a feature request.
It would be nice if you could render the SVG in darkmode using the setting in @media (prefers-color-scheme: dark)
by passing a parameter for what color scheme you're in.
Is there already a way to do this?
https://www.palantir.com/icon.svg
The text was updated successfully, but these errors were encountered: