lib/fontcustom/templates/_fontcustom.scss in fontcustom-1.3.8 vs lib/fontcustom/templates/_fontcustom.scss in fontcustom-2.0.0
- old
+ new
@@ -2,12 +2,12 @@
// Icon Font: <%= font_name %>
//
<%= font_face(path: @font_path_alt) %>
-[data-icon]:before { content: attr(data-icon); }
+[data-icon]<%= pseudo_element %> { content: attr(data-icon); }
-[data-icon]:before,
+[data-icon]<%= pseudo_element %>,
<%= glyph_selectors %> {
<%= glyph_properties %>
}
<%= glyphs %>