Sha256: 02bf83d645d43c42266b2b374d87227163fc72eddd3821ea7982428ea30fa99f

Contents?: true

Size: 1.07 KB

Versions: 43

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

43 entries across 43 versions & 3 rubygems

Version Path
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
govuk_tech_docs-4.1.1 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-45.2.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-45.1.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-45.0.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
katalyst-govuk-formbuilder-1.13.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-44.11.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-44.10.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-44.9.1 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-44.9.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-44.8.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-44.7.1 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_publishing_components-44.7.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss
govuk_tech_docs-4.1.0 node_modules/govuk-frontend/dist/govuk/overrides/_typography.scss