Skip to content

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 odedniv force-pushed the scss-codepoint-map branch from 4ad8616 to 0d4d70f Compare June 13, 2017 17:37
@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