-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduces v2 font as GOV.UK Transport
By default v2 font will been used unless the service is running in compatibility mode. Some services still need to use govuk template/elements. In the current state, the user would end up downloading two versions of the font. To avoid this issue we have created another flag to check if the the service is running in compatiblity mode by having any of these flags set: - $govuk-compatibility-govukfrontendtoolkit - $govuk-compatibility-govuktemplate - $govuk-compatibility-govukelements The new flag '$govuk-use-legacy-font' can also be overriden by setting its value to "true" just before importing govuk-frontend.
- Loading branch information
Showing
5 changed files
with
46 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters