ContentAlpha

object 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.

Float

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

Float

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

Public properties

disabled

Added in 1.0.0
val disabledFloat

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

high

Added in 1.0.0
val highFloat

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

medium

Added in 1.0.0
val mediumFloat

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