From 4947604b66da6956f8284ceef123beb857b66a74 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 16 Jun 2022 23:43:09 +0000 Subject: [PATCH] Twenty Twenty-One: Ensure custom text color is reflected in the Editor for Quote block. This changes removes an hardcoded CSS color value for the Quote block in Twenty Twenty-One's editor stylesheet. This ensures custom text color is fully reflected in the Editor for Quote block. Props jyolsna, evildon, kajalgohel, audrasjb. Fixes #55989. Built from https://develop.svn.wordpress.org/trunk@53517 git-svn-id: http://core.svn.wordpress.org/trunk@53106 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwentyone/assets/css/style-editor.css | 2 +- .../twentytwentyone/assets/sass/05-blocks/quote/_editor.scss | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-content/themes/twentytwentyone/assets/css/style-editor.css b/wp-content/themes/twentytwentyone/assets/css/style-editor.css index 22cf90dd98..a878777e82 100644 --- a/wp-content/themes/twentytwentyone/assets/css/style-editor.css +++ b/wp-content/themes/twentytwentyone/assets/css/style-editor.css @@ -1561,7 +1561,7 @@ pre.wp-block-preformatted { } .wp-block-quote .wp-block-quote__citation { - color: var(--global--color-primary); + color: currentColor; font-size: var(--global--font-size-xs); font-style: var(--quote--font-style-cite); } diff --git a/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss b/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss index 4a33767653..0d36ff1fcd 100644 --- a/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss +++ b/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss @@ -23,7 +23,7 @@ } .wp-block-quote__citation { - color: var(--global--color-primary); + color: currentColor; font-size: var(--global--font-size-xs); font-style: var(--quote--font-style-cite); diff --git a/wp-includes/version.php b/wp-includes/version.php index 0ec71e4222..a94d67ba58 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53516'; +$wp_version = '6.1-alpha-53517'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.