Skip to content

T1016: Import skipped or adjusted something ​

Cause ​

An import (tessera tokens import) left something out or changed it, so that what it wrote builds. A type Tessera does not support (a gradient, a typography composite) is skipped and kept under $extensions.tessera.skipped; a unitless number is read as pixels; a name with spaces is rewritten. It is a warning: nothing is lost silently, and tessera tokens export puts skipped tokens back.

Example ​

text
// brand.json
{
  "fancy": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0,
            0,
            0
          ]
        },
        "position": 0
      }
    ]
  }
}

What you see ​

text
WARNING  T1016  brand.tokens.json  fancy
  The type "gradient" is not supported. Kept in $extensions.tessera.skipped.
  Run `tessera explain T1016` for details.

Fix ​

Read the note and, if the token matters, express it in a type Tessera supports (for a typography composite, separate font family, size and weight tokens).

All errors and warnings