Skip to content

Instantly share code, notes, and snippets.

@frznk-tank
Created November 20, 2016 19:58
Show Gist options
  • Save frznk-tank/5743f75b32b996fd4bcc6fc636ac5fac to your computer and use it in GitHub Desktop.
Save frznk-tank/5743f75b32b996fd4bcc6fc636ac5fac to your computer and use it in GitHub Desktop.
Foundation Helpers
// 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