@workday/canvas-kit-react
Version:
The parent module that contains all Workday Canvas Kit React components
11 lines • 573 B
TypeScript
import { CanvasTheme, PartialCanvasTheme } from './types';
export declare const shiftColor: (hexColor: string, amount?: any) => string;
declare function calculateCanvasTheme(partialTheme: PartialCanvasTheme): CanvasTheme;
/**
* Creates a full {@link CanvasTheme} from any partial theme by deeply merging with the
* `defaultCanvasTheme` object. The function is memoized, but it is best to run this function
* only once and save the result.
*/
export declare const createCanvasTheme: typeof calculateCanvasTheme;
export {};
//# sourceMappingURL=createCanvasTheme.d.ts.map