Suggest spacing scale values for text-* modifiers

This commit is contained in:
Jordan Pittman 2025-12-02 13:16:05 -05:00
parent afc92049e4
commit e4948ed09b

View file

@ -5174,7 +5174,7 @@ export function createUtilities(theme: Theme) {
{
values: theme.get(['--spacing']) ? DEFAULT_SPACING_SUGGESTIONS : [],
valueThemeKeys: ['--text', '--spacing'],
modifiers: [],
modifiers: theme.get(['--spacing']) ? DEFAULT_SPACING_SUGGESTIONS : [],
modifierThemeKeys: ['--leading', '--spacing'],
},
])