PT Sans font
The downloaded PT Sans fonts with matching
@font-face declarations in CSS.
Each font-family has a library-definition, so you can control which variations to include in your theme.
1) Add the libraries that you want to use in your theme's
libraries: - compony/global - compony/font--pt-sans--bold-italic - compony/font--pt-sans--bold - compony/font--pt-sans--italic - compony/font--pt-sans--regular
(Only include the library definitions of the fonts that you need)
2) Use it in your CSS as follows:
All the fonts are named using the BEM-naming structure.
No comments yet