UNPKG

@re-flex/styles

Version:
9 lines (8 loc) 304 B
import { PropertyStringPath, Theme } from "./Types"; declare type ColorPath = PropertyStringPath<Theme["palette"]>; declare const parseColor: (color: ColorPath | string) => { isDark: boolean; primaryColor: ColorPath | string; secondaryColor: ColorPath | string; }; export default parseColor;