FUI2001: Design token is required

serious

A raw style value was used where project policy requires a design token.

Details

diagnostic
{
  "code": "FUI2001",
  "ruleId": "tokens/require-design-tokens",
  "category": "Tokens",
  "defaultSeverity": "serious",
  "lifecycle": "experimental",
  "fixAvailable": true,
  "evidenceRequired": true
}

Guidance

Use a project design token instead of a hardcoded color, spacing, or typography value.

Prefer the suggested token when the finding includes one. When no suggestion is available, add or map an appropriate token in the design-token source before changing the component.