Colors

constructor(primary: Color, onPrimary: Color, primaryVariant: Color, onPrimaryVariant: Color, error: Color, onError: Color, errorContainer: Color, onErrorContainer: Color, disabledPrimary: Color, disabledOnPrimary: Color, disabledPrimaryButton: Color, disabledOnPrimaryButton: Color, disabledPrimarySlider: Color, primaryContainer: Color, onPrimaryContainer: Color, secondary: Color, onSecondary: Color, secondaryVariant: Color, onSecondaryVariant: Color, disabledSecondary: Color, disabledOnSecondary: Color, disabledSecondaryVariant: Color, disabledOnSecondaryVariant: Color, secondaryContainer: Color, onSecondaryContainer: Color, secondaryContainerVariant: Color, onSecondaryContainerVariant: Color, tertiaryContainer: Color, onTertiaryContainer: Color, tertiaryContainerVariant: Color, background: Color, onBackground: Color, onBackgroundVariant: Color, surface: Color, onSurface: Color, surfaceVariant: Color, onSurfaceSecondary: Color, onSurfaceVariantSummary: Color, onSurfaceVariantActions: Color, disabledOnSurface: Color, surfaceContainer: Color, onSurfaceContainer: Color, onSurfaceContainerVariant: Color, surfaceContainerHigh: Color, onSurfaceContainerHigh: Color, surfaceContainerHighest: Color, onSurfaceContainerHighest: Color, outline: Color, dividerLine: Color, windowDimming: Color, sliderKeyPoint: Color, sliderKeyPointForeground: Color, sliderBackground: Color)

Parameters

primary

The primary color. Cases: Switch, Button, Slider.

onPrimary

The color of the text on primary color. Cases: Switch, Button, Slider.

primaryVariant

The variant color of the primary color.Cases:Card

onPrimaryVariant

The color of the text on primary variant color.

disabledPrimary

The disabled primary color of the switch.

disabledOnPrimary

The color of the switch on disabled primary color.

disabledPrimaryButton

The disabled primary color of the button.

disabledOnPrimaryButton

The color of the button on disabled primary color.

disabledPrimarySlider

The disabled primary color of the slider.

primaryContainer

The container color of the primary color.

onPrimaryContainer

The color of the text on primary container color.

secondary

The secondary color.

onSecondary

The color of the text on secondary color.

secondaryVariant

The variant color of the secondary color.

onSecondaryVariant

The color of the text on secondary variant color.

disabledSecondary

The disabled secondary color.

disabledOnSecondary

The color of the text on disabled secondary color.

disabledSecondaryVariant

The disabled secondary color.

disabledOnSecondaryVariant

The color of the text on disabled secondary variant color.

secondaryContainer

The container color of the secondary color.

onSecondaryContainer

The color of the text on secondary container color.

secondaryContainerVariant

The variant color of the secondary container color.

onSecondaryContainerVariant

The color of the text on secondary container variant color.

tertiaryContainer

The container color of the tertiary color.

onTertiaryContainer

The color of the text on tertiary container color.

tertiaryContainerVariant

The variant color of the tertiary container color.

background

The background color.

onBackground

The color of the text on background color.

onBackgroundVariant

The color of the text on background variant color.

surface

The surface color.

onSurface

The color of the text on surface color.

surfaceVariant

The variant color of the surface color.

onSurfaceSecondary

The color of the text on surface secondary color.

onSurfaceVariantSummary

The color of the summary on surface variant color.

onSurfaceVariantActions

The color of the actions on surface variant color.

disabledOnSurface

The color of the text on disabled surface color.

outline

The outline color.

dividerLine

The divider line color.

surfaceContainer

The container color of the surface color.

onSurfaceContainer

The color of the text on surface container color.

onSurfaceContainerVariant

The color of the text on surface container variant color.

surfaceContainerHigh

The container color of the surface color.

onSurfaceContainerHigh

The color of the text on surface container high color.

surfaceContainerHighest

The container color of the surface color.

onSurfaceContainerHighest

The color of the text on surface container highest color.

windowDimming

The color of the window dimming. Cases: Dialog, Dropdown, Spinner, BottomSheet.

sliderKeyPoint

The color of the slider key point.

sliderKeyPointForeground

The foreground color of the slider key point.

sliderBackground

The background color of the slider.