Skip to content

T2110: raw() escape expired ​

Cause ​

A raw() escape had an expiry date and it has passed, so the exemption is now an error.

Example ​

xml
<contract>
{ "name": "Card", "role": "group", "parts": ["root"] }
</contract>
<template><div class="root"></div></template>
<style>
.root { padding: raw(13px, "legacy modal spacing", "2020-01-01"); }
</style>

What you see ​

text
ERROR  T2110  app/components/Card.tess:6:18
  This raw(13px) expired on 2020-01-01: "legacy modal spacing".
  Replace 13px with a token, or extend the date with a new reason.
  Run `tessera explain T2110` for details.

Fix ​

Replace the value with a token, or extend the date with a new reason.

All errors and warnings