Skip to content

Commit

Permalink
Fix fontFamily config types (#9214)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradlc committed Aug 30, 2022
1 parent d6e6ff6 commit bcf14b1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion types/config.d.ts
Expand Up @@ -153,7 +153,14 @@ interface ThemeConfig {
objectPosition: ResolvableTo<KeyValuePair>
padding: ThemeConfig['spacing']
textIndent: ThemeConfig['spacing']
fontFamily: ResolvableTo<KeyValuePair<string, string[]>>
fontFamily: ResolvableTo<
KeyValuePair<
string,
| string
| string[]
| [fontFamily: string | string[], configuration: Partial<{ fontFeatureSettings: string }>]
>
>
fontSize: ResolvableTo<
KeyValuePair<
string,
Expand Down

0 comments on commit bcf14b1

Please sign in to comment.