wwwizardeu
9/6/2018 - 9:38 PM

Responsive fonts

Responsive fonts which should be combined with media breapoints. Not implemented in framework by default.

/* Responsive font sizes
   ========================================================================== */

$responsive-fonts: (
  'xs': 14px,
  'sm': 16px,
  'md': 18px,
  'lg': 20px,
  'xl': 22px
) !default;


@each $breakpoint-key, $breakpoint-value in $breakpoints {
  @include media-breakpoint-up(#{$breakpoint-key}) {
    font-size: map-get($responsive-fonts,$breakpoint-key)
  }
}