Skip to content

Commit

Permalink
Add cover styles with filter contrast (#884)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLedesma authored Jul 17, 2023
1 parent d7898bf commit 394ead7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .dev/assets/shared/css/blocks/cover/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,8 @@
justify-content: center;
}
}

&.has-image-filter-contrast .wp-block-cover__background {
filter: contrast(0.3);
}
}

0 comments on commit 394ead7

Please sign in to comment.