Skip to content

Commit

Permalink
Use text colour and background colour variables in warning text
Browse files Browse the repository at this point in the history
  • Loading branch information
owenatgov committed Mar 28, 2024
1 parent 2dd9c90 commit f91866a
Showing 1 changed file with 3 additions and 3 deletions.
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 f91866a

Please sign in to comment.