Symptom: Dynamic classes from the database are missing

Root cause#

JIT cannot see strings that exist only at runtime.

The fix#

Safelist the pattern: { pattern: /^bg-(red|green)-500$/, variants: ["hover"] }.

Verify#

  • Hard-refresh (the CSS cache is the #1 false negative)
  • Re-generate and re-link the stylesheet
  • Search the docs for the exact class — spelling is unforgiving

troubleshooting/index|All issues · faq/index|FAQ