Bourbon will be depreciating the
rem() function. Therefore, let’s replace it out. I show you in their code where it’s noted for removal, even though it’s not mentioned in the documentation.
This is a good thing. Why? Because code changes and evolves. You need to be adaptable to adjust your codebase for changes. For example, if WordPress makes a change, you need to change your code too.
Instead, we’ll use the sass-rem module. This video will walk you through the process as you will need to change the code too.
Update – July 20, 2018
To get the pixel fallback with the latest version of sass-rem, you now need to add a variable to your utilities/variables/_typography.scss file:
Code. Eat. Code. Sleep. Dream about Code. Code.
Total Lab Runtime: 00:48:15