Skip to content

T2113: Deprecated token used ​

Cause ​

A style uses a token that is marked deprecated ($extensions.tessera.deprecated). It still works; the warning says what to use instead, so it can be removed safely later.

Example ​

text
<contract>
{ "name": "Card", "role": "group", "parts": ["root"] }
</contract>
<template><div class="root"></div></template>
<style>
.root { color: $color.text.muted; }
</style>

What you see ​

text
WARNING  T2113  app/components/Card.tess:6:16
  "$color.text.muted" is deprecated: Use a newer token.
  Run `tessera explain T2113` for details.

Fix ​

Use the token the message names. tessera report lists every remaining use.

All errors and warnings