Arrrows is a free font-library filled with different, well, arrows created by Digital Telepathy licensed under a CC license. Since I use their stuff in some projects I'd like to share my font-mapping utilities for the library.
Usage
Decorate your classes
<div class="arrrow thin-gt-arrow-right"></div> <div class="arrrow-bold thin-gt-arrow-left"></div>
Implement with sass
- Download the font bundle from http://www.arrrows.com/
- Get the scss files from this library
- Setup the $local-font-path parameter in the arrrows.scss file
- Configuration in the bottom of arrrows.scss
Render css for all possible arrrows
// get all arrows @include get-arrrows();
// get all bold arrows @include get-arrrows(true);
Render css for specific arrrows
// get the normal thin-gt-arrow-right @include get-arrow(thin-gt-arrow-right);
// get the bold thin-gt-arrow-right @include get-arrow(thin-gt-arrow-right, true);
Implement with css instead of sass
- Download the font bundle from http://www.arrrows.com/
- Get the css file from this library
- Setup the path parameter (/Webfonts/ in the committed file) in the arrrows.scss file
Complete reference
Click on each icon row for usage example
- Class Normal Bold Char Unicode
-
{{arrrow.class}}
{{arrrow.character}}
{{arrrow.unicode}}
<span class="arrrow {{arrrow.class}}"></span> <span class="arrrow-bold {{arrrow.class}}"></span>