Conversation
|
@ericcornelissen @suda I cannot seem to be able to propagate There is also |
Could you provide a working example outside of Atom (in Codepen or a similar service) that doesn't style the SVG the way you expect it to, that would make it a little easier to understand what isn't working and how experimenting with how it can be resolved. What I can say based just on your comment: Note that for the color you probably need to use the CSS attribute |
Yes, I should do that instead. I thought SVG is like other HTML elements. Isn't there a way to wrap SVG in an HTML element that allows CSS formatting? |
As far as I know, the way you would want it to work is only possible with icon fonts. |
|
@ericcornelissen This now works. Now we only need to fix the tests! I cannot query the svg element anyhow. 😞 |
|
Besides this PR, I saw another very cool framework which is called iconify. I am trying to learn how it works. Using that we can expand the number of supported icons and also improve the speed. This is me trying to make it work offline: iconify/iconify#31 |
This defers the loading of mdi icons until they are called. It improves the loading time (50ms->35ms).