Property

LocalRippleThemeConfiguration

The overall RippleThemeConfiguration in use by all built-in components and ripple.

Source set: Common
val LocalRippleThemeConfiguration: ProvidableCompositionLocal<RippleThemeConfiguration>

The overall RippleThemeConfiguration in use by all built-in components and ripple.

By default, this will be RippleDefaults.ThemeConfiguration.

The ripple configuration is resolved as follows:

  • LocalRippleThemeConfiguration provides the highest-level theming configuration for ripples, including whether the focus indication is drawn by inset focus rings.
  • LocalRippleConfiguration provides hierarchical per-ripple configuration for ripple, including disabling ripples and their indications. This takes next highest priority.
  • ripple parameters allow specifying configuration for individual indication callsites in components.

Last updated: