chai2 / themify-icons-rails

Provides the Themify Icons web fonts for use in your Rails application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Fork it ( https://github.com/hpoydar/themify-icons-rails/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

License

About

Provides the Themify Icons web fonts for use in your Rails application

License:MIT License


Languages

Language:HTML 56.1%Language:Ruby 40.5%Language:CSS 1.8%Language:JavaScript 1.6%