AnsweredAssumed Answered

How do obtain SVG Preview in the Icon Picker?

Question asked by Malcolm on Oct 6, 2015
Latest reply on Oct 8, 2015 by jrenfrew

How do we get a preview image in the SVG icon picker when we import our own SVG?

 

I know that the image must be 24x24px. If I use a fill colour that is white or grey I can see that the preview image is being generated. However, to manipulate the icon colour using the button: icon formatter or via conditional formatting, the icon must be black.

 

I presume that the icon picker is displaying a black image on a black background, so it's invisible. How is it that the default icons are able to generate a visible preview? I've looked at them and copied them without success.

Outcomes