UNPKG

postcss-color-hct

Version:

PostCSS plugin to transform hct() function to more compatible CSS (rgb() or rgba()).

11 lines (10 loc) 376 B
declare module "utils" { export function getColor(values: any[]): string; type ColorValue = string | number; export function hctToHex(h: ColorValue, c: ColorValue, t: ColorValue): string; export function hexToRgb(hex: string): number[]; } declare module "index" { function colorHcl(css: any): void; export function colorHclPlugin(): typeof colorHcl; }