From 394ead78ecb0a8fa604b9930a95677553a182bad Mon Sep 17 00:00:00 2001 From: Anthony Ledesma <30462574+AnthonyLedesma@users.noreply.github.com> Date: Mon, 17 Jul 2023 13:11:53 -0700 Subject: [PATCH] Add cover styles with filter contrast (#884) --- .dev/assets/shared/css/blocks/cover/_style.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.dev/assets/shared/css/blocks/cover/_style.scss b/.dev/assets/shared/css/blocks/cover/_style.scss index 70c6e7978..b147bd1d9 100644 --- a/.dev/assets/shared/css/blocks/cover/_style.scss +++ b/.dev/assets/shared/css/blocks/cover/_style.scss @@ -60,4 +60,8 @@ justify-content: center; } } + + &.has-image-filter-contrast .wp-block-cover__background { + filter: contrast(0.3); + } }