UNPKG

material-theme-util

Version:

Angular Material 10+ Helper Utility for managing Theme colors dynamically, and creating color palettes from single colors.

22 lines (21 loc) 479 B
import { Hex, RGB, HSL } from "./color-format.model"; export declare const REGEX: { HEX: { PARSE: RegExp; TEST: string; }; }; declare const ParseRGB: { HEX: (rgb: RGB) => Hex; HSL: (rgb: RGB) => HSL; }; declare const ParseHEX: { RGB: (hex: Hex) => RGB; HSL: (hex: Hex) => HSL; TEST: (str: any) => boolean; }; declare const ParseHSL: { RGB: (hsl: HSL) => RGB; HEX: (hsl: HSL) => Hex; }; export { ParseHEX, ParseHSL, ParseRGB };