Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
820 B
24 lines
820 B
2 years ago
|
import { HwbaColor } from "../types";
|
||
|
import { Plugin } from "../extend";
|
||
|
declare module "../colord" {
|
||
|
interface Colord {
|
||
|
/**
|
||
|
* Converts a color to HWB (Hue-Whiteness-Blackness) color space and returns an object.
|
||
|
* https://en.wikipedia.org/wiki/HWB_color_model
|
||
|
*/
|
||
|
toHwb(): HwbaColor;
|
||
|
/**
|
||
|
* Converts a color to HWB (Hue-Whiteness-Blackness) color space and returns a string.
|
||
|
* https://www.w3.org/TR/css-color-4/#the-hwb-notation
|
||
|
*/
|
||
|
toHwbString(): string;
|
||
|
}
|
||
|
}
|
||
|
/**
|
||
|
* A plugin adding support for HWB (Hue-Whiteness-Blackness) color model.
|
||
|
* https://en.wikipedia.org/wiki/HWB_color_model
|
||
|
* https://www.w3.org/TR/css-color-4/#the-hwb-notation
|
||
|
*/
|
||
|
declare const hwbPlugin: Plugin;
|
||
|
export default hwbPlugin;
|