UNPKG

@themeprint/themes

Version:
10 lines (9 loc) 341 B
import { Color } from '@themeprint/colors'; import { SwatchColor } from './swatches'; export interface ColorsOptions { name: string; color: SwatchColor; variant?: string; format?: (color: Color) => string; } export declare const swatch: ({ name, color, variant, format, }: ColorsOptions) => Record<string, unknown>;