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.

Built from https://develop.svn.wordpress.org/trunk@54153


git-svn-id: http://core.svn.wordpress.org/trunk@53712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-09-14 10:19:12 +00:00
parent b078199637
commit 5499d60580
3 changed files with 9 additions and 1 deletions

View File

@ -156,6 +156,10 @@ Inter variable font. Usage:
/* Colors ------------------------------------ */ /* Colors ------------------------------------ */
.editor-styles-wrapper .has-text-color a {
color: inherit;
}
/* CUSTOM COLORS */ /* CUSTOM COLORS */
:root .has-accent-color { :root .has-accent-color {

View File

@ -156,6 +156,10 @@ Inter variable font. Usage:
/* Colors ------------------------------------ */ /* Colors ------------------------------------ */
.editor-styles-wrapper .has-text-color a {
color: inherit;
}
/* CUSTOM COLORS */ /* CUSTOM COLORS */
:root .has-accent-color { :root .has-accent-color {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.1-alpha-54152'; $wp_version = '6.1-alpha-54153';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.