Skip to main content

Interface: UseMaterialColorInstance

Defined in: hooks/use-material-color/UseMaterialColorInstance.ts:5

Extends​

Properties​

colorScheme​

readonly colorScheme: ColorScheme

Defined in: modules/material-color/MaterialColorInterface.ts:19

Inherited from​

MaterialColorInterface.colorScheme


contrastLevel​

readonly contrastLevel: number

Defined in: modules/material-color/MaterialColorInterface.ts:21

Inherited from​

MaterialColorInterface.contrastLevel


errorPalette​

errorPalette: ColorPaletteHex

Inherited from​

MaterialColorInterface.errorPalette


neutralPalette​

neutralPalette: ColorPaletteHex

Inherited from​

MaterialColorInterface.neutralPalette


neutralVariantPalette​

neutralVariantPalette: ColorPaletteHex

Inherited from​

MaterialColorInterface.neutralVariantPalette


platform​

readonly platform: Platform

Defined in: modules/material-color/MaterialColorInterface.ts:23

Inherited from​

UseMaterialColorInstance.platform


primaryPalette​

primaryPalette: ColorPaletteHex

Inherited from​

MaterialColorInterface.primaryPalette


secondaryPalette​

secondaryPalette: ColorPaletteHex

Inherited from​

MaterialColorInterface.secondaryPalette


sourceColor​

readonly sourceColor: string

Defined in: modules/material-color/MaterialColorInterface.ts:18

Your original source color in hex code

Inherited from​

MaterialColorInterface.sourceColor


specVersion​

readonly specVersion: SpecVersion

Defined in: modules/material-color/MaterialColorInterface.ts:24

Inherited from​

UseMaterialColorInstance.specVersion


tertiaryPalette​

tertiaryPalette: ColorPaletteHex

Inherited from​

MaterialColorInterface.tertiaryPalette


theme​

readonly theme: "light" | "dark"

Defined in: modules/material-color/MaterialColorInterface.ts:20

Inherited from​

UseMaterialColorInstance.theme


variant​

readonly variant: Variant

Defined in: modules/material-color/MaterialColorInterface.ts:22

Inherited from​

MaterialColorInterface.variant