layerAccentColor

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

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

Parameters

layer

Containing layer. Defaults to layer 00.