@re-flex/styles
Version:
Core Style Util Package
9 lines (8 loc) • 304 B
TypeScript
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;