Remove govuk_template compatibility flag

We removed govuk_template when we moved to the
GOVUK Frontend template.njk for our base layout.

The flag was originally turned on under the
assumption that the global CSS govuk_template adds
would be present in our cascade. It fixes issues
that CSS causes with the GOVUK Frontend CSS
further down.

This was mostly wrong, as we did remove the
govuk_template code, but our situation is a bit
different because when we removed it, we copied
across some global styles it introduces to prevent
problems with our own CSS.

One of the side-effects of turning on this flag
was that the Transport font was not being applied.

This turns the flag off again, which replaces the
font, and hard-codes in the fix having this flag
would have brought in: a darker colour for link
text when focused.
This commit is contained in:
Tom Byers
2020-01-07 12:55:21 +00:00
parent 39ec952c45
commit d939c19222
2 changed files with 0 additions and 6 deletions

View File

@@ -67,11 +67,6 @@ a {
background-color: $focus-colour;
outline: 3px solid $focus-colour;
}
/* Make links slightly darker when focused to improve contrast. */
&:link:focus {
color: darken( $link-colour, 2.5%)
}
}
// Each selector, and then the whole block when only one remains, to be removed when the

View File

@@ -6,7 +6,6 @@
// https://github.com/alphagov/govuk-frontend/blob/master/docs/installation/compatibility.md#turn-on-compatibility-mode
// to be removed when these frameworks are removed.
$govuk-compatibility-govukfrontendtoolkit: true;
$govuk-compatibility-govuktemplate: true;
$govuk-compatibility-govukelements: true;
// set asset URL root to match that of application