Font-Awesome/less/icons.less
2015-06-28 19:12:03 -07:00

13 lines
517 B
Plaintext

/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
readers do not read off random characters that represent icons */
.createIconClasses(@iterator: 1) when(@iterator <= length(@fa-var-glyphs)) {
@fa-glyph-name: extract(extract(@fa-var-glyphs, @iterator), 1);
@fa-glyph-name-unquoted: ~"@{fa-glyph-name}";
.@{fa-css-prefix}-@{fa-glyph-name-unquoted}:before {
content: extract(extract(@fa-var-glyphs, @iterator), 2);
}
.createIconClasses((@iterator + 1));
}
.createIconClasses();