Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nonicons #285

Open
sethen opened this issue Sep 11, 2021 · 1 comment
Open

Nonicons #285

sethen opened this issue Sep 11, 2021 · 1 comment

Comments

@sethen
Copy link

sethen commented Sep 11, 2021

There is a repository for icons that look like octicons but they are for programming languages over at: https://github.com/yamatsum/nonicons -- There is a TTF font that is included here: https://github.com/yamatsum/nonicons/tree/master/dist

Is it possible to add these to all-the-icons? I would make a PR myself if I had more of an idea of what I am doing.

@mohkale
Copy link
Contributor

mohkale commented Sep 28, 2021

@sethen

It's honestly not that difficult. See here. You need to create an alist of code points that references every icon in the font, then call all-the-icons-define-icon.

Screenshot_20210928_170630

From then on you can reference the icon from any of the all-the-icons commands, call (all-the-icons-nonicon "icon-name") to get a glyph for it, etc. You may want to open a PR for this or you might want to create a separate package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants