@import "govuk_publishing_components/individual_component_support"; @import "govuk/components/warning-text/warning-text"; .gem-c-warning-text .govuk-warning-text__text { // Ensure the font-size is always set to 19px // This prevents the default user agent styles being applied to heading elements used in the warning-text component following a change in v5.0.0, see: // https://github.com/alphagov/govuk-frontend/pull/4267 @include govuk-font($size: 19, $weight: bold); margin: 0; } .gem-c-warning-text__text--no-indent { padding-left: 0; margin-left: 0; } .gem-c-warning-text .gem-c-warning-text__text--large { @include govuk-font($size: 24, $weight: bold); } .gem-c-warning-text__text--highlight { color: $govuk-error-colour; }