Source set: Common
class RippleThemeConfiguration(val focus: Focus)
The overall ripple theme in use by all built-in components and ripple.
This is controlled by LocalRippleThemeConfiguration.
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.
Parameters
| focus | the themable configuration for the focus indication. |