Skip to content

Commit b9dec5f

Browse files
authored
Update theme.fontSize types (#8040)
1 parent 2d3a748 commit b9dec5f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

types/config.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,18 +158,18 @@ interface ThemeConfig {
158158
textIndent: ThemeConfig['spacing']
159159
fontFamily: ResolvableTo<KeyValuePair<string, string[]>>
160160
fontSize: ResolvableTo<
161-
| KeyValuePair<string, string>
162-
| KeyValuePair<string, [fontSize: string, lineHeight: string]>
163-
| KeyValuePair<
164-
string,
165-
[
161+
KeyValuePair<
162+
string,
163+
| string
164+
| [fontSize: string, lineHeight: string]
165+
| [
166166
fontSize: string,
167167
configuration: Partial<{
168168
lineHeight: string
169169
letterSpacing: string
170170
}>
171171
]
172-
>
172+
>
173173
>
174174
fontWeight: ResolvableTo<KeyValuePair>
175175
lineHeight: ResolvableTo<KeyValuePair>

0 commit comments

Comments
 (0)