Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop theme defaults from overriding the Featured Item blocks text col…
…or (#2039) * Add docblocks to hooks used in customizer class. This resolves PHP linting errors. * Omit feat items blocks from txt color selector Confirmed that the featured items WooCommerce blocks are the only Woo blocks with a dark overlay. By omiting them from the ruleset that sets the default text color, we allow the block to use it's set default of white text over the background overlay, improving color contrast. * Refactor to use :has() selector. Instead of directly targeting the Featured Items blocks, we can use the `:has()` selector to omit blocks that contain a child div with the `has-background-dim` class in the editor. Since browser support is not to where we need at the time of publishing this, we can also add a temp fallback with `@supports`. * Remove/resolve items from merge conflict.
- Loading branch information