From 960330890ba67acaf17c9286eb475e727e5563fb Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 14 Sep 2022 10:17:05 +0000 Subject: [PATCH] Twenty Twenty: Ensure link color is inherited from paragraph in the editor. This changeset improves link colors consistency between front-end and the editor. Props sabernhardt, webcommsat, audrasjb. Fixes #56214. git-svn-id: https://develop.svn.wordpress.org/trunk@54153 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentytwenty/assets/css/editor-style-block-rtl.css | 4 ++++ .../themes/twentytwenty/assets/css/editor-style-block.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css index b3c1001c89..b2f6de3acd 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css @@ -156,6 +156,10 @@ Inter variable font. Usage: /* Colors ------------------------------------ */ +.editor-styles-wrapper .has-text-color a { + color: inherit; +} + /* CUSTOM COLORS */ :root .has-accent-color { diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css index 2e4474ba1f..809b821661 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -156,6 +156,10 @@ Inter variable font. Usage: /* Colors ------------------------------------ */ +.editor-styles-wrapper .has-text-color a { + color: inherit; +} + /* CUSTOM COLORS */ :root .has-accent-color {