Themify Icons for Rails
This gem provides the full Themify Icon Set web fonts for use in your Rails 4+ application.
Installation
Add this line to your application's Gemfile:
gem 'themify-icons-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install themify-icons-rails
Usage
Include the css file in your application.css
:
/*
*= require themify-icons
*/
(You will need to restart the application.)
Add icons in your markup like so:
<span class="ti-download"></span>
All icons can be viewed at: http://themify.me/themify-icons
Sass
Alternatively you can import the fonts within a .scss
file:
@import "themify-icons";
Contributing
- Fork it ( https://github.com/hpoydar/themify-icons-rails/fork )
- 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 a new Pull Request
License
- The Themify Icon Set web font is licensed under the SIL Open Font License.
- All brand icons are copyright/trademarks of their respective owners.
- Themify Icon Set CSS files are licensed under the MIT License.
- This gem is licensed under the MIT License.