Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
847 bytes
|
Line | |
---|
1 | import { CmykaColor } from "../types";
|
---|
2 | import { Plugin } from "../extend";
|
---|
3 | declare module "../colord" {
|
---|
4 | interface Colord {
|
---|
5 | /**
|
---|
6 | * Converts a color to CMYK color space and returns an object.
|
---|
7 | * https://drafts.csswg.org/css-color/#cmyk-colors
|
---|
8 | * https://lea.verou.me/2009/03/cmyk-colors-in-css-useful-or-useless/
|
---|
9 | */
|
---|
10 | toCmyk(): CmykaColor;
|
---|
11 | /**
|
---|
12 | * Converts a color to CMYK color space and returns a string.
|
---|
13 | * https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/device-cmyk()
|
---|
14 | */
|
---|
15 | toCmykString(): string;
|
---|
16 | }
|
---|
17 | }
|
---|
18 | /**
|
---|
19 | * A plugin adding support for CMYK color space.
|
---|
20 | * https://lea.verou.me/2009/03/cmyk-colors-in-css-useful-or-useless/
|
---|
21 | * https://en.wikipedia.org/wiki/CMYK_color_model
|
---|
22 | */
|
---|
23 | declare const cmykPlugin: Plugin;
|
---|
24 | export default cmykPlugin;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.