Brand

public interface Brand

Tokens related to your primary and secondary brand colors.

Types

Link copied to clipboard
public class Companion

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

Functions

Link copied to clipboard
public abstract Color getOnPrimary()

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

Link copied to clipboard
public abstract Color getOnPrimaryContainer()

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

Link copied to clipboard
public abstract Color getOnSecondary()

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

Link copied to clipboard
public abstract Color getOnSecondaryContainer()

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

Link copied to clipboard
public abstract Color getPrimary()

The main brand color, used for key interactive elements like buttons, active states, and FABs.

Link copied to clipboard
public abstract Color getPrimaryContainer()

A toned-down container color derived from the primary brand color. Used for components that need less emphasis than the primary color.

Link copied to clipboard
public abstract Color getSecondary()

The secondary brand color, used for less prominent components that still require some accent.

Link copied to clipboard
public abstract Color getSecondaryContainer()

A toned-down container color derived from the secondary brand color.