stylishInteractiveElevation

fun stylishInteractiveElevation(interactionSource: InteractionSource, actionable: Boolean): Dp

Resolves the shared elevation ladder for an actionable surface.

Press wins over hover/focus, followed by hover, focus, and the default interactive elevation. Disabled or non-actionable surfaces are flat. Keeping this resolution in Foundation makes desktop pointer feedback and keyboard focus feedback agree with touch behavior across cards, list items, chips, and custom renderers.