Skip to content

Commit

Permalink
Do not apply text color if it is being overriden (#24626)
Browse files Browse the repository at this point in the history
  • Loading branch information
webmandesign authored and tellthemachines committed Nov 11, 2020
1 parent 05efa3b commit 0736171
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/block-library/src/button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ $blocks-button__height: 3.1em;

.is-style-outline > .wp-block-button__link,
.wp-block-button__link.is-style-outline {
color: #32373c;
background-color: transparent;
border: 2px solid;
}

.is-style-outline > .wp-block-button__link:not(.has-text-color),
.wp-block-button__link.is-style-outline:not(.has-text-color) {
color: #32373c;
}

0 comments on commit 0736171

Please sign in to comment.