Object

ContentAlpha

Default alpha levels used by Material components.

Source set: Android
public object ContentAlpha

Default alpha levels used by Material components.

See LocalContentAlpha.

Properties

high

Source set: Android
public val high: Float

A high level of content alpha, used to represent high emphasis text such as input text in a selected androidx.compose.material.TextField.

medium

Source set: Android
public val medium: Float

A medium level of content alpha, used to represent medium emphasis text such as placeholder text in a androidx.compose.material.TextField.

disabled

Source set: Android
public val disabled: Float

A low level of content alpha used to represent disabled components, such as text in a disabled Button.

Last updated: