Skip to content

Commit

Permalink
Merge pull request #4906 from alphagov/sass-vars-in-wanring-text
Browse files Browse the repository at this point in the history
Update the icon in the warning text component to match the defined text colour and background colour, rather than always being white on black
  • Loading branch information
owenatgov committed Apr 3, 2024
2 parents e26da74 + 5f9e6ca commit 79ccd7e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ For advice on how to use these release notes see [our guidance on staying up to

## Unreleased

### Fixes

We've made fixes to GOV.UK Frontend in the following pull requests:

- [#4906: Update the icon in the warning text component to match the defined text colour and background colour, rather than always being white on black](https://github.com/alphagov/govuk-frontend/pull/4906)

## GOV.UK Frontend v5.3.0 (Feature release)

### New features
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@

// When a user customises their colours the background colour will often be removed.
// Adding a border to the component keeps it's shape as a circle.
border: 3px solid govuk-colour("black");
border: 3px solid $govuk-text-colour;
border-radius: 50%;

color: govuk-colour("white");
background: govuk-colour("black");
color: $govuk-body-background-colour;
background: $govuk-text-colour;

font-size: 30px;
line-height: 29px;
Expand Down

0 comments on commit 79ccd7e

Please sign in to comment.