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

Commit e203aa4

Browse files
fix(ripple): Change default color from black to on-surface (#3554)
1 parent b775801 commit e203aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mdc-ripple/_mixins.scss

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

145145
// Simple mixin for base states which automatically selects opacity values based on whether the ink color is
146146
// light or dark.
147-
@mixin mdc-states($color: black, $has-nested-focusable-element: false) {
147+
@mixin mdc-states($color: mdc-theme-prop-value(on-surface), $has-nested-focusable-element: false) {
148148
@include mdc-states-interactions_($color, $has-nested-focusable-element);
149149
}
150150

0 commit comments

Comments
 (0)