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

Props mikejolley, poena, boniu91.
Fixes #52555.


git-svn-id: https://develop.svn.wordpress.org/trunk@51098 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Kelly Choyce-Dwan 2021-06-08 17:20:19 +00:00
parent 4b5bd0fccd
commit 3a2e2cd450
2 changed files with 8 additions and 0 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 {