From bb6b0cdaa5e94e5bafbfdc84faf1cab094bb6391 Mon Sep 17 00:00:00 2001 From: Ian Belanger Date: Fri, 21 Feb 2020 14:57:12 +0000 Subject: [PATCH] Bundled Themes: Twenty Nineteen text color setting in pullquote block not applied. Fixes the pullquote color setting by adding classes that are more specific to the color options. Props ianbelanger. Fixes #49410. git-svn-id: https://develop.svn.wordpress.org/trunk@47339 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss | 4 ++++ src/wp-content/themes/twentynineteen/style.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss b/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss index 0a5920f6dd..e4b31341fa 100644 --- a/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss +++ b/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss @@ -998,12 +998,14 @@ //! Custom foreground colors .has-primary-color, + .wp-block-pullquote blockquote.has-primary-color, .wp-block-pullquote.is-style-solid-color blockquote.has-primary-color, .wp-block-pullquote.is-style-solid-color blockquote.has-primary-color > p { color: $color__link; } .has-secondary-color, + .wp-block-pullquote blockquote.has-secondary-color, .wp-block-pullquote.is-style-solid-color blockquote.has-secondary-color, .wp-block-pullquote.is-style-solid-color blockquote.has-secondary-color > p { color: $color__border-link-hover; @@ -1016,12 +1018,14 @@ } .has-light-gray-color, + .wp-block-pullquote blockquote.has-light-gray-color, .wp-block-pullquote.is-style-solid-color blockquote.has-light-gray-color, .wp-block-pullquote.is-style-solid-color blockquote.has-light-gray-color > p { color: $color__text-light; } .has-white-color, + .wp-block-pullquote blockquote.has-white-color, .wp-block-pullquote.is-style-solid-color blockquote.has-white-color { color: #FFF; } diff --git a/src/wp-content/themes/twentynineteen/style.css b/src/wp-content/themes/twentynineteen/style.css index c32e62e68c..f397cb01f7 100644 --- a/src/wp-content/themes/twentynineteen/style.css +++ b/src/wp-content/themes/twentynineteen/style.css @@ -6295,12 +6295,14 @@ body.page .main-navigation { } .entry .entry-content .has-primary-color, +.entry .entry-content .wp-block-pullquote blockquote.has-primary-color, .entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-primary-color, .entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-primary-color > p { color: #0073aa; } .entry .entry-content .has-secondary-color, +.entry .entry-content .wp-block-pullquote blockquote.has-secondary-color, .entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-secondary-color, .entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-secondary-color > p { color: #005177; @@ -6313,12 +6315,14 @@ body.page .main-navigation { } .entry .entry-content .has-light-gray-color, +.entry .entry-content .wp-block-pullquote blockquote.has-light-gray-color, .entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-light-gray-color, .entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-light-gray-color > p { color: #767676; } .entry .entry-content .has-white-color, +.entry .entry-content .wp-block-pullquote blockquote.has-white-color, .entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-white-color { color: #FFF; }