Skip to content

Commit

Permalink
fix(pie-button): DSW-000 change loading attribute to class
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleynolan committed Jul 24, 2024
1 parent a67b7e9 commit f93ef1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}

&:active:not(:disabled),
&[isLoading]:not(:disabled) {
&.is-loading:not(:disabled) {
@if $mode == 'alt' {
--active-modifier: calc(-1 * var(--dt-color-active-02));
} @else if $mode == 'inverse' {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('mixins.button-interactive-states', () => {
}
.button:active:not(:disabled),
.button[isLoading]:not(:disabled) {
.button.is-loading:not(:disabled) {
--active-modifier: calc(-1 * var(--dt-color-active-01));
--btn-bg-color: hsl(var(primary-h), var(primary-s), calc(var(primary-l) + var(--active-modifier)));
}
Expand Down Expand Up @@ -54,7 +54,7 @@ describe('mixins.button-interactive-states', () => {
}
.button:active:not(:disabled),
.button[isLoading]:not(:disabled) {
.button.is-loading:not(:disabled) {
--active-modifier: calc(-1 * var(--dt-color-active-02));
--btn-bg-color: hsl(var(primary-h), var(primary-s), calc(var(primary-l) + var(--active-modifier)));
}
Expand Down Expand Up @@ -85,7 +85,7 @@ describe('mixins.button-interactive-states', () => {
}
.button:active:not(:disabled),
.button[isLoading]:not(:disabled) {
.button.is-loading:not(:disabled) {
--active-modifier: calc(-1 * var(--dt-color-active-01));
--active-modifier: var(--dt-color-active-01);
--btn-bg-color: hsl(var(primary-h), var(primary-s), var(primary-l), var(--active-modifier));
Expand Down

0 comments on commit f93ef1a

Please sign in to comment.