Interface AdjustedColorContext

For providing Adjustable Color Commands additional rendering capabilities.

interface AdjustedColorContext {
    addRecentColor: ((color) => readonly AdjustedColor[]);
    autoColor: AdjustedColor;
    clearRecentColors: (() => void);
    isDarkMode: boolean;
    onColorSelect: ((color) => void);
    quickColor?: AdjustedColor;
    recentColors: readonly AdjustedColor[] | (() => readonly AdjustedColor[]);
    schemeLookup: SchemeColorLookup;
}

Properties

addRecentColor: ((color) => readonly AdjustedColor[])

Type declaration

autoColor: AdjustedColor
clearRecentColors: (() => void)

Type declaration

    • (): void
    • Returns void

isDarkMode: boolean
onColorSelect: ((color) => void)

Type declaration

quickColor?: AdjustedColor
recentColors: readonly AdjustedColor[] | (() => readonly AdjustedColor[])

Type declaration

schemeLookup: SchemeColorLookup