mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-02 16:29:30 +08:00
24 lines
847 B
Text
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;
|