Skip to content

Commit ee01134

Browse files
authored
feat(material-experimental/mdc-button): use mat-mdc classnames in CSS (#16768)
1 parent 979f321 commit ee01134

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/material-experimental/mdc-button/button.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
$_mat-button-ripple-opacity: 0.1;
88

9-
.mat-mdc-button {
9+
.mat-mdc-button, .mat-mdc-unelevated-button, .mat-mdc-raised-button, .mat-mdc-outlined-button {
1010
// The ripple element is created from the RippleRenderer rather than the MDC ripple, so it is
1111
// necessary to provide the color and opacity styling manually.
1212
.mat-ripple-element {

src/material-experimental/mdc-button/fab.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
$_mat-button-ripple-opacity: 0.1;
77

8-
.mat-mdc-button {
8+
.mat-mdc-fab, .mat-mdc-mini-fab {
99
// The ripple element is created from the RippleRenderer rather than the MDC ripple, so it is
1010
// necessary to provide the color and opacity styling manually.
1111
.mat-ripple-element {

src/material-experimental/mdc-button/icon-button.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
$_mat-button-ripple-opacity: 0.1;
77

8-
.mat-mdc-button {
8+
.mat-mdc-icon-button {
99
// The ripple element is created from the RippleRenderer rather than the MDC ripple, so it is
1010
// necessary to provide the color and opacity styling manually.
1111
.mat-ripple-element {

0 commit comments

Comments
 (0)