Sha256: e647b5975bc659026ee37a06dd4f1dddf6a64d423172813d384eaf4db5752ba0

Contents?: true

Size: 1001 Bytes

Versions: 9

Compression:

Stored size: 1001 Bytes

Contents

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

  // Generate typography override classes for each responsive font map in the
  // typography scale eg .govuk-\!-font-size-80
  //
  // govuk-!-font-size-14 is deprecated
  @each $size, $font-map in $govuk-typography-scale {
    .govuk-\!-font-size-#{$size} {
      $font-map: map-get($govuk-typography-scale, $size);

      // Add underscore to deprecated typography scale keys
      @if map-has-key($font-map, "deprecation") {
        $size: _#{$size};
      }

      @include govuk-font-size($size, $important: true);
    }
  }

  // Weights

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

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

  // Tabular numbers

  .govuk-\!-font-tabular-numbers {
    @include govuk-font-tabular-numbers($important: true);
  }
}

/*# sourceMappingURL=_typography.scss.map */

Version data entries

9 entries across 7 versions & 2 rubygems

Version Path
katalyst-govuk-formbuilder-1.10.2 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
katalyst-govuk-formbuilder-1.10.1 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
katalyst-govuk-formbuilder-1.10.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
katalyst-govuk-formbuilder-1.9.4 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
defra_ruby_template-5.4.1 vendor/assets/stylesheets/overrides/_typography.scss
defra_ruby_template-5.4.1 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
defra_ruby_template-5.4.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
defra_ruby_template-5.4.0 vendor/assets/stylesheets/overrides/_typography.scss
katalyst-govuk-formbuilder-1.9.3 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss