Background

public interface Background

Tokens used for surfaces and backgrounds of the components.

Types

Link copied to clipboard
public class Companion

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

Link copied to clipboard
public interface Surface

Tokens for the surface colors of the components.

Functions

Link copied to clipboard
public abstract Color getDefault()

The default background color for the entire app or large surfaces like cards and sheets.

Link copied to clipboard
public abstract Color getInverse()

A contrasting surface color used for elements that need to stand out, often for showing light content on a dark background and vice versa (e.g., Snackbars, Toasts).

Link copied to clipboard

Tokens for the surface colors of the components.