Skip to content

Commit fbe8e6f

Browse files
committed
Use _govuk-brand-colours helper to set brand colours currently used
1 parent 2736016 commit fbe8e6f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/govuk-frontend/src/govuk/components/service-navigation/_index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@include _govuk-rebrand(
1919
"background-color",
2020
$from: $govuk-service-navigation-background,
21-
$to: $_govuk-rebrand-template-background-colour
21+
$to: _govuk-brand-colour("blue", "tint-95")
2222
);
2323
}
2424

packages/govuk-frontend/src/govuk/settings/_colours-applied.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,10 @@ $govuk-link-active-colour: govuk-colour("black") !default;
184184
///
185185
/// @type Colour
186186
/// @access private
187-
$_govuk-rebrand-template-background-colour: govuk-tint($govuk-brand-colour, 95%);
187+
$_govuk-rebrand-template-background-colour: _govuk-brand-colour("blue", "tint-95");
188188

189189
/// Border colour for areas on a light-blue background
190190
///
191191
/// @type Colour
192192
/// @access private
193-
$_govuk-rebrand-border-colour-on-blue-tint-95: govuk-tint($govuk-brand-colour, 50%);
193+
$_govuk-rebrand-border-colour-on-blue-tint-95: _govuk-brand-colour("blue", "tint-50");

0 commit comments

Comments
 (0)