Sha256: 075ac356156c6f708cbcc42a1722968f52946de9294e51b4c282350feac5bf87

Contents?: true

Size: 809 Bytes

Versions: 194

Compression:

Stored size: 809 Bytes

Contents

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

@import "../base";

@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
  @each $size in map-keys($govuk-typography-scale) {
    .govuk-\!-font-size-#{$size} {
      @include govuk-typography-responsive($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);
  }
}

Version data entries

194 entries across 191 versions & 4 rubygems

Version Path
defra_ruby_template-3.15.1 vendor/assets/stylesheets/overrides/_typography.scss
defra_ruby_template-3.15.1 node_modules/govuk-frontend/govuk/overrides/_typography.scss
defra_ruby_template-3.15.0 vendor/assets/stylesheets/overrides/_typography.scss
defra_ruby_template-3.15.0 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_publishing_components-28.5.0 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_publishing_components-28.4.0 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_publishing_components-28.3.0 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_publishing_components-28.2.0 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_publishing_components-28.1.0 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_publishing_components-28.0.0 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_publishing_components-27.20.0 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_publishing_components-27.19.0 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_publishing_components-27.18.0 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_tech_docs-3.0.1 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_publishing_components-27.17.0 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_publishing_components-27.16.0 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_publishing_components-27.15.0 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_publishing_components-27.14.2 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_publishing_components-27.14.1 node_modules/govuk-frontend/govuk/overrides/_typography.scss
govuk_publishing_components-27.14.0 node_modules/govuk-frontend/govuk/overrides/_typography.scss