MaterialDynamicColors

class MaterialDynamicColors(isExtendedFidelity: Boolean = false)

Named colors, otherwise known as tokens, or roles, in the Material Design system.

Parameters

isExtendedFidelity

Whether to use the extended fidelity color set. see MaterialColorUtilities

Constructors

Link copied to clipboard
constructor(isExtendedFidelity: Boolean = false)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard

These colors were present in Android framework before Android U, and used by MDC controls. They should be avoided, if possible. It's unclear if they're used on multiple backgrounds, and if they are, they can't be adjusted for contrast.* For now, they will be set with no background, and those won't adjust for contrast, avoiding issues.

Link copied to clipboard

colorControlHighlight documented, in both M3 & GM3:

Link copied to clipboard

colorControlNormal documented as textColorSecondary in M3 & GM3. In Material, textColorSecondary points to onSurfaceVariant in the non-disabled state, which is Neutral Variant T30/80 in light/dark.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

textColorHintInverse documented, in both M3 & GM3, as N10/N90

Link copied to clipboard

textColorPrimaryInverse documented, in both M3 & GM3, documented as N10/N90.

Link copied to clipboard

textColorPrimaryInverseDisableOnly documented, in both M3 & GM3, as N10/N90

Link copied to clipboard

textColorSecondaryInverse and textColorTertiaryInverse both documented, in both M3 & GM3, as V30/NV80

Link copied to clipboard

textColorSecondaryInverse and textColorTertiaryInverse in disabled state both documented, in both M3 & GM3, as N10/N90