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 disabledFloat

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

high

val highFloat

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

medium

val mediumFloat

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