Created
January 28, 2015 02:11
-
-
Save danrouse/f593f0af71a75179ab97 to your computer and use it in GitHub Desktop.
Sass Type Scale
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$font-scale: 1.333; | |
$font-base-size: 1em; | |
$font-size: $font-base-size; | |
@for $i from 6 through 1 { | |
h#{$i} { | |
font-size: $font-size; | |
} | |
$font-size: $font-size * $font-scale; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment