Skip to content

Instantly share code, notes, and snippets.

@akrawchyk
Created April 7, 2014 18:23
Show Gist options
  • Save akrawchyk/10026901 to your computer and use it in GitHub Desktop.
Save akrawchyk/10026901 to your computer and use it in GitHub Desktop.
Using SASS maps to generate entypo icon font classes
$entypo-icons: (
search : \1f50d,
flag : \2691
// ...
);
@each $icon, $code in $entypo-icons {
.entypo-#{$icon}:before {
content: '#{$code}';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment