From 49eb2f022fc615c4a6521564064b6c2ffed5a012 Mon Sep 17 00:00:00 2001 From: jasmussen Date: Thu, 29 Oct 2020 10:22:49 +0100 Subject: [PATCH] Try: Cover default-overlay color regression fix. Possibly fixes #26545. --- packages/block-library/src/cover/style.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/block-library/src/cover/style.scss b/packages/block-library/src/cover/style.scss index 6d4030d5c918a0..16cf0c42e6510f 100644 --- a/packages/block-library/src/cover/style.scss +++ b/packages/block-library/src/cover/style.scss @@ -155,6 +155,12 @@ } } +// This is unscoped to the Cover block to reduce specificity. +// This allows theme colors override the specific color. +.has-background-dim { + background-color: $black; +} + .wp-block-cover__video-background { position: absolute; top: 50%;