<div class='sourceset sourceset-common'>Common</div>

```kotlin
object RippleDefaults
```

Default values used by [ripple](/jetpack-compose/androidx.compose.material/material/functions/ripple).

## Functions

<h2 id="ripplecolor-contentcolor-lighttheme">rippleColor</h2>

```kotlin
fun rippleColor(contentColor: Color, lightTheme: Boolean): Color
```

Represents the default color that will be used for a ripple if a color has not been
explicitly set on the ripple instance.

#### Parameters

| | |
| --- | --- |
| contentColor | the color of content (text or iconography) in the component that contains the ripple. |
| lightTheme | whether the theme is light or not |

<hr class="docs-overload-divider">

<h2 id="ripplealpha-contentcolor-lighttheme">rippleAlpha</h2>

```kotlin
fun rippleAlpha(contentColor: Color, lightTheme: Boolean): RippleAlpha
```

Represents the default [RippleAlpha](/jetpack-compose/androidx.compose.material/material-ripple/classes/RippleAlpha) that will be used for a ripple to indicate different
states.

#### Parameters

| | |
| --- | --- |
| contentColor | the color of content (text or iconography) in the component that contains the ripple. |
| lightTheme | whether the theme is light or not |