color
fun PlaceholderDefaults.color(backgroundColor: Color = SparkTheme.colors.surface, contentColor: Color = contentColorFor(backgroundColor), contentAlpha: Float = 0.25f): Color
Returns the value used as the the color parameter value on Modifier.placeholder.
Parameters
backgroundColor
The current background color of the layout. Defaults to SparkTheme.colors.surface.
contentColor
The content color to be used on top of backgroundColor.
contentAlpha
The alpha component to set on contentColor when compositing the color on top of backgroundColor. Defaults to 0.1f.