fadeHighlightColor

fun PlaceholderDefaults.fadeHighlightColor(backgroundColor: Color = SparkTheme.colors.surface, alpha: Float = 0.3f): Color

Returns the value used as the the highlightColor parameter value of PlaceholderHighlight.Companion.fade.

Parameters

backgroundColor

The current background color of the layout. Defaults to SparkTheme.color.surface.

alpha

The alpha component to set on backgroundColor. Defaults to 0.3f.