Default theme.json: The definition of styles.elements.button.spacing.padding
is incorrect
#60404
Labels
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Developer Documentation
Documentation for developers
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
For
styles.elements.button.spacing.padding
in theme.json, only objects with fieldstop
,right
,bottom
, andleft
are allowed. However, the default theme.json specifies a string. Therefore, the code editor reports this field as an error.What is your proposed solution?
It actually seems to work correctly with a string, but I think one of the following improvements is needed.
The text was updated successfully, but these errors were encountered: