Skip to content

Commit

Permalink
Use $govuk-success-colour now we can
Browse files Browse the repository at this point in the history
Came in with the addition of notification banners
in v3.10.0:

alphagov/govuk-frontend#2032
  • Loading branch information
tombye committed Nov 17, 2022
1 parent b673f77 commit 6f162a5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/assets/stylesheets/components/banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@
.banner-default {

@include govuk-font(19, $weight: bold);
// TODO: replace with `$govuk-success-colour` when GOV.UK Frontend version >= 3.10.0
color: govuk-colour("green");
color: $govuk-success-colour;
display: block;
padding: govuk-spacing(3);
margin: govuk-spacing(3) 0 govuk-spacing(6) 0;
text-align: left;
position: relative;
clear: both;
// TODO: replace with `$govuk-success-colour` when GOV.UK Frontend version >= 3.10.0
border: 5px solid govuk-colour("green");
border: 5px solid $govuk-success-colour;

&-title {
@include govuk-font(24, $weight: bold);
Expand Down

0 comments on commit 6f162a5

Please sign in to comment.