import { ThemeItem } from '../types'; /** antd 默认主题 */ export const defaultTheme: Omit = { config: { name: 'Default', }, optional: true, isBuiltIn: true, uid: 'default', }; export const dark: Omit = { config: { name: 'Dark', // @ts-ignore algorithm: 'darkAlgorithm', }, optional: true, isBuiltIn: true, uid: 'dark', }; export const compact: Omit = { config: { name: 'Compact', // @ts-ignore algorithm: 'compactAlgorithm', }, optional: true, isBuiltIn: true, uid: 'compact', }; /** 同时包含 `紧凑` 和 `暗黑` 两种模式 */ export const compactDark: Omit = { config: { name: 'Compact dark', // @ts-ignore algorithm: ['compactAlgorithm', 'darkAlgorithm'], }, optional: true, isBuiltIn: true, uid: 'compact_dark', };