What problem does this address?
For styles.elements.button.spacing.padding in theme.json, only objects with fields top, right, bottom, and left 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.
- Rewrite to object in default theme.json
- If the specification is expected to accept a string, update the JSON schema
What problem does this address?
For
styles.elements.button.spacing.paddingin theme.json, only objects with fieldstop,right,bottom, andleftare 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.