ProtectedconstructorStatic Readonly InternaltokenStatic Readonly InternaltokenReadonlycolourReadonlycssReadonlyiconsReadonlylogosReadonlyspacingReadonlythemesReadonly InternaltokenReadonlytypographyProtected ReadonlyclrProtected ReadonlyconfigProtected ReadonlyextraProtected ReadonlyinputThe value of this token.
StaticbuildUsed instead of the constructor so that it can be async.
StaticcustomConverts this token or group to a json-compatible object. NOT W3C tokens -- this is meant to be more human-readable.
Uses AbstractTokens.schemaJSON.
Converts this token or group to the values used when converting to scss.
ProtectedparseA 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