Using Bourbon inside Rails
Bourbon is a lightweight mixin library for Sass. You can read more about Bourbon in Chapter 13, Meeting the Bourbon family of this book, this chapter also explains the other members of the Bourbon family. Neat is a lightweight semantic grid framework for Sass and Bourbon. Bitters can be used to declare variables and structure for your Bourbon projects. Finally, Refills is a library with prebuilt patterns and components built with Bourbon, Neat, and Bitters. In this recipe, you will learn how to use the Bourbon family to develop RoR web applications.
Getting ready
First read Chapter 13, Meeting the Bourbon family, of this book to learn more about the Bourbon family. Also read the Hello world with Ruby on Rails recipe to understand how to setup a new RoR web application.
How to do it...
The following steps demonstrate how to use Bourbon inside Rails:
- Create a new Rails app by running the following command in your console:
rails new recipe5
- Change directory to the new...