The Icon property determines the icon that will be shown in front of the caption of the button. Possible options are: no icon a glyphicon a (bitmap) image Glyphicons come from the Bootstrap Halflings collection. The advantages of a glyphicon over a bitmap image are that they are scalable, look sharp on high-resolution screens, and their color can be changed by changing the font color. The advantage of an image icon is that it can have multiple colors.
Could you please extend upon the up above described platform feature, that custom icon sets are also able to benefit from font color changes if the SVG code includes fill="currentColor”
since current implementation renders the icon as <img src="path/to/svg” alt="my-custom-icon-that-currently-cant-change-colors-easily”>
The feature fill="currentColor” depends on the svg being rendered as <svg> element. And yes this might introduce new security issues as svg elements can also include scripts. Like I would also be fine with color pickers for the icon in the configuration of an icon.