Skip to content

Commit

Permalink
fixup! refactor(material/button): switch raised button to tokens them…
Browse files Browse the repository at this point in the history
…ing API
  • Loading branch information
wagnermaciel committed Sep 20, 2023
1 parent 7bd017c commit 7098d2a
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/material/button/_button-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -195,15 +195,13 @@

.mat-mdc-raised-button {
@include button-theme-private.apply-disabled-style() {
@include button-theme-private.apply-disabled-style() {
@include mdc-elevation-theme.elevation(0);
@include mdc-button-protected-theme.theme((
disabled-container-color: $disabled-container-color,
disabled-label-text-color: $disabled-ink-color,
container-color: $disabled-container-color,
label-text-color: $disabled-ink-color,
));
}
@include mdc-elevation-theme.elevation(0);
@include mdc-button-protected-theme.theme((
disabled-container-color: $disabled-container-color,
disabled-label-text-color: $disabled-ink-color,
container-color: $disabled-container-color,
label-text-color: $disabled-ink-color,
));
}
}

Expand Down

0 comments on commit 7098d2a

Please sign in to comment.