Create a new design token
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Tokenset ID |
modeId | string | Yes | Mode ID |
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Token name (dot notation, e.g., colors.primary.500) |
type | string | Yes | Token type (see valid types below) |
value | string | Yes | Token value |
description | string | No | Optional description |
alias_to | string | No | Reference to another token (for aliases) |
color - Color valuesdimension - Sizes and spacingfontFamily - Font familiesfontWeight - Font weightsfontSize - Font sizeslineHeight - Line heightsletterSpacing - Letter spacingduration - Animation durationscubicBezier - Easing functionsnumber - Numeric valuesstrokeStyle - Stroke stylesborder - Border definitionstransition - Transition definitionsshadow - Shadow effectsgradient - Gradient definitionstypography - Complete typography definitions201 Created
colors.primary.500spacing.component.padding.xfont.size.heading.h1primaryColor500spacing_basefontSizeBody