Columns: Adopt button and heading element colors #54104
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related:
What?
Adds the ability to specify colors for button and heading elements with Column/s blocks instances.
Why?
Provides greater flexibility in styling sections that may differ from the overall global styles e.g. a call-to-action pattern that might be darker or lighter than the overall theme.
How?
Opts into
button
andheading
color support.Known Issues
There are some existing issues with the generic
heading
element gradient backgrounds overriding a simple background color on specifich1-h6
elements. Similarly, a gradient applied by the container block can't be overridden by a simple background color set via an individual block within the container. These will be addressed separately.Next Steps
The might be further container like blocks that we could opt into this color support for e.g. Cover, Media & Text, Details, Post Template etc.
Testing Instructions
h1
-h6
) that matches one of the headings and confirm that overrides the generic heading element style selected earlierScreenshots or screencast