UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

12 lines (11 loc) 584 B
export declare const PresetColors: readonly ["blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "lime", "gold"]; export type PresetColorKey = (typeof PresetColors)[number]; export type PresetColorType = Record<PresetColorKey, string>; type ColorPaletteKeyIndex = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10; export type LegacyColorPalettes = { [key in `${keyof PresetColorType}-${ColorPaletteKeyIndex}`]: string; }; export type ColorPalettes = { [key in `${keyof PresetColorType}${ColorPaletteKeyIndex}`]: string; }; export {};