UNPKG

@primer/primitives

Version:

Typography, spacing, and color primitives for Primer design system

6 lines (5 loc) 505 B
import { z } from 'zod'; declare const validScopes: readonly ["all", "bgColor", "fgColor", "borderColor", "borderWidth", "size", "gap", "radius", "effectColor", "effectFloat", "opacity", "fontFamily", "fontStyle", "fontWeight", "fontSize", "lineHeight", "letterSpacing", "paragraphSpacing", "paragraphIndent"]; export type ValidScope = (typeof validScopes)[number]; export declare const scopes: (scopeSubset?: ValidScope[]) => z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>; export {};