@primer/primitives
Version:
Typography, spacing, and color primitives for Primer design system
19 lines (18 loc) • 1.17 kB
TypeScript
import { z } from 'zod';
export declare const durationToken: z.ZodObject<z.objectUtil.extendShape<{
$description: z.ZodOptional<z.ZodString>;
$deprecated: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
}, {
$value: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, 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;
}>;