color-theme-generator
Version:
Generates random color themes that are based in color theory.
14 lines (13 loc) • 554 B
TypeScript
import { ColorThemeData } from './ColorThemeData.js';
import { ColorThemeFactory } from './ColorThemeFactory.js';
export declare class MonochromeThemeFactory extends ColorThemeFactory {
#private;
/**
* Generates a monochrome color theme.
*
* @param numberOfColors - The number of colors to include ranging from 2 to 5.
* @returns An object containing data about the generated color theme.
* @throws Error if the arguments does not pass the validation.
*/
getColorTheme(numberOfColors: number): ColorThemeData;
}