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

add SCSS codepoint map in addition to the variables #319

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

odedniv
Copy link

@odedniv odedniv commented Aug 11, 2016

In order to properly use the glyph codes from an SCSS dynamically, you need a map.

I also needed the glyph_properties so as a bonus I added a generic class that you can extend according to the configurable class name but without a glyph name. This generates something like .icon-. I wanted to use .icon-properties but I was afraid of breaking someone's icon with the same name.

Also added this functionality to the rails version.

@JakeBeresford
Copy link
Collaborator

This is a good addition. Please rebase master to resolve conflicts and fix the build.

@odedniv
Copy link
Author

odedniv commented Jun 13, 2017

Done.

I don't fully remember what I did here, if it looks good for you great, if you're not sure either let me know and I'll have a closer look.

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

Successfully merging this pull request may close these issues.

2 participants