Interface: MaterialColorOptions
Defined in: modules/material-color/MaterialColorOptions.ts:30
Specified material color options like Variant, Contrast Level, etc.
const defaultOptions = {
variant: MaterialColor.Variant.TONAL_SPOT,
// 0 or MaterialColor.ContrastLevelPresets.DEFAULT
contrastLevel: 0,
// React Native app color scheme
isDark: Appearance.getColorScheme() == "dark",
}
Extends
Options.Partial<Record<keyofMaterialColorPalettes,string>>
Extended by
Properties
errorPalette?
optionalerrorPalette?:string
Inherited from
UseMaterialColorInstance.errorPalette
neutralPalette?
optionalneutralPalette?:string
Inherited from
UseMaterialColorInstance.neutralPalette
neutralVariantPalette?
optionalneutralVariantPalette?:string
Inherited from
UseMaterialColorInstance.neutralVariantPalette
primaryPalette?
optionalprimaryPalette?:string
Inherited from
UseMaterialColorInstance.primaryPalette
secondaryPalette?
optionalsecondaryPalette?:string
Inherited from
UseMaterialColorInstance.secondaryPalette
tertiaryPalette?
optionaltertiaryPalette?:string