containedButtonColors

fun containedButtonColors(backgroundColor: Color = Color.Unspecified, contentColor: Color = Color.Unspecified, containerColor: Color = KPDesign.colors.colorSurface, disabledBackgroundColor: Color = Color.Unspecified, disabledContentColor: Color = KPDesign.colors.colorOnSurfaceVariant1, disabledContainerColor: Color = KPDesign.colors.colorBackground): ContainedIconButtonColors

Creates a ContainedIconButtonColors instance to define the background, content, and container colors for a contained icon button.

Return

A ContainedIconButtonColors instance with the specified colors.

Parameters

backgroundColor

The background color of the button when it is enabled. Defaults to Color.Unspecified.

contentColor

The content (e.g., icon) color of the button when it is enabled. Defaults to Color.Unspecified.

containerColor

The container color of the button when it is enabled. Defaults to KPDesign.colors.colorSurface.

disabledBackgroundColor

The background color of the button when it is disabled. Defaults to Color.Unspecified.

disabledContentColor

The content color of the button when it is disabled. Defaults to KPDesign.colors.colorOnSurfaceVariant1.

disabledContainerColor

The container color of the button when it is disabled. Defaults to KPDesign.colors.colorBackground.