Skip to content

Commit

Permalink
revert changes from master
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Apr 7, 2020
1 parent 530987d commit 8e08ade
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/block-library/src/button/style.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$blocks-button__height: 56px;

.wp-block-button {
color: var(--wp--color--white, $white);
color: $white;

&.aligncenter {
text-align: center;
Expand All @@ -14,7 +14,7 @@ $blocks-button__height: 56px;
}

.wp-block-button__link {
background-color: var(--wp--color--background, $dark-gray-700);
background-color: $dark-gray-700;
border: none;
border-radius: $blocks-button__height / 2;
box-shadow: none;
Expand All @@ -36,6 +36,10 @@ $blocks-button__height: 56px;
}
}

.wp-gs .wp-block-button__link:not(.has-background) {
background-color: var(--wp--color--primary);
}

.is-style-squared .wp-block-button__link {
border-radius: 0;
}
Expand All @@ -44,7 +48,7 @@ $blocks-button__height: 56px;
}

.is-style-outline {
color: var(--wp--color--background, $dark-gray-700);
color: $dark-gray-700;

.wp-block-button__link {
background-color: transparent;
Expand Down

0 comments on commit 8e08ade

Please sign in to comment.