retro-react
Version:
A React component library for building retro-style websites
6 lines (5 loc) • 301 B
TypeScript
import { Theme } from '@emotion/react';
export declare type ComponentColors = 'primary' | 'secondary' | 'success' | 'error' | 'warn';
export declare const colorOptions: string[];
declare function getColorScheme(color: ComponentColors | string, theme?: Theme): any;
export default getColorScheme;