Skip to content

Commit 812af15

Browse files
committed
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
1 parent cd46b2b commit 812af15

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-content/themes/twentytwentyone/assets/css/style-editor.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1561,7 +1561,7 @@ pre.wp-block-preformatted {
15611561
}
15621562

15631563
.wp-block-quote .wp-block-quote__citation {
1564-
color: var(--global--color-primary);
1564+
color: currentColor;
15651565
font-size: var(--global--font-size-xs);
15661566
font-style: var(--quote--font-style-cite);
15671567
}

src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
}
2424

2525
.wp-block-quote__citation {
26-
color: var(--global--color-primary);
26+
color: currentColor;
2727
font-size: var(--global--font-size-xs);
2828
font-style: var(--quote--font-style-cite);
2929

0 commit comments

Comments
 (0)