Urara-Blog/node_modules/.pnpm-store/v3/files/b1/b18ce9f2c854870baf6c8d65c1ceac7855979a7a62bdf3311bc2b39207c42a7b2feb0fe1613150842f693a1165fcbb111bebed06e26eb29480a294cb649c4e
2022-08-14 01:14:53 +08:00

16 lines
586 B
Text

import { Plugin } from "../extend";
export declare type HarmonyType = "analogous" | "complementary" | "double-split-complementary" | "rectangle" | "split-complementary" | "tetradic" | "triadic";
declare module "../colord" {
interface Colord {
/**
* Returns an array of harmony colors as `Colord` instances.
*/
harmonies(type?: HarmonyType): Colord[];
}
}
/**
* A plugin adding functionality to generate harmony colors.
* https://en.wikipedia.org/wiki/Harmony_(color)
*/
declare const harmoniesPlugin: Plugin;
export default harmoniesPlugin;