Content

public interface Content

Tokens used for text and icons.

Types

Link copied to clipboard
public class Companion

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

Functions

Link copied to clipboard
public final ThemeColorTokens.Content copy(Color primary, Color secondary, Color tertiary, Color inverse)

Copies this Content replacing provided values.

Link copied to clipboard
public abstract Color getInverse()

The color for text and icons placed on an inverse-surface.

Link copied to clipboard
public abstract Color getPrimary()

The primary text color used for text and icons placed on top of a surface color.

Link copied to clipboard
public abstract Color getSecondary()

A secondary content color used for less prominent text and icons, like captions or helper text.

Link copied to clipboard
public abstract Color getTertiary()

A tertiary content color used for even less prominent text and icons, such as disabled or placeholder text.