greglebreton 4e8a693745
Some checks failed
continuous-integration/drone/push Build is failing
add garagenum exp + maj url site projets
2023-01-08 16:50:31 +01:00

20 lines
631 B
TypeScript

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;