source: trip-planner-front/node_modules/colord/plugins/harmonies.d.ts@ ceaed42

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

initial commit

  • Property mode set to 100644
File size: 586 bytes
Line 
1import { Plugin } from "../extend";
2export declare type HarmonyType = "analogous" | "complementary" | "double-split-complementary" | "rectangle" | "split-complementary" | "tetradic" | "triadic";
3declare module "../colord" {
4 interface Colord {
5 /**
6 * Returns an array of harmony colors as `Colord` instances.
7 */
8 harmonies(type?: HarmonyType): Colord[];
9 }
10}
11/**
12 * A plugin adding functionality to generate harmony colors.
13 * https://en.wikipedia.org/wiki/Harmony_(color)
14 */
15declare const harmoniesPlugin: Plugin;
16export default harmoniesPlugin;
Note: See TracBrowser for help on using the repository browser.