Skip to content

Commit

Permalink
refactor(material/button): fix out of sync file (#28008)
Browse files Browse the repository at this point in the history
Adds a change that was missed in #28007.
  • Loading branch information
crisbeto committed Oct 26, 2023
1 parent 31f9ceb commit 0455f41
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/material/button/_button-theme.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@use '@material/button/button' as mdc-button;
@use '@material/button/button-theme' as mdc-button-theme;
@use '@material/button/button-text-theme' as mdc-button-text-theme;
@use '@material/button/button-filled-theme' as mdc-button-filled-theme;
@use '@material/button/button-protected-theme' as mdc-button-protected-theme;
Expand Down Expand Up @@ -194,11 +193,9 @@
}

.mat-mdc-outlined-button {
// Use `mat-mdc-button-base` to increase the specificity over the button's structural styles.
&.mat-mdc-button-base {
@include mdc-button-theme.density($density-scale, $query: mdc-helpers.$mdc-base-styles-query);
@include button-theme-private.touch-target-density($density-scale);
}
$density-tokens: tokens-mdc-outlined-button.get-density-tokens($theme);
@include mdc-button-outlined-theme.theme($density-tokens);
@include button-theme-private.touch-target-density($density-scale);
}
}

Expand Down

0 comments on commit 0455f41

Please sign in to comment.