Content

interface Content

Tokens used for text and icons.

Types

Link copied to clipboard
object Companion

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

Properties

Link copied to clipboard
abstract val inverse: Color

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

Link copied to clipboard
abstract val primary: Color

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

Link copied to clipboard
abstract val secondary: Color

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

Link copied to clipboard
abstract val tertiary: Color

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

Functions

Link copied to clipboard
fun ThemeColorTokens.Content.copy(primary: Color = this.primary, secondary: Color = this.secondary, tertiary: Color = this.tertiary, inverse: Color = this.inverse): ThemeColorTokens.Content

Copies this Content replacing provided values.