Twenty Twenty-One: Remove background color from Social Links the dark gray style.

This block variation doesn't support custom colors, so allowing a background color leads to a mismatch between frontend and editor styles.

Props poena, paaljoachim, audrasjb.
Fixes #52499.


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


git-svn-id: http://core.svn.wordpress.org/trunk@49975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryelle 2021-02-16 20:12:02 +00:00
parent b50e49f5c1
commit 455bc37c68
5 changed files with 9 additions and 5 deletions

View File

@ -4774,7 +4774,8 @@ hr.wp-block-separator.is-style-dots:before {
color: #28303d;
}
.wp-block-social-links.is-style-twentytwentyone-social-icons-color .wp-social-link {
.wp-block-social-links.is-style-twentytwentyone-social-icons-color .wp-social-link,
.wp-block-social-links.is-style-twentytwentyone-social-icons-color.has-icon-background-color.has-icon-background-color .wp-social-link {
background: none;
}

View File

@ -10,7 +10,8 @@
color: var(--global--color-primary);
}
.wp-social-link {
.wp-social-link,
&.has-icon-background-color.has-icon-background-color .wp-social-link {
background: none;
}

View File

@ -3406,7 +3406,8 @@ hr.wp-block-separator.is-style-dots:before {
color: var(--global--color-primary);
}
.wp-block-social-links.is-style-twentytwentyone-social-icons-color .wp-social-link {
.wp-block-social-links.is-style-twentytwentyone-social-icons-color .wp-social-link,
.wp-block-social-links.is-style-twentytwentyone-social-icons-color.has-icon-background-color.has-icon-background-color .wp-social-link {
background: none;
}

View File

@ -3416,7 +3416,8 @@ hr.wp-block-separator.is-style-dots:before {
color: var(--global--color-primary);
}
.wp-block-social-links.is-style-twentytwentyone-social-icons-color .wp-social-link {
.wp-block-social-links.is-style-twentytwentyone-social-icons-color .wp-social-link,
.wp-block-social-links.is-style-twentytwentyone-social-icons-color.has-icon-background-color.has-icon-background-color .wp-social-link {
background: none;
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.7-beta2-50363';
$wp_version = '5.7-beta2-50364';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.