UNPKG

@chayns/colors

Version:

JavaScript utility functions for the calculation of colors for chayns

8 lines (7 loc) 314 B
declare function getAvailableColorList(): string[]; declare function getColorFromPalette(colorId: number | string, { color, colorMode, secondaryColor, }: { color?: string; colorMode?: 0 | 1 | 2; secondaryColor?: string | null; }): string | null; export { getColorFromPalette, getAvailableColorList, };