Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Added a script for turning Simple-Icons into an icon font. #1307
Simple Icons: The icon font
This PR adds a script that creates an icon font from all the icons included in
I recently worked on improvements to an NPM package over here which allows dropping in a simple configuration that then creates an icon font based on custom ligature settings and such.
Using this allows creating an icon font pretty easily.
The script included iterates through all available icons and then dynamically creates a configuration for the underlying package (
There is also a (very minimalistic) test page located under
The following gif presents this test page with manual toggling of the font to see the actual text:
referenced this pull request
Mar 20, 2019
I made a thing over here. Feel free to clone (not fork) that into the simple-icons org.
Check it out and see if you would be happy with what I put up there.
I intentionally decided against the package just pulling the newest version of
I closed this Pull Request and invited you to the organization @metaa, that way you can just transfer the repository
The setup of the repo is fine by me. I would move the "Development" section to the contributing guidelines, and keep the README to just "Usage". I think, like with simple-icons-pdf, we want to keep development in that repo to a minimum anyway.
It would be great if we can automatically publish a release of the font package with the regular package though
One problem I'm having is that the test page does not show icons, but text instead... Any idea why?
That's why I wanted to merge it in instead of having it separate
If you replace the svgs of those two icons with something else, it will work.
Haha of course, the problem is that at some point a monorepo for things like this because cumbersome (consider simple-icons-pdf, now simple-icons-font, soon vue-simpleicons and possibly at some point simple-icons-png considering the discussion in #980?).
I will try to look into that as soon as possible. Although we have not yet set it up, it should be possible to publish multiple package updates at once from a merge in a single repository.
I changed your status to "outside collaborator" for now, which should still give you control over the simple-icons-font repository. If it turns out this limits your ability to contribute let me know and we will see what to do about it