getPublisherThemePaletteReferenceV2()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
The palette color a color value references, such as {theme.palette.info}; undefined when the value is not a palette reference.
export declare function getPublisherThemePaletteReferenceV2(value: unknown): PublisherThemePaletteReferenceV2 | undefined;
Parameters
Parameter | Type | Description |
|---|---|---|
value | unknown |
Returns
PublisherThemePaletteReferenceV2 | undefined