ChipsDefaults

the default values for chips.

Properties

Link copied to clipboard

The default size of regular chip.

Link copied to clipboard

The default size of small chip.

Functions

Link copied to clipboard
@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.

Link copied to clipboard
fun chipSize(height: Dp = Dp.Unspecified): ChipSize

Create a new ChipSize instance with expected height.

Link copied to clipboard
@Composable
fun chipVibrants(): ChipVibrants

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

@Composable
fun chipVibrants(contentVibrant: Vibrant = Vibrant.Unspecified, backgroundVibrant: Vibrant = Vibrant.Unspecified): ChipVibrants

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

Link copied to clipboard

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.

Link copied to clipboard

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.