@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
16 lines (15 loc) • 531 B
TypeScript
import { ThemeConfig } from 'antd';
import { ThemeAppearance } from 'antd-style';
import { NeutralColors, PrimaryColors } from '../customTheme';
export interface LobeAntdThemeParams {
appearance: ThemeAppearance;
neutralColor?: NeutralColors;
primaryColor?: PrimaryColors;
}
/**
* create A LobeHub Style Antd Theme Object
* @param neutralColor
* @param appearance
* @param primaryColor
*/
export declare const createLobeAntdTheme: ({ neutralColor, appearance, primaryColor, }: LobeAntdThemeParams) => ThemeConfig;