typography.js
typography.js copied to clipboard
Add variable font support
This request is to add support for font-variation-settings as an option. It may, however work better as a plugin. If implemented as a plugin, font properties such as weight and optical size could be adjusted based on the rhythm unit.
Curious about this. Would you normally want to auto change variable font weights? My impression was that they're more a way to bundle more weights in one font in a cheaper (byte weight) way.
That’s definitely the more common use case. I think I was more trying to justify why it could warrant a plug-in in addition to/opposed to just adding it to the core options.
Either way, I think it’d be a great core option and help a lot with using a variable font with variations as part of a type system.