Font

Font tokens define one single font, such as Lato or Arial .

Example Token Payload

This is what the color payload looks like:

{
  "id": string
  "name": string
  "description": string
  "tokenType": "Font"
  "origin": ItemOrigin | null
  "value": {
    "family": "Lato"
    "subfamily": "bold"
    "referencedToken": Font | null
  }
}

Associated functions

You can use the following functions to retrieve font tokens from your design system:

Last updated