Skip to content
Dave Strus edited this page Jul 18, 2015 · 1 revision

Fonts

Let's add another Font-Awesome in our project, for some fancy icons.

Add a new gem to the Gemfile and run bundle:

gem 'font-awesome-sass'

Then add a new stylesheet called fonts.scss. In addition to Font Awesome, this will import a couple of Google Fonts.

@import "font-awesome-sprockets";
@import "font-awesome";
@import url(http://fonts.googleapis.com/css?family=Merriweather:400,300,300italic|Oxygen:400,300,700);

Commit.

$ git add .
$ git commit -m "Add Font Awesome and Google font CSS."