Surface

public interface Surface

Tokens for the surface colors of the components.

Types

Link copied to clipboard
public class Companion

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

Functions

Link copied to clipboard
public final ThemeColorTokens.Background.Surface copy(Color default, Color variant, Color container, Color subtle, Color emphasis)

Copies this Background.Surface replacing provided values.

Link copied to clipboard
public abstract Color getContainer()

A more prominent surface color for containers that need to be clearly distinguished from the background.

Link copied to clipboard
public abstract Color getDefault()

A surface color with the lowest or low emphasis, often used as a base for other elements. The neutral/100 color suggests a slightly off-white matching this role.

Link copied to clipboard
public abstract Color getEmphasis()

A background color that uses the primary brand color for emphasis, typically used for highlighted sections or key components.

Link copied to clipboard
public abstract Color getSubtle()

A very subtle background, often used for de-emphasized elements or large background areas that should be barely visible.

Link copied to clipboard
public abstract Color getVariant()

The default container color. Slightly more emphasized than the main surface.