Urara-Blog/node_modules/.pnpm-store/v3/files/58/c8e48d0b647a3f4d0fdb26da7c57bd81da4fbad83c4b25f61f9db2f9ea1625cf753a73c3d7f91543d714ef8390853a75edd6912bf6f72d834dc8b4320b3326
2022-08-14 01:14:53 +08:00

24 lines
847 B
Text

import { CmykaColor } from "../types";
import { Plugin } from "../extend";
declare module "../colord" {
interface Colord {
/**
* Converts a color to CMYK color space and returns an object.
* https://drafts.csswg.org/css-color/#cmyk-colors
* https://lea.verou.me/2009/03/cmyk-colors-in-css-useful-or-useless/
*/
toCmyk(): CmykaColor;
/**
* Converts a color to CMYK color space and returns a string.
* https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/device-cmyk()
*/
toCmykString(): string;
}
}
/**
* A plugin adding support for CMYK color space.
* https://lea.verou.me/2009/03/cmyk-colors-in-css-useful-or-useless/
* https://en.wikipedia.org/wiki/CMYK_color_model
*/
declare const cmykPlugin: Plugin;
export default cmykPlugin;