From 812af1515ff7a4de4b30faaa692347a5d2e69d36 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Thu, 16 Jun 2022 23:41:14 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@53517 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentytwentyone/assets/css/style-editor.css | 2 +- .../twentytwentyone/assets/sass/05-blocks/quote/_editor.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentytwentyone/assets/css/style-editor.css b/src/wp-content/themes/twentytwentyone/assets/css/style-editor.css index 22cf90dd98..a878777e82 100644 --- a/src/wp-content/themes/twentytwentyone/assets/css/style-editor.css +++ b/src/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/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss b/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss index 4a33767653..0d36ff1fcd 100644 --- a/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss +++ b/src/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);