New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No more white icons? #804
Comments
@mweiczorek if you click the dark grey area in the bottom left of the side nav, next to the blue button with the download icon and svg 24, the options panel pops up allowing you to select either black or white. Depending on the application of the icon you can also color it yourself programmatically. |
Yeah, I did that obviously. |
Just use the <style> element in the svg and use selectors to set color on path you want
|
Sample with white color.
|
@mweiczorek To be clear, and to add on to @hjchin 's solution, to fix this you will need to set the before: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/>
</svg> after: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none"/>
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" fill="#FFFFFF"/>
</svg> The first path there happens to be the background, so Hope this is helpful 😃. My team is using individually downloaded |
Good |
This was working for a while, even after being moved to fonts.google.com, but within the last month or so it appears to have broken again. TO REPRODUCE:
Doubt it matters, but I'm on Chrome 103.0.5060.134 running under Windows 10. It's not a big deal to manually fix the file by editing it, but it's still frustrating that it's broken again. Thanks! |
Today there is no option to download the white symbols in Google Material fonts.
|
This workaround is bad, what about people that want to download a white png? |
https://material.io/tools/icons/?icon=menu&style=baseline
I select the white icon, but the black one downloads.
The old interface was better...
The text was updated successfully, but these errors were encountered: