Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.26 KB

README.md

File metadata and controls

57 lines (38 loc) · 1.26 KB

simple-line-icons-rails

simple-line-icons-rails provides the thesabbir/simple-line-icons web fonts and stylesheets as a Rails engine for use with the asset pipeline.

Installation

Add this line to your application's Gemfile:

gem 'simple-line-icons-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install simple-line-icons-rails

Usage

In your application.css, include the css file:

/*
 *= require simple-line-icons
 */

Then restart your webserver if it was previously running.

Congrats! You now have scalable vector icon support. Pick an icon and check out the thesabbir/simple-line-icons.

Sass Support

If you prefer SCSS, add this to your application.css.scss file:

@import "simple-line-icons";

If you use the Sass indented syntax, add this to your application.css.sass file:

@import simple-line-icons

License

  • The remainder of the simple-line-icons-rails project is licensed under the MIT License.