astro-ghostcms/.pnpm-store/v3/files/29/84b683302149764cb083e997b98...

9 lines
405 B
Plaintext

import type { ColorValue } from '@emmetio/css-abbreviation';
export default function color(token: ColorValue, shortHex?: boolean): string;
/**
* Output given color as hex value
* @param short Produce short value (e.g. #fff instead of #ffffff), if possible
*/
export declare function asHex(token: ColorValue, short?: boolean): string;
export declare function frac(num: number, digits?: number): string;