chipColors

@Composable
fun chipColors(): ChipColors

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


@Composable
fun chipColors(contentColor: Color = Color.Unspecified, backgroundColor: Color = Color.Unspecified): ChipColors

Creates a new ChipColors 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 ChipColors 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.