Class MaterialDynamicColors
java.lang.Object
org.glavo.monetfx.internal.dynamiccolor.MaterialDynamicColors
Named colors, otherwise known as tokens, or roles, in the Material Design system.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAll dynamic colors in Material Design system.@NotNull DynamicColor@NotNull DynamicColorThese colors were present in Android framework before Android U, and used by MDC controls.@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColorerror()@NotNull DynamicColor@NotNull DynamicColorhighestSurface(@NotNull DynamicScheme s) @NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColoronError()@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColoroutline()@NotNull DynamicColor@NotNull DynamicColorprimary()@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColorscrim()@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColorshadow()@NotNull DynamicColorsurface()@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColortertiary()@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor@NotNull DynamicColor
-
Constructor Details
-
MaterialDynamicColors
public MaterialDynamicColors()
-
-
Method Details
-
highestSurface
-
background
-
onBackground
-
surface
-
surfaceDim
-
surfaceBright
-
surfaceContainerLowest
-
surfaceContainerLow
-
surfaceContainer
-
surfaceContainerHigh
-
surfaceContainerHighest
-
onSurface
-
surfaceVariant
-
onSurfaceVariant
-
inverseSurface
-
inverseOnSurface
-
outline
-
outlineVariant
-
shadow
-
scrim
-
surfaceTint
-
-
onPrimary
-
primaryContainer
-
onPrimaryContainer
-
inversePrimary
-
secondary
-
onSecondary
-
secondaryContainer
-
onSecondaryContainer
-
tertiary
-
onTertiary
-
tertiaryContainer
-
onTertiaryContainer
-
error
-
onError
-
errorContainer
-
onErrorContainer
-
primaryFixed
-
primaryFixedDim
-
onPrimaryFixed
-
onPrimaryFixedVariant
-
secondaryFixed
-
secondaryFixedDim
-
onSecondaryFixed
-
onSecondaryFixedVariant
-
tertiaryFixed
-
tertiaryFixedDim
-
onTertiaryFixed
-
onTertiaryFixedVariant
-
controlActivated
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.* For example, if the same color is on a white background _and_ black background, there's no way to increase contrast with either without losing contrast with the other.
-
controlNormal
-
controlHighlight
-
textPrimaryInverse
-
textSecondaryAndTertiaryInverse
-
textPrimaryInverseDisableOnly
-
textSecondaryAndTertiaryInverseDisabled
-
textHintInverse
-
allDynamicColors
All dynamic colors in Material Design system.
-