Skip to content

Improved font-specimen options

Compare
Choose a tag to compare
@mirisuzanne mirisuzanne released this 13 Dec 21:53

Add optional show argument for font-specimen previews —
@preview font-specimen; show: regular, bold, bold italic
allowing you to override what variants are displayed
in the specimen.
This is especially useful when fonts are loaded via CDN
(TypeKit, Google, etc)
where font variants and file paths aren't included in the Sass map.