Skip to main content

Interface: MaterialColorInterface

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

Extends

  • MaterialColorPalettes

Extended by

Properties

colorScheme

readonly colorScheme: ColorScheme

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


contrastLevel

readonly contrastLevel: number

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


errorPalette

errorPalette: ColorPaletteHex

Inherited from

MaterialColorPalettes.errorPalette


neutralPalette

neutralPalette: ColorPaletteHex

Inherited from

MaterialColorPalettes.neutralPalette


neutralVariantPalette

neutralVariantPalette: ColorPaletteHex

Inherited from

MaterialColorPalettes.neutralVariantPalette


platform

readonly platform: Platform

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


primaryPalette

primaryPalette: ColorPaletteHex

Inherited from

MaterialColorPalettes.primaryPalette


secondaryPalette

secondaryPalette: ColorPaletteHex

Inherited from

MaterialColorPalettes.secondaryPalette


sourceColor

readonly sourceColor: string

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

Your original source color in hex code


specVersion

readonly specVersion: SpecVersion

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


tertiaryPalette

tertiaryPalette: ColorPaletteHex

Inherited from

MaterialColorPalettes.tertiaryPalette


theme

readonly theme: "light" | "dark"

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


variant

readonly variant: Variant

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