UNPKG

mini-dynamic-antd-theme

Version:

| ![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/fire

18 lines (12 loc) 457 B
/** Declaration file generated by dts-gen */ declare module 'mini-dynamic-antd-theme' { import { ColorInputWithoutInstance } from 'tinycolor2'; type IColorObj = { primaryColor: string; hoverColor: string; activeColor: string; shadowColor: string; }; export function generateThemeColor(color: ColorInputWithoutInstance): IColorObj; export function changeAntdTheme(color: ColorInputWithoutInstance, options?: object): void; }