ipink-themejs
Version:
Theme for ui, 根据自定义的颜色值导出一套常用的Map合集, 字号、圆角、边框、字色、背景色、...
19 lines (17 loc) • 573 B
TypeScript
import { PresetColorType, SeedMap, ColorNeutralMap } from '../interface';
export interface ColorMap {
1: string;
2: string;
3: string;
4: string;
5: string;
6: string;
7: string;
8: string;
9: string;
10: string;
}
export type GenerateColorMap = (baseColor: string) => ColorMap;
export type GenerateNeutralColorMap = (bgBaseColor: string, textBaseColor: string, colorWhiteText: string, shadowBaseColor: string) => ColorNeutralMap;
export declare const defaultPresetColors: PresetColorType;
export declare const seedColors: SeedMap;