@blockstack/ui
Version:
Blockstack UI components built using React and styled-components with styled-system.
6 lines (5 loc) • 437 B
TypeScript
import { ColorsStringLiteral, ThemeColorsStringLiteral } from './types';
export declare const colorGet: (path: string, fallback?: string | undefined) => (props: any) => any;
export declare const color: (name: ColorsStringLiteral) => string;
export declare const themeColor: (name: ThemeColorsStringLiteral) => string;
export declare const generateCssVariables: (mode: "light" | "dark") => ({ colorMode, ...rest }: any) => string[];