https://material.io/tools/icons/?icon=menu&style=baseline
I select the white icon, but the black one downloads.
The old interface was better...
@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.
The problem is that when I try and download the white icon as SVG, what downloads is the black icon. There are no clues within the SVG itself as to how to alter the fill color.
Just use the
Most helpful comment
@mweiczorek To be clear, and to add on to @hjchin 's solution, to fix this you will need to set the
fillvalue of one (and possibly more)paths in thesvg. Here is an example of me updating theirarrow_backicon to be white:before:
after:
The first path there happens to be the background, so
fill="none"is correctly used to make it transparent. The second path is the path that draws the back arrow icon itself.Hope this is helpful :smiley:. My team is using individually downloaded
svgs to prevent the bloat that would come with importing the whole@material-uilibrary just for a few icons.