Value of the token
Type: object
| Attribute | Type | Description |
|---|---|---|
| letter_spacing | number (Optional) | Spacing between letters |
| line_height | number (Optional) | Minimum height of a line for the text style |
| alignment | string (Optional) | Horizontal alignment of the text style, left, right, center, or justify |
| font | Design Token Font | - |
| color | string (Optional) | The value of color in rgb(r, g, b) or rgba(r, g, b, a) format for the text style.☝️If there's a matching color token for the text style's color, the color token's value is returned as a reference, e.g. {$colors.light-yellow.value}. |
Example
{
"line_height": 36,
"alignment": "left",
"font": {
"family": "HelveticaNeue",
"size": 36,
"weight": 900,
"stretch": 1
},
"color": "rgb(204, 204, 0)"
}