-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Theme.json -Adding color to the search block changes the wrong element #34216
Comments
By default the style will be applied at the top level, to the containing The issue is that currently there's no way to specify in |
I will retest this tomorrow, this was solved by adding buttons to theme.json elements. |
Description
In the editor, the color options for the search block changes the submit button in the form.
But when you add colors using theme.json, the colors are added to the form element.
In addition, the color contrast warning is always visible in the editor no matter what colors are selected.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Theme.json:
CSS output:
Screenshot:
Environment info
WordPress 5.8
Gutenberg 11.3.0
Pre-checks
The text was updated successfully, but these errors were encountered: