WordPress/wp-content/themes/twentytwentyone/assets
Sergey Biryukov e0058af83d Twenty Twenty-One: Correct inner container background color for Cover Blocks.
Adjust the background color palette rules so they don't show up on inner containers when they're not supposed to:
- When an inner container block is present, it only applies them to direct children of the block with the background color assigned.
- Since the background color should only be applied to the Cover block's overlay, not to the inner container, it opts that specific block out of this rule.

Props dianeco, kjellr, paaljoachim.
Reviewed by ryelle, SergeyBiryukov.
Merges [50466] to the 5.7 branch.
Fixes #52676.
Built from https://develop.svn.wordpress.org/branches/5.7@50469


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-03-02 12:52:03 +00:00
..
css Twenty Twenty-One: Correct inner container background color for Cover Blocks. 2021-03-02 12:52:03 +00:00
images Bundled Themes: Sync Twenty Twenty-One with the latest changes from GitHub. 2020-11-02 19:45:07 +00:00
js Twenty Twenty-One: Prevent Dark Mode related JavaScript error. 2021-02-09 14:56:04 +00:00
sass Twenty Twenty-One: Correct inner container background color for Cover Blocks. 2021-03-02 12:52:03 +00:00