From 5adc8c280adfed164a660245d40ef953ab4344ab Mon Sep 17 00:00:00 2001 From: Paul Craig Date: Tue, 7 Feb 2017 16:41:23 +0000 Subject: [PATCH] Update phase-banner styles 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: https://github.com/alphagov/govuk_frontend_toolkit/pull/370 --- toolkit/scss/_phase-banner.scss | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/toolkit/scss/_phase-banner.scss b/toolkit/scss/_phase-banner.scss index 5b5e2596..9244953f 100644 --- a/toolkit/scss/_phase-banner.scss +++ b/toolkit/scss/_phase-banner.scss @@ -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() }