From bfca06c5ac97b05e9fdfda0993dadd9838cb15bb Mon Sep 17 00:00:00 2001 From: allancole Date: Wed, 21 Nov 2018 22:30:49 +0000 Subject: [PATCH] Updating Twenty Nineteen, our new default theme for 2019, set for 5.0. This update changes the following: - Fixes link colors within solid-color pullquote blocks. Props kjellr, xkon. Built from https://develop.svn.wordpress.org/branches/5.0@43928 git-svn-id: http://core.svn.wordpress.org/branches/5.0@43760 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentynineteen/sass/blocks/_blocks.scss | 1 + wp-content/themes/twentynineteen/style-editor.css | 4 +++- wp-content/themes/twentynineteen/style-editor.scss | 4 +++- wp-content/themes/twentynineteen/style-rtl.css | 3 ++- wp-content/themes/twentynineteen/style.css | 3 ++- wp-includes/version.php | 2 +- 6 files changed, 12 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss b/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss index f2838a8d24..8f3cc05f58 100644 --- a/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss +++ b/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss @@ -397,6 +397,7 @@ margin-left: $size__spacing-unit; &.has-text-color p, + &.has-text-color a, &.has-primary-color, &.has-secondary-color, &.has-dark-gray-color, diff --git a/wp-content/themes/twentynineteen/style-editor.css b/wp-content/themes/twentynineteen/style-editor.css index 12c41d3b32..5524f65fff 100644 --- a/wp-content/themes/twentynineteen/style-editor.css +++ b/wp-content/themes/twentynineteen/style-editor.css @@ -460,7 +460,9 @@ figcaption, max-width: calc( 100% - (2 * 1rem)); } -.wp-block-pullquote.is-style-solid-color blockquote.has-text-color p { +.wp-block-pullquote.is-style-solid-color blockquote a, +.wp-block-pullquote.is-style-solid-color blockquote.has-text-color p, +.wp-block-pullquote.is-style-solid-color blockquote.has-text-color a { color: inherit; } diff --git a/wp-content/themes/twentynineteen/style-editor.scss b/wp-content/themes/twentynineteen/style-editor.scss index e8ae56b20a..4df29e89f7 100644 --- a/wp-content/themes/twentynineteen/style-editor.scss +++ b/wp-content/themes/twentynineteen/style-editor.scss @@ -464,7 +464,9 @@ figcaption, width: calc(100% - (2 * #{ $size__spacing-unit})); max-width: calc( 100% - (2 * #{ $size__spacing-unit})); - &.has-text-color p { + a, + &.has-text-color p, + &.has-text-color a { color: inherit; } diff --git a/wp-content/themes/twentynineteen/style-rtl.css b/wp-content/themes/twentynineteen/style-rtl.css index 8d826d2a1a..0016efcef1 100644 --- a/wp-content/themes/twentynineteen/style-rtl.css +++ b/wp-content/themes/twentynineteen/style-rtl.css @@ -3833,7 +3833,8 @@ body.page .main-navigation { margin-right: 1rem; } -.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-text-color p, .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-secondary-color, .entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-dark-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-white-color { +.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-text-color p, +.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-text-color a, .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-secondary-color, .entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-dark-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-white-color { color: inherit; } diff --git a/wp-content/themes/twentynineteen/style.css b/wp-content/themes/twentynineteen/style.css index 4e1fe34406..6762f33ce4 100644 --- a/wp-content/themes/twentynineteen/style.css +++ b/wp-content/themes/twentynineteen/style.css @@ -3845,7 +3845,8 @@ body.page .main-navigation { margin-left: 1rem; } -.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-text-color p, .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-secondary-color, .entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-dark-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-white-color { +.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-text-color p, +.entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-text-color a, .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-secondary-color, .entry .entry-content .wp-block-pullquote.is-style-solid-color blockquote.has-dark-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-white-color { color: inherit; } diff --git a/wp-includes/version.php b/wp-includes/version.php index e309cd71ed..a1e04332bc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-beta5-43927'; +$wp_version = '5.0-beta5-43928'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.