Font-Awesome/less/icons.less

13 lines
520 B
Plaintext
Raw Normal View History

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