toggleableChipVibrants

the default toggleable chip vibrants from the theme's color scheme.


@Composable
fun toggleableChipVibrants(contentVibrant: Vibrant = Vibrant.Unspecified, backgroundVibrant: Vibrant = Vibrant.Unspecified, activeContentVibrant: Vibrant = Vibrant.Unspecified, activeBackgroundVibrant: Vibrant = Vibrant.Unspecified): ToggleableChipVibrants

Creates a new ToggleableChipVibrants instance with the specified content and background vibrants. If the vibrants are not specified, the default vibrants from the theme's color scheme are used.

Return

A new ToggleableChipVibrants instance with the specified or default vibrants.

Parameters

contentVibrant

The content vibrant of the chip. Defaults to Vibrant.Unspecified.

backgroundVibrant

The background vibrant of the chip. Defaults to Vibrant.Unspecified.

activeContentVibrant

The content vibrant when the toggle state is on. Defaults to Vibrant.Unspecified.

activeBackgroundVibrant

The background vibrant when the toggle state is on. Defaults to Vibrant.Unspecified.