Content

data class Content(val brandPrimary: Color, val brandSecondary: Color, val brandTertiary: Color, val default: Color, val disabled: Color, val inverse: Color, val muted: Color, val onAction: OudsColorScheme.Content.OnAction, val onBrand: OudsColorScheme.Content.OnBrand, val onStatus: OudsColorScheme.Content.OnStatus, val status: OudsColorScheme.Content.Status)

Colors used for text, icons, and other foreground elements.

Constructors

Link copied to clipboard
constructor(brandPrimary: Color, brandSecondary: Color, brandTertiary: Color, default: Color, disabled: Color, inverse: Color, muted: Color, onAction: OudsColorScheme.Content.OnAction, onBrand: OudsColorScheme.Content.OnBrand, onStatus: OudsColorScheme.Content.OnStatus, status: OudsColorScheme.Content.Status)

Types

Link copied to clipboard
data class OnAction(val disabled: Color, val enabled: Color, val focus: Color, val highlighted: Color, val hover: Color, val loading: Color, val pressed: Color, val selected: Color)

Content colors displayed on top of action backgrounds.

Link copied to clipboard
data class OnBrand(val primary: Color, val secondary: Color, val tertiary: Color)

Content colors displayed on top of brand backgrounds.

Link copied to clipboard

Content colors displayed on top of status backgrounds.

Link copied to clipboard
data class Status(val accent: Color, val info: Color, val negative: Color, val positive: Color, val warning: Color)

Content colors representing statuses directly (e.g. colored text).

Properties

Link copied to clipboard

Primary brand content color.

Link copied to clipboard

Secondary brand content color.

Link copied to clipboard

Tertiary brand content color.

Link copied to clipboard

Default content color (e.g., main text).

Link copied to clipboard

Content color for disabled states.

Link copied to clipboard

Inverse content color for contrast.

Link copied to clipboard

Muted content color (e.g., secondary text).

Link copied to clipboard

Content colors displayed on top of action backgrounds.

Link copied to clipboard

Content colors displayed on top of brand backgrounds.

Link copied to clipboard

Content colors displayed on top of status backgrounds.

Link copied to clipboard

Content colors representing statuses directly (e.g. colored text).