Skip to content

Site Editor: Root padding support in theme.json and no colors #42913

@Gierand

Description

@Gierand

Description

Adding support for root padding in theme.json causes no color rendering in the Site Editor.

Step-by-step reproduction instructions

Depending on the setting in useRootPaddingAwareAlignments in theme.json, follow the video demonstration below.

Screenshots, screen recording, code snippet

Before:

"settings": {
   "useRootPaddingAwareAlignments": false
}

before

After:

"settings": {
   "useRootPaddingAwareAlignments": true
}

after

Environment info

WordPress version: 6.0.1 and 6.1-alpha-53810
Gutenberg version: 13.9.20220731

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions