I'm trying to find way to have multicolor vector icons with the Button/MenuButton UI5 Controls? I've read through the fonticon approach posted by kimmo Enhance UI5 app with custom icon fonts , but it seems that fonticons are limited to be single color because fonts are single color stencils. Ideally, what I'd like to have is the ability to use an external SVG file "use tag" resource as the icon for a button. Has anyone had success using an svg uri in a button? For example, as documented in icomoon https://icomoon.io/#docs/svg-png:
<svg class="icon-home">
<use xlink:href="symbol-defs.svg#icon-home"></use>
</svg>
OR is it possible to do: button.setIcon("symbol-defs.svg#icon-home");
I know could write my own custom control, but then I lose the benefit UI5 toolbar/button/menubutton/listitem tested code.
Thx