variable.ts

Declarations
#

3 declarations

view source

STYLE_VARIABLE_NAME_MATCHER
#

StyleVariable
#

variable.ts view source

ZodObject<{ name: ZodString; light: ZodOptional<ZodString>; dark: ZodOptional<ZodString>; summary: ZodOptional<ZodString>; }, $strip>

Zod schema for validating StyleVariable objects. Use safeParse for validation; the StyleVariable type is defined separately to preserve the Flavored brand on name.

StyleVariableName
#