Urara-Blog/node_modules/.pnpm-store/v3/files/5d/dbf867988eae5a6a5e971f4647db6732c0b96d5e17e25990689559d67ebdfbe484f56c51f34caf0263e4ace69cb3855353fef0512c7ffb6ecdd01702f06a00
2022-08-14 01:14:53 +08:00

19 lines
612 B
Text

import { Plugin } from "../extend";
interface ConvertOptions {
closest?: boolean;
}
declare module "../colord" {
interface Colord {
/** Finds CSS color keyword that matches with the color value */
toName(options?: ConvertOptions): string | undefined;
}
}
/**
* Plugin to work with named colors.
* Adds a parser to read CSS color names and `toName` method.
* See https://www.w3.org/TR/css-color-4/#named-colors
* Supports 'transparent' string as defined in
* https://drafts.csswg.org/css-color/#transparent-color
*/
declare const namesPlugin: Plugin;
export default namesPlugin;