Font Family
Font family tokens in the Jux Editor
Jux supports font family tokens from a list of available font families (if the font family you are looking for doesn’t appear on the list you can submit a request via support@jux.io
Font family tokens can be aliased (pointed to) by Typography tokens in the font family field:
ont family tokens have these fields:
- A name (like
ui
ortitles
) - A folder path (like
color
/core
/titles
) - Optional - an alias to another token
- Value selection from a list
- Optional - description
Font family tokens only be used in the DDP in the Typography module
The font family field can be tokenized by clicking on the ‘token icon button’ that appears on the right side of the field upon hover:
Under the hood
Jux adheres to the W3C Community group’s draft guidelines regarding font family tokens (section 8.3.) and stores the token as a JSON file with the following structure:
Property | Type | Description |
---|---|---|
$type | string | Required. "fontFamily" |
$value | string | string[] |
$description | string | (Optional) A description of this token and its intended usage. |