lib/fontcustom/templates/_fontcustom.scss
//
// Icon Font: <%= font_name %>
//
<%= font_face(path: @font_path_alt) %>
[data-icon]<%= pseudo_element %> { content: attr(data-icon); }
[data-icon]<%= pseudo_element %>,
<%= glyph_selectors %> {
<%= glyph_properties %>
}
<%= glyphs %>
<% @glyphs.each do |name, value| %>
$font-<%= font_name.gsub(/[^\w\d_]/, '-') %>-<%= name.to_s %>: "\<%= value[:codepoint].to_s(16) %>";<% end %>