diff --git a/_sass/leap/atoms/_typography.sass b/_sass/leap/atoms/_typography.sass index 9a66cc6..0b7935b 100644 --- a/_sass/leap/atoms/_typography.sass +++ b/_sass/leap/atoms/_typography.sass @@ -21,10 +21,14 @@ h1, h2, h3, h4, h5, h6 // Create text size classes @mixin header-size($suffix) - // Iterate through each text-size to create text size classes with letter-spacing - @each $size, $number in $text-size and $text-tracking + // Iterate through each text-size to create text size classes + @each $size, $number in $text-size .text-#{$size}-#{$suffix} font-size: #{$number} !important + + // Iterate through each text-size to add letter-spacing + @each $size, $number in $text-tracking + .text-#{$size}-#{$suffix} letter-spacing: #{$number} !important // Adds the media queries to the header mixin