layerBackgroundColor

fun Theme.layerBackgroundColor(layer: Layer = Layer.Layer00): Color

Returns the contextual layer-background color token corresponding to the layer it is placed on.

Parameters

layer

Associated layer. Defaults to layer 00.