Using modular scales for typefacing
The term modular scale refers to a series of harmonious values that relate to one another in a meaningful way. A modular scale helps you to create visual harmony in the whole design. A number of the scales are used to set font sizes, line heights, margins, and even grid sizes in your design. In this recipe, you will learn how to apply a modular scale for your designs using Bourbon.
Getting ready
In this recipe, you will create a modular scale with the modular scale function of Bourbon. To use this function, you should install Bourbon first. The Bourbon mixins for prefixing recipe of this chapter describes how to install Bourbon. You can read more about Sass functions in Chapter 5, Built-in Functions, of this book. Of course, you should also have Sass installed as described in Chapter 1, Getting Started with Sass.
How to do it...
Learn more about modular scales for your designs when performing the following steps:
Firstly, install Bourbon and create a file and...