Update theme.fontSize types (#8040)
This commit is contained in:
parent
2d3a748d1f
commit
b9dec5feb7
1 changed files with 6 additions and 6 deletions
12
types/config.d.ts
vendored
12
types/config.d.ts
vendored
|
|
@ -158,18 +158,18 @@ interface ThemeConfig {
|
|||
textIndent: ThemeConfig['spacing']
|
||||
fontFamily: ResolvableTo<KeyValuePair<string, string[]>>
|
||||
fontSize: ResolvableTo<
|
||||
| KeyValuePair<string, string>
|
||||
| KeyValuePair<string, [fontSize: string, lineHeight: string]>
|
||||
| KeyValuePair<
|
||||
string,
|
||||
[
|
||||
KeyValuePair<
|
||||
string,
|
||||
| string
|
||||
| [fontSize: string, lineHeight: string]
|
||||
| [
|
||||
fontSize: string,
|
||||
configuration: Partial<{
|
||||
lineHeight: string
|
||||
letterSpacing: string
|
||||
}>
|
||||
]
|
||||
>
|
||||
>
|
||||
>
|
||||
fontWeight: ResolvableTo<KeyValuePair>
|
||||
lineHeight: ResolvableTo<KeyValuePair>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue