Skip to content

Commit

Permalink
Merge pull request #3021 from MalcolmVonMoJ/patch-6
Browse files Browse the repository at this point in the history
Printing style for current page link in header
  • Loading branch information
owenatgov authored Dec 5, 2022
2 parents e75c10f + bb7c449 commit de378ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Fixes

- [#2998: Refactor back link and breadcrumb chevrons to use ems](https://github.com/alphagov/govuk-frontend/pull/2998)
- [#3021 Printing style for current page link in header](https://github.com/alphagov/govuk-frontend/pull/3021) - thanks to [Malcolm Butler](https://github.com/MalcolmVonMoJ) for the contribution

## 4.4.0 (Feature release)

Expand Down
6 changes: 6 additions & 0 deletions src/govuk/components/header/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,12 @@
color: $govuk-header-link-active;
}

// When printing, use the normal blue as this contrasts better with the
// white printing header
@include govuk-media-query($media-type: print) {
color: $govuk-brand-colour;
}

// When focussed, the text colour needs to be darker to ensure that colour
// contrast is still acceptable
&:focus {
Expand Down

0 comments on commit de378ee

Please sign in to comment.