Skip to content

Commit

Permalink
Update phase-banner styles
Browse files Browse the repository at this point in the history
The govuk_frontend_toolkit has outlawed passing in the 'phase' to
the phase-banner components. Colour is now always the same, and it
is now just the text inside the phase tag that changes.

This represents a breaking change for our frontend apps.

Make alpha, beta and discovery colours $govuk-blue, in govuk_frontend_toolkit:
alphagov/govuk_frontend_toolkit#370
  • Loading branch information
pcraig3 committed Feb 7, 2017
1 parent ffd0844 commit 5adc8c2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions toolkit/scss/_phase-banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@

.phase-banner {
@extend %site-width-container;
@include phase-banner()
}

.phase-banner-beta {
@include phase-banner(beta);
}

.phase-banner-alpha {
@include phase-banner(alpha);
.phase-tag {
@include phase-tag()
}

0 comments on commit 5adc8c2

Please sign in to comment.