Open jfly opened 7 years ago
@lgarron, I feel like you are our most tuned in web developer. Do you have any thoughts on this? I did a bunch of reading on this topic, and while everyone agrees that icon fonts are not the way to go anymore, nobody had advice about how a library such as ours should actually switch to svg fonts. Currently our users are able to simply include a single css file, and they're good to go. I would really like to keep things that simple for them if at all possible.
I'd say the font works well enough; no reason to discontinue it. People can still use SVGs if they want.
See https://github.com/blog/2112-delivering-octicons-with-svg and https://css-tricks.com/icon-fonts-vs-svg/.
https://24ways.org/2014/an-overview-of-svg-sprite-creation-techniques/ described a neat sprite solution that didn't work in safari back in 2014 (hopefully it's working now?
Other articles about this:
Maybe we can provide a svg sprite as well as a font based solution for folks? It would be nice if whatever we do doesn't actually change the "api" to use our icons.