iconButtonVibrantColors

Creates a IconButtonColors that represents the recommended high contrast colors used in an IconButton.

See iconButtonColors for default values that applies LocalContentColor to the icon and down the UI tree.


@Composable
fun iconButtonVibrantColors(containerColor: Color = Color.Unspecified, contentColor: Color = Color.Unspecified, disabledContainerColor: Color = Color.Unspecified, disabledContentColor: Color = contentColor.copy(alpha = StandardIconButtonTokens.DisabledOpacity)): IconButtonColors

Creates a IconButtonColors that represents the recommended high contrast colors used in an IconButton.

See iconButtonColors for default values that applies LocalContentColor to the icon and down the UI tree.

Parameters

containerColor

the container color of this icon button when enabled.

contentColor

the content color of this icon button when enabled.

disabledContainerColor

the container color of this icon button when not enabled.

disabledContentColor

the content color of this icon button when not enabled.