Web Symbols Liga
Web Symbols Liga - is an iconic font for a web. It was designed by Just Be Nice studio. The gem integrates the font into Rails application and gives a helper method to display an icon.
Installation
Add this line to your application's Gemfile:
gem 'web_symbols_liga'
And then execute:
$ bundle
And to your application.css
*= require web_symbols_liga
Usage
The gem has simple method for generate icon:
= web_symbol "github"
// => <span class="web_symbol">github</span>
You can pass an options hash or additional class name, for customizing styles:
= web_symbol "github", style: "color: red;"
// => <span class="web_symbol">github</span>
= web_symbol "github", class: "huge", style: "color: red;"
// => <span class="web_symbol huge" style="color: red;">github</span>
A table with available ligatures and icons, you can find in [http://www.justbenicestudio.com/studio/websymbolsliga/] (http://www.justbenicestudio.com/studio/websymbolsliga/)
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request