@primer/primitives
Version:
Typography, spacing, and color primitives for Primer design system
6 lines (5 loc) • 379 B
TypeScript
import { z } from 'zod';
declare const validTypes: readonly ["color", "cubicBezier", "typography", "dimension", "duration", "border", "shadow", "fontFamily", "fontWeight", "gradient", "number", "string", "custom-viewportRange"];
export type TokenType = (typeof validTypes)[number];
export declare const validateType: z.ZodRecord<z.ZodString, z.ZodLazy<z.ZodTypeAny>>;
export {};