@blockstack/ui
Version:
Blockstack UI components built using React and styled-components with styled-system.
24 lines (23 loc) • 959 B
TypeScript
export declare const get: (color: string, hue: string) => string;
export declare const addOpacity: (color: string, opacity: number) => string;
export declare const addWhite: (color: string, opacity: number) => string;
export declare const addBlack: (color: string, opacity: number) => string;
export declare const isDarkColor: (color: string) => boolean;
export declare const generateAlphaColors: (color: string) => {
900: string;
800: string;
700: string;
600: string;
500: string;
400: string;
300: string;
200: string;
100: string;
50: string;
};
export declare type Emphasis = 'high' | 'medium' | 'low' | 'lowest';
export declare const colorEmphasis: (color: string, emphasis: Emphasis) => string | undefined;
export declare const generateStripe: ({ size, color }: {
size?: string | undefined;
color?: string | undefined;
}) => import("styled-components").FlattenSimpleInterpolation;