UNPKG

@cap3/capitano-theme

Version:
25 lines 970 B
import { TinyColor } from "@ctrl/tinycolor"; import { ColorModification, MaterialSwatch, MonochromeSwatch } from "./index"; export declare const calcColor: (base: TinyColor, modification: ColorModification) => TinyColor; export declare const multiply: (rgb1: TinyColor, rgb2: TinyColor) => TinyColor; export declare const getColorObject: (color: TinyColor, name: string) => { name: string; hex: string; darkContrast: boolean; luminance: number; }; export declare const monochromeThemeSwatch: (base: string) => MonochromeSwatch; export declare const materialThemeSwatch: (base: string) => MaterialSwatch; export declare const monochromeColorSwatch: (base: TinyColor) => { name: string; hex: string; darkContrast: boolean; luminance: number; }[]; export declare const calcMaterialSwatch: (hex: TinyColor) => { name: string; hex: string; darkContrast: boolean; luminance: number; }[]; //# sourceMappingURL=colorTools.d.ts.map