-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Opt out of !important CSS rules generated from theme.json #37591
Opt out of !important CSS rules generated from theme.json #37591
Conversation
…eme.json Proposed solution for #37590
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @MarieComet! In case you missed it, we'd love to have you join us in our Slack community, where we hold regularly weekly meetings open to anyone to coordinate with each other. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
At this stage, we want to avoid adding filters to the theme.json parser and global styles. That's not to say that filters will not be added, but we need to come up with a viable strategy. Perhaps there will be a single filter for the generated CSS, in which case that can be used to remove the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to what Ari shared, there's already ways to hook into these styles. I'll share more in the original issue.
Proposed solution for #37590
Description
How has this been tested?
Screenshots
Types of changes
Checklist:
*.native.js
files for terms that need renaming or removal).