Skip to content

Commit

Permalink
Button: is-busy state candybar animation fixed (#27592)
Browse files Browse the repository at this point in the history
The length of the two colored bands was different, now it's the same. Details, I know. ;)
  • Loading branch information
folletto authored Dec 11, 2020
1 parent 37163dc commit 7cc1ba1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/components/src/button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@
/* stylelint-disable */
background-image: linear-gradient(
-45deg,
var(--wp-admin-theme-color) 28%,
var(--wp-admin-theme-color-darker-20) 28%,
var(--wp-admin-theme-color-darker-20) 72%,
var(--wp-admin-theme-color) 72%
var(--wp-admin-theme-color) 33%,
var(--wp-admin-theme-color-darker-20) 33%,
var(--wp-admin-theme-color-darker-20) 70%,
var(--wp-admin-theme-color) 70%
);
/* stylelint-enable */
border-color: var(--wp-admin-theme-color);
Expand Down Expand Up @@ -255,10 +255,10 @@
/* stylelint-disable */
background-image: linear-gradient(
-45deg,
darken($white, 2%) 28%,
darken($white, 12%) 28%,
darken($white, 12%) 72%,
darken($white, 2%) 72%
darken($white, 2%) 33%,
darken($white, 12%) 33%,
darken($white, 12%) 70%,
darken($white, 2%) 70%
);
/* stylelint-enable */
}
Expand Down

0 comments on commit 7cc1ba1

Please sign in to comment.