ContentAlpha


Default alpha levels used by Material components.

See LocalContentAlpha.

Summary

Public properties

Float

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

Cmn
Float

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

Cmn
Float

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

Cmn

Public properties

disabled

val disabled: Float

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

high

val high: Float

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

medium

val medium: Float

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