ok, found it ``` .clickable( ...
# compose
a
ok, found it
Copy code
.clickable(
                indication = rememberRipple(
                    color = MaterialTheme.colors.primary.copy(alpha = 0.20f),
                ),
                interactionSource = remember { MutableInteractionSource() },
            ) { }
a
do you mean the Card from material package? there is a contentColor param on it, ripple is using it by default
a
uhmm
but, if change it, the content there (text, icons...) will be colored according, isn't?
a
yeah, it is following the material design specification where ripple color is the same as the color of text/icons. but yes, feel free to set it directly on clickable if you don’t like that behavior