Sha256: 8bfd06542a10b792b766c210ecc5c82ff465bc9f5330d9baa82456e372427709
Contents?: true
Size: 1.14 KB
Versions: 2
Compression:
Stored size: 1.14 KB
Contents
# Font Awesome + SASS + Rails With SCSS and fonts from [Font Awesome](http://fortawesome.github.com/Font-Awesome), `font-awesome-sass-rails` is a gem to integrate Font Awesome to your Rails application. It supports Rails 3.1.1 and older. ## Installation Add `font-awesome-sass-rails` gem to your `assets` group in the `Gemfile`: group :assets do gem 'sass-rails', " ~> x.x.x" gem 'coffee-rails', "~> x.x.x" gem 'uglifier' gem 'font-awesome-sass-rails' end `compass-rails` will be installed as a dependency, since current SCSS version of Font Awesome depending on Compass. Then in your `app/assets/stylesheets/application.css`: @import 'font-awesome'; That's it! You can also use it with the SASS-converted Bootstrap gem, like [bootstrap-sass](https://github.com/thomas-mcdonald/bootstrap-sass) or [anjlab-bootstrap-rails](https://github.com/anjlab/bootstrap-rails). Just import font-awesome right after bootstrap: @import 'bootstrap'; @import 'font-awesome'; ## License The font and SCSS from [Font Awesome](http://fortawesome.github.com/Font-Awesome) are under CC-BY-3.0. Others are under MIT license.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
font-awesome-sass-rails-0.2.0 | README.md |
font-awesome-sass-rails-0.1.0 | README.md |