Sha256: 02bf83d645d43c42266b2b374d87227163fc72eddd3821ea7982428ea30fa99f

Contents?: true

Size: 1.07 KB

Versions: 56

Compression:

Stored size: 1.07 KB

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);
  }

  // Typography helpers

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

  .govuk-\!-text-break-word {
    @include govuk-text-break-word($important: true);
  }
}

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

Version data entries

56 entries across 56 versions & 3 rubygems

Version Path
govuk_publishing_components-49.1.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-49.0.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-48.0.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-47.0.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-46.4.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-46.3.1 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-46.3.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-46.2.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-46.1.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-46.0.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-45.10.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-45.9.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-45.8.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-45.7.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-45.6.1 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-45.6.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-45.5.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-45.4.1 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-45.4.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-45.3.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss