@primer/primitives
Version:
Typography, spacing, and color primitives for Primer design system
14 lines (13 loc) • 765 B
TypeScript
import { z } from 'zod';
export declare const stringToken: z.ZodObject<{
$description: z.ZodOptional<z.ZodString>;
$deprecated: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
$value: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
$type: z.ZodLiteral<"number" | "border" | "color" | "fontFamily" | "fontWeight" | "transition" | "duration" | "dimension" | "gradient" | "shadow" | "typography" | "cubicBezier" | "custom-viewportRange" | "custom-string">;
$extensions: z.ZodOptional<z.ZodObject<{
'org.primer.llm': z.ZodOptional<z.ZodObject<{
usage: z.ZodOptional<z.ZodArray<z.ZodString>>;
rules: z.ZodOptional<z.ZodString>;
}, z.core.$strip>>;
}, z.core.$strip>>;
}, z.core.$strict>;