V2 Theme.json spacingSizes not applied properly #62195
Labels
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Bug
An existing feature does not function as intended
Description
A follow-up to #61842 is needed to iron out a quirk. It seems if the
spacingSizes
has aslug
that is not the default values, the control does not apply them properly (tested on a V2 theme.json implementation).Step-by-step reproduction instructions
slugs
to usesmall
,large
, etc. Also change thename
value for each to match.name
not rendering, only the default numbers.Screenshots, screen recording, code snippet
CleanShot.2024-05-31.at.14.38.15.mp4
Environment info
Trunk
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: