Last change
on this file since 84d0fbb was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
586 bytes
|
Line | |
---|
1 | import { Plugin } from "../extend";
|
---|
2 | export declare type HarmonyType = "analogous" | "complementary" | "double-split-complementary" | "rectangle" | "split-complementary" | "tetradic" | "triadic";
|
---|
3 | declare 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 | */
|
---|
15 | declare const harmoniesPlugin: Plugin;
|
---|
16 | export default harmoniesPlugin;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.