Status

public interface Status

Tokens for communicating system status like success, warning, or error.

Types

Link copied to clipboard
public class Companion

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

Functions

Link copied to clipboard
public abstract Color getError()

The standard M3 color for indicating an error or a failed operation.

Link copied to clipboard
public abstract Color getErrorContainer()

A toned-down container color for highlighting error states, such as in text fields.

Link copied to clipboard
public abstract Color getOnError()

Color for text and icons displayed on top of the error color.

Link copied to clipboard
public abstract Color getOnErrorContainer()

Color for text and icons placed on top of the errorContainer color.

Link copied to clipboard
public abstract Color getOnSuccess()

Color for text and icons displayed on top of the success color.

Link copied to clipboard
public abstract Color getOnSuccessContainer()

Color for text and icons placed on top of the successContainer color.

Link copied to clipboard
public abstract Color getOnWarning()

Color for text and icons placed on top of the warning color.

Link copied to clipboard
public abstract Color getOnWarningContainer()

Color for text and icons placed on top of the warningContainer color.

Link copied to clipboard
public abstract Color getSuccess()

A semantic color used to indicate a successful operation or state. Not a core M3 token, but a common addition.

Link copied to clipboard
public abstract Color getSuccessContainer()

A toned-down container color for highlighting success states.

Link copied to clipboard
public abstract Color getWarning()

A semantic color used to indicate a warning or a state that requires user attention. Not a core M3 token.

Link copied to clipboard
public abstract Color getWarningContainer()

A toned-down container color for highlighting warning states.