Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 0647576

Browse files
authored
feat(list): Use new ripple mixins (#1475)
1 parent cbc3e1c commit 0647576

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

packages/mdc-list/mdc-list.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ a.mdc-list-item {
154154
// stylelint-enable selector-max-type,selector-no-qualifying-type
155155

156156
.mdc-list-item.mdc-ripple-upgraded {
157-
@include mdc-ripple-base;
158-
@include mdc-ripple-bg((pseudo: "::before"));
159-
@include mdc-ripple-fg((pseudo: "::after"));
157+
@include mdc-ripple-surface;
158+
@include mdc-ripple-color;
159+
@include mdc-ripple-radius;
160160
@include mdc-rtl-reflexive-position(left, $mdc-list-side-padding * -1);
161161

162162
position: relative;
@@ -171,8 +171,7 @@ a.mdc-list-item {
171171
}
172172

173173
@include mdc-theme-dark(".mdc-list") {
174-
@include mdc-ripple-bg((pseudo: "::before", base-color: white, opacity: .12));
175-
@include mdc-ripple-fg((pseudo: "::after", base-color: white, opacity: .12));
174+
@include mdc-ripple-color(white, .12);
176175
}
177176
}
178177

0 commit comments

Comments
 (0)