Updates DM to use the latest version of cf-typography which enables self-hosted fonts on consumerfinance.gov. Here in the Design Manual, the CDN fonts will still be served from fastfonts.net, which requires the update to main.less that this PR includes.
Additions
New required web font variables, @cf-fonts-path and @use-font-cdn
Removals
Removed local licensed-fonts.css file; these fonts are now included via the cf-typography component.
Updates DM to use the latest version of
cf-typography
which enables self-hosted fonts on consumerfinance.gov. Here in the Design Manual, the CDN fonts will still be served from fastfonts.net, which requires the update tomain.less
that this PR includes.Additions
@cf-fonts-path
and@use-font-cdn
Removals
licensed-fonts.css
file; these fonts are now included via thecf-typography
component.Changes
-
Testing
bundle install
npm install
grunt build
npm start
@use-font-cdn: true;
value tofalse
to test that fonts 404 in that scenarioReview
Preview this PR without the whitespace changes
Screenshots
Notes
-
Todos
-
Checklist