Twenty Nineteen: Set a default color for button links in the editor.

Props mikejolley, poena, boniu91.
Fixes #52555.

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


git-svn-id: http://core.svn.wordpress.org/trunk@50707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryelle 2021-06-08 17:21:59 +00:00
parent 7af8858ec7
commit bb21c738ee
3 changed files with 9 additions and 1 deletions

View File

@ -1000,6 +1000,10 @@ figcaption,
font-weight: bold;
}
.wp-block-button .wp-block-button__link:not(.has-text-color) {
color: #fff;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
background: #0073aa;
}

View File

@ -373,6 +373,10 @@ figcaption,
@include font-family( $font__heading );
font-size: $font__size-sm;
font-weight: bold;
&:not(.has-text-color) {
color: #fff;
}
}
&:not(.is-style-outline) .wp-block-button__link {

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.8-alpha-51097';
$wp_version = '5.8-alpha-51098';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.