UNPKG

@primer/primitives

Version:

Typography, spacing, and color primitives for Primer design system

16 lines (15 loc) 822 B
import { z } from 'zod'; export declare const gradientToken: z.ZodObject<{ $description: z.ZodOptional<z.ZodString>; $deprecated: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>; $value: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{ color: z.ZodUnion<readonly [z.ZodString, z.ZodString]>; position: z.ZodNumber; }, z.core.$strip>>, 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.gradient': z.ZodObject<{ angle: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strict>;