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
944 B
24 lines
944 B
import { LchaColor } from "../types";
|
|
import { Plugin } from "../extend";
|
|
declare module "../colord" {
|
|
interface Colord {
|
|
/**
|
|
* Converts a color to CIELCH (Lightness-Chroma-Hue) color space and returns an object.
|
|
* https://lea.verou.me/2020/04/lch-colors-in-css-what-why-and-how/
|
|
* https://en.wikipedia.org/wiki/CIELAB_color_space#Cylindrical_model
|
|
*/
|
|
toLch(): LchaColor;
|
|
/**
|
|
* Converts a color to CIELCH (Lightness-Chroma-Hue) color space and returns a string.
|
|
* https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/lch()
|
|
*/
|
|
toLchString(): string;
|
|
}
|
|
}
|
|
/**
|
|
* A plugin adding support for CIELCH color space.
|
|
* https://lea.verou.me/2020/04/lch-colors-in-css-what-why-and-how/
|
|
* https://en.wikipedia.org/wiki/CIELAB_color_space#Cylindrical_model
|
|
*/
|
|
declare const lchPlugin: Plugin;
|
|
export default lchPlugin;
|
|
|