Skip to content

Commit

Permalink
Link colour palette to compatibility mode
Browse files Browse the repository at this point in the history
  • Loading branch information
36degrees committed Apr 24, 2019
1 parent 4499f27 commit a00a1f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/settings/_colours-palette.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
/// @type Boolean
/// @access public

$govuk-use-legacy-palette: true !default;
$govuk-use-legacy-palette: if((
$govuk-compatibility-govukfrontendtoolkit or
$govuk-compatibility-govuktemplate or
$govuk-compatibility-govukelements
), true, false) !default;

/// Legacy colour palette
///
Expand Down

0 comments on commit a00a1f1

Please sign in to comment.