iconToggleButtonVibrantColors

Creates a IconToggleButtonColors that represents the recommended high contrast colors used in a IconToggleButton. See iconToggleButtonColors for default values that applies LocalContentColor to the icon and down the UI tree.


@Composable
fun iconToggleButtonVibrantColors(containerColor: Color = Color.Unspecified, contentColor: Color = Color.Unspecified, disabledContainerColor: Color = Color.Unspecified, disabledContentColor: Color = contentColor.copy(alpha = StandardIconButtonTokens.DisabledOpacity), checkedContainerColor: Color = Color.Unspecified, checkedContentColor: Color = Color.Unspecified): IconToggleButtonColors

Creates a IconToggleButtonColors that represents the recommended high contrast colors used in a IconToggleButton.

See iconToggleButtonColors 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.

checkedContainerColor

the container color of this icon button when checked.

checkedContentColor

the content color of this icon button when checked.