import lightBrandColor from './theme/brand-color-light'; import darkBrandColor from './theme/brand-color-dark'; import brandColorInfo from './theme/brand-color-info'; /** 基础主题,亮/暗色/跟随系统 */ export declare type basicThemeType = 'light' | 'dark' | 'auto' | 'xconsole' | 'wind'; /** 品牌色,内置除默认品牌色外7种 */ export declare type brandColorType = keyof typeof lightBrandColor | 'default'; /** 自定义基础组件主题变量 */ declare type customComponentThemeType = { [cssVar: string]: any; }; /** 自定义图表主题变量 */ declare type customChartThemeType = any; /** 自定义主题参数 */ declare type customThemeType = brandColorType | { component?: customComponentThemeType; chart?: customChartThemeType; }; declare const setTheme: (basicTheme: basicThemeType, customTheme?: customThemeType) => void; export default setTheme; export { lightBrandColor, darkBrandColor, brandColorInfo };