Companion

object Companion

Companion object for Status interface, provides a factory method for creating Status instances.

Functions

Link copied to clipboard
fun ThemeColorTokens.Status.copy(success: Color = this.success, onSuccess: Color = this.onSuccess, successContainer: Color = this.successContainer, onSuccessContainer: Color = this.onSuccessContainer, warning: Color = this.warning, onWarning: Color = this.onWarning, warningContainer: Color = this.warningContainer, onWarningContainer: Color = this.onWarningContainer, error: Color = this.error, onError: Color = this.onError, errorContainer: Color = this.errorContainer, onErrorContainer: Color = this.onErrorContainer): ThemeColorTokens.Status

Copies this Status replacing provided values.

Link copied to clipboard
@JvmName(name = "create")
operator fun invoke(success: Color, onSuccess: Color, successContainer: Color, onSuccessContainer: Color, warning: Color, onWarning: Color, warningContainer: Color, onWarningContainer: Color, error: Color, onError: Color, errorContainer: Color, onErrorContainer: Color): ThemeColorTokens.Status

Creates a Status instance with the provided color values.