Skip to content

Commit

Permalink
Update font docs
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed Aug 8, 2024
1 parent 88cd157 commit ed8219f
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions docs/pages/variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,21 +348,14 @@ variation_groups:
CFPB's default brand font and fallback.
`--font-stack: 'Avenir Next', Arial, sans-serif;`
- variation_name: '@font-face file path'
variation_description: >-
Use this variable to point to the file containing your `@font-face`
rules. To use none, set it to an empty string.
`@font-face-path: 'licensed-fonts.scss';`
- variation_name: Font source
variation_description: >-
Use this variable to specify where the fonts declared in
`licensed-fonts.scss` are located when self-hosting the font files.
Can be either a relative or absolute path.
There is a Sass mixin for specifying the path to the woff and woff2 font files for the CFPB default brand font, Avenir Next.
Pass in the path to the files. The path can be either a relative or absolute path.
```
@cf-fonts-path: '/static/fonts'`;
@include licensed-font('/path/to/fonts/woff/files')`;
```
---

0 comments on commit ed8219f

Please sign in to comment.