Skip to content

Commit 9603308

Browse files
committed
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
1 parent 2030705 commit 9603308

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ Inter variable font. Usage:
156156

157157
/* Colors ------------------------------------ */
158158

159+
.editor-styles-wrapper .has-text-color a {
160+
color: inherit;
161+
}
162+
159163
/* CUSTOM COLORS */
160164

161165
:root .has-accent-color {

src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ Inter variable font. Usage:
156156

157157
/* Colors ------------------------------------ */
158158

159+
.editor-styles-wrapper .has-text-color a {
160+
color: inherit;
161+
}
162+
159163
/* CUSTOM COLORS */
160164

161165
:root .has-accent-color {

0 commit comments

Comments
 (0)