source: trip-planner-front/node_modules/colord/plugins/mix.d.ts@ 188ee53

Last change on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 823 bytes
Line 
1import { AnyColor } from "../types";
2import { Plugin } from "../extend";
3declare module "../colord" {
4 interface Colord {
5 /**
6 * Produces a mixture of two colors through CIE LAB color space and returns a new Colord instance.
7 */
8 mix(color2: AnyColor | Colord, ratio?: number): Colord;
9 /**
10 * Generates a tints palette based on original color.
11 */
12 tints(count?: number): Colord[];
13 /**
14 * Generates a shades palette based on original color.
15 */
16 shades(count?: number): Colord[];
17 /**
18 * Generates a tones palette based on original color.
19 */
20 tones(count?: number): Colord[];
21 }
22}
23/**
24 * A plugin adding a color mixing utilities.
25 */
26declare const mixPlugin: Plugin;
27export default mixPlugin;
Note: See TracBrowser for help on using the repository browser.