Read from --spacing namespace for font sizes
This commit is contained in:
parent
939b319acd
commit
d573991871
1 changed files with 2 additions and 2 deletions
|
|
@ -5092,7 +5092,7 @@ export function createUtilities(theme: Theme) {
|
|||
{
|
||||
let value = theme.resolveWith(
|
||||
candidate.value.value,
|
||||
['--text'],
|
||||
['--text', '--spacing'],
|
||||
['--line-height', '--letter-spacing', '--font-weight'],
|
||||
)
|
||||
if (value) {
|
||||
|
|
@ -5159,7 +5159,7 @@ export function createUtilities(theme: Theme) {
|
|||
},
|
||||
{
|
||||
values: [],
|
||||
valueThemeKeys: ['--text'],
|
||||
valueThemeKeys: ['--text', '--spacing'],
|
||||
modifiers: [],
|
||||
modifierThemeKeys: ['--leading', '--spacing'],
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue