UNPKG

@primer/primitives

Version:

Typography, spacing, and color primitives for Primer design system

19 lines (18 loc) 1.14 kB
import { z } from 'zod'; export declare const stringToken: z.ZodObject<z.objectUtil.extendShape<{ $description: z.ZodOptional<z.ZodString>; $deprecated: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>; }, { $value: z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodString, string, string>]>; $type: z.ZodLiteral<"string" | "number" | "border" | "color" | "fontFamily" | "fontWeight" | "dimension" | "duration" | "gradient" | "shadow" | "typography" | "cubicBezier" | "custom-viewportRange">; }>, "strict", z.ZodTypeAny, { $value: string; $type: "string" | "number" | "border" | "color" | "fontFamily" | "fontWeight" | "dimension" | "duration" | "gradient" | "shadow" | "typography" | "cubicBezier" | "custom-viewportRange"; $description?: string | undefined; $deprecated?: string | boolean | undefined; }, { $value: string; $type: "string" | "number" | "border" | "color" | "fontFamily" | "fontWeight" | "dimension" | "duration" | "gradient" | "shadow" | "typography" | "cubicBezier" | "custom-viewportRange"; $description?: string | undefined; $deprecated?: string | boolean | undefined; }>;