Created
November 20, 2016 19:58
-
-
Save frank-who/5743f75b32b996fd4bcc6fc636ac5fac to your computer and use it in GitHub Desktop.
Foundation Helpers
This file contains hidden or 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
// Create helper classes from $foundation-palette | |
@each $color, $hex-value in $foundation-palette | |
.color--#{$color} | |
color: $hex-value | |
.color--bg-#{$color} | |
background-color: $hex-value | |
// Create helper classes from $header-sizes | |
@each $size, $headers in $header-sizes | |
+breakpoint($size) | |
@each $header, $font-size in $headers | |
.#{$header} | |
font-size: rem-calc($font-size) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment