@primer/primitives
Version:
Typography, spacing, and color primitives for Primer design system
20 lines (19 loc) • 900 B
TypeScript
import { z } from 'zod';
export declare const durationToken: z.ZodObject<{
$description: z.ZodOptional<z.ZodString>;
$deprecated: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
$value: z.ZodUnion<readonly [z.ZodObject<{
value: z.ZodNumber;
unit: z.ZodEnum<{
s: "s";
ms: "ms";
}>;
}, z.core.$strict>, 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>;