UNPKG

@14ch/color-palette-generator

Version:

A comprehensive color palette generation library with support for color scales, combinations, and transparency

14 lines (13 loc) 472 B
import type { ColorConfig, Palette } from "./types"; /** * Generate versatile color palette(s) from specified color(s) */ export declare const generateColorPalette: (input: ColorConfig | ColorConfig[]) => Palette; /** * Resolve CSS variable to its final HEX value by following all variable references */ export declare const resolveVariable: ({ variableName, palette, fallback, }: { variableName: string; palette: Palette; fallback?: string; }) => string;