PublisherThemePaletteReferenceV2
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
A color of the theme’s platform palette that a color value names.
export type PublisherThemePaletteReferenceV2 = {
type: "family";
family: PublisherThemePaletteFamilyV2;
} | {
type: "complementary";
step: keyof IThemeComplementaryPalette;
};
References: PublisherThemePaletteFamilyV2, IThemeComplementaryPalette
Remarks
{theme.palette.<family>} is the family’s base color, where family is primary, success, error, warning or info. {theme.palette.complementary.c0} to {theme.palette.complementary.c9} are the complementary palette’s steps.