@alicloud/cloud-charts
Version:

12 lines (11 loc) • 452 B
TypeScript
import { Theme } from './themeTools';
export interface Themes extends Theme {
getTheme: typeof getTheme;
setTheme: typeof setTheme;
}
/** 当前图表库主题包 */
declare const themes: Themes;
export declare function getTheme(name?: string): Theme;
export declare function convertThemeKey(theme?: string | Theme): Themes & Theme;
export declare function setTheme(theme?: string | Theme, refreshChart?: boolean): void;
export default themes;