Last active
August 29, 2015 14:12
-
-
Save davious/428ae84ee2d756117031 to your computer and use it in GitHub Desktop.
Font-Awesome Glyphicon Initial Map Effort
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g_words = [line[len(".glyphicon-"):line.index(" ")] for line in g_less.split("\n")] | |
fa_words = [line[len("@fa-var-"):line.index(":")] for line in fa_less.split("\n")] | |
for word in g_words: | |
print ".glyphicon-%s%s{ &:before { content: @fa-var-%s; } }" \ | |
% (word," " * (len(".glyphicon-object-align-horizontal") - len(word)), word if word in fa_words else "??") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment