toggleableChipColors

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


@Composable
fun toggleableChipColors(contentColor: Color = Color.Unspecified, backgroundColor: Color = Color.Unspecified, activeContentColor: Color = Color.Unspecified, activeBackgroundColor: Color = Color.Unspecified): ToggleableChipColors

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

Return

A new ToggleableChipColors instance with the specified or default colors.

Parameters

contentColor

The content color of the chip. Defaults to Color.Unspecified.

backgroundColor

The background color of the chip. Defaults to Color.Unspecified.

activeContentColor

The content color when the toggle state is on. Defaults to Color.Unspecified.

activeBackgroundColor

The background color when the toggle state is on. Defaults to Color.Unspecified.