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
Why not let the user choose their own svg with a placeholder with ? I am thinking of how important is to be able to theme. Any application with a dark theme will be broken this way.
The current implementation uses the tag setting the icon as a background-image from the css. In this manner, it is impossible to use the currentColor variable that comes with the SVG. (https://stackoverflow.com/questions/13367868/how-to-modify-the-fill-color-of-an-svg-image-when-being-served-as-background-ima)
A possible solution is to apply a mask to each icon from the global theme, but it doesn't work well with all icons
The best approach would be to insert the svg inside of each toolbar component instead of using the tag
For the previous example, the you would replace :
with
This way the currentColor variable will take the text color.
The text was updated successfully, but these errors were encountered: