Skip to content

Commit 0455f41

Browse files
authored
refactor(material/button): fix out of sync file (#28008)
Adds a change that was missed in #28007.
1 parent 31f9ceb commit 0455f41

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/material/button/_button-theme.scss

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@use '@material/button/button' as mdc-button;
2-
@use '@material/button/button-theme' as mdc-button-theme;
32
@use '@material/button/button-text-theme' as mdc-button-text-theme;
43
@use '@material/button/button-filled-theme' as mdc-button-filled-theme;
54
@use '@material/button/button-protected-theme' as mdc-button-protected-theme;
@@ -194,11 +193,9 @@
194193
}
195194

196195
.mat-mdc-outlined-button {
197-
// Use `mat-mdc-button-base` to increase the specificity over the button's structural styles.
198-
&.mat-mdc-button-base {
199-
@include mdc-button-theme.density($density-scale, $query: mdc-helpers.$mdc-base-styles-query);
200-
@include button-theme-private.touch-target-density($density-scale);
201-
}
196+
$density-tokens: tokens-mdc-outlined-button.get-density-tokens($theme);
197+
@include mdc-button-outlined-theme.theme($density-tokens);
198+
@include button-theme-private.touch-target-density($density-scale);
202199
}
203200
}
204201

0 commit comments

Comments
 (0)