Skip to content

pasonatquila/simple-line-icons-rails

 
 

Repository files navigation

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.

About

An asset gemification of the simple-line-icons icon font library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 69.0%
  • Ruby 30.5%
  • CSS 0.5%