cubing / icons

🖼 Icons for WCA events, unofficial events, and competition-related concepts.
https://icons.cubing.net
MIT License
42 stars 22 forks source link

Icon fonts are no longer encouraged? #28

Open jfly opened 7 years ago

jfly commented 7 years ago

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.

jfly commented 6 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.

lgarron commented 6 years ago

I'd say the font works well enough; no reason to discontinue it. People can still use SVGs if they want.