InternalInternalStatic Readonly InternaltokenStatic Readonly InternaltokenReadonly InternaldataThe value of this token.
Readonly InternaltokenProtected Readonly InternalextraProtected Readonly InternalnamesStaticcustomInternalConverts this token or group to a json-compatible object. NOT W3C tokens -- this is meant to be more human-readable.
Uses AbstractTokens.schemaJSON.
ProtectedparseInternalA utility for parsing Zod schemas with appropriate error handling.
Schema to use when parsing the value.
The value to check against the schema.
A context object used for AbstractTokens.Tokens_Error if the parsing fails.
Optional. Message to use if the parsing fails.
Optional. Parameters passed to the Zod schema's safeParse method.
Generates a complete token object for the design system.
Since
0.1.0-alpha