From 6b256c10bce1a61270a4f0f438d27fb13e0f7fff Mon Sep 17 00:00:00 2001 From: AnthonyLedesma Date: Fri, 14 Jul 2023 07:47:38 -0700 Subject: [PATCH] add cover styles with filter contrast --- .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); + } }