@if not mixin-exists("moaland-exports") {
  @warn "Importing items from the overrides layer without first importing `base` is deprecated, and will no longer work as of GOV.MOA Frontend v4.0.";
}

@import "../base";

@include moaland-exports("moaland/overrides/typography") {
  // Font size and line height

  // Generate typography override classes for each responsive font map in the
  // typography scale eg .moaland-\!-font-size-80
  @each $size in map-keys($moaland-typography-scale) {
    .moaland-\!-font-size-#{$size} {
      @include moaland-typography-responsive($size, $important: true);
    }
  }

  // Weights

  .moaland-\!-font-weight-regular {
    @include moaland-typography-weight-regular($important: true);
  }

  .moaland-\!-font-weight-bold {
    @include moaland-typography-weight-bold($important: true);
  }
}
