material-chalk
Version:
Generate beautiful colors from namespaces based on color theory
8 lines (7 loc) • 376 B
TypeScript
/**
* File for opinionated ways to format common cases
*/
import { Hct } from "@material/material-color-utilities";
import { type NamespaceResult } from "./core.js";
export declare function chainedMessage(chalk: typeof import("chalk").default, namespace: string | string[], ...s: unknown[]): string;
export declare function matchColor(color: Hct | string): NamespaceResult;