Closed jensens closed 5 years ago
+1 for svg icon support
So +1 for svg in addon icons via icon_expr
. Support was there in all previous Plone, it's just an <img>
.
However I ask if this shouldn't be a fallback, yep, another way of doing things. The reason is that I don't think we'd like to have vanilla configlet icons implemented in one way and addons' in another. We could:
I think it's okay to have svg a a fallback. I appreciate the value of icon fonts I wouldn't remove them a motivated integrator who is building a full "distribution" could still update fontello for their use cases. For the rest of us who just want to build a redistributable add-on SVG is the way to go.
In controlpanel all addons are needing their own less/css + icon (either font-based or svg-image based). The old
icon_expr
setting is broken. This is a regression.See also https://community.plone.org/t/adding-icons-to-controlpanel-items-in-plone-5/819/11