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