Skip to content

Commit

Permalink
refactor: share default variants
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Feb 20, 2024
1 parent b1049ee commit 1dee25e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,9 @@ export interface FontFamilyOverrides {
// as?: string
// fallbacks?: Array<string>
}
export interface FontFamilyProviderOverride extends FontFamilyOverrides {
export interface FontFamilyProviderOverride extends FontFamilyOverrides, Partial<ResolveFontFacesOptions> {
provider?: FontProviderName

weights?: Array<string | number>
styles?: Array<'normal' | 'italic' | 'oblique'>
subsets?: string[]

// TODO:
// fallbacks?: string[]
}
Expand Down

0 comments on commit 1dee25e

Please sign in to comment.