-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or request
Description
🆒 Your use case
Some providers support specific options at the family level. Currently those options need to be passed at the provider level:
google({
experimental: {
variableAxis: { DynaPuff: { wdth: [['75', '100']] } },
},
})
🆕 The solution you'd like
It would be better to add the ability to have options at the family level. For example:
await unifont.resolveFont('Poppins', {
weight: [400,500],
options: {
wdth: [['75', '100']]
} satisfies GoogleFamilyOptions
})
🔍 Alternatives you've considered
No response
ℹ️ Additional info
I'd be happy to send a PR for this
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request