mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-03 03:19:31 +08:00
16 lines
586 B
Text
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;
|