@workday/canvas-kit-react
Version:
The parent module that contains all Workday Canvas Kit React components
11 lines • 510 B
TypeScript
import { EmotionCanvasTheme } from '@workday/canvas-kit-react/common';
type paletteSelection = Exclude<keyof EmotionCanvasTheme['canvas']['palette'], 'common'>;
interface BackgroundColors {
normal?: string;
hover?: string;
contrast?: string;
}
export declare const getPaletteColors: (type: paletteSelection, theme: EmotionCanvasTheme) => BackgroundColors;
export declare const useThemedPalette: (type: paletteSelection) => BackgroundColors;
export {};
//# sourceMappingURL=useThemedPalette.d.ts.map