Interface: UseAndroidDynamicColorCompatInstance
Defined in: hooks/use-android-dynamic-color-compat/UseAndroidDynamicColorCompatInstance.ts:10
Android Dynamic Color is only supported on Android and SDK 31 (Android 12) or latest.
You may use the useAndroidDynamicColorCompat to get consistent result, but you have to provide a source color as a fallback in case the current app is outside of the compatibility constraints.
Extends
Properties
colorScheme
readonlycolorScheme:ColorScheme
Defined in: modules/android-dynamic-color/AndroidDynamicColor.ts:73
Inherited from
UseAndroidDynamicColorInstance.colorScheme
errorPalette
readonlyerrorPalette:DynamicColorPalette
Defined in: modules/android-dynamic-color/_DynamicColorPalettesDelegate.ts:18
Inherited from
AndroidDynamicColor.errorPalette
neutralPalette
readonlyneutralPalette:DynamicColorPalette
Defined in: modules/android-dynamic-color/_DynamicColorPalettesDelegate.ts:19
Inherited from
AndroidDynamicColor.neutralPalette
neutralVariantPalette
readonlyneutralVariantPalette:DynamicColorPalette
Defined in: modules/android-dynamic-color/_DynamicColorPalettesDelegate.ts:20
Inherited from
AndroidDynamicColor.neutralVariantPalette
primaryPalette
readonlyprimaryPalette:DynamicColorPalette
Defined in: modules/android-dynamic-color/_DynamicColorPalettesDelegate.ts:15
Inherited from
AndroidDynamicColor.primaryPalette
secondaryPalette
readonlysecondaryPalette:DynamicColorPalette
Defined in: modules/android-dynamic-color/_DynamicColorPalettesDelegate.ts:16
Inherited from
AndroidDynamicColor.secondaryPalette
tertiaryPalette
readonlytertiaryPalette:DynamicColorPalette
Defined in: modules/android-dynamic-color/_DynamicColorPalettesDelegate.ts:17
Inherited from
AndroidDynamicColor.tertiaryPalette
theme
readonlytheme:"light"|"dark"
Defined in: modules/android-dynamic-color/AndroidDynamicColor.ts:75