Skip to main content

no-inline-style-color

Inline style colors should use CSS custom properties.

SeverityDimensionFiles
WarningToken adoption.tsx .jsx

What it flags

A line like this:

Pending

is reported as:

Inline style color "style={{ color: '#d97706'" — use CSS custom properties

How to fix it

Use var(--token-name) or className instead of inline styles.

Was this page helpful?

Last reviewed by @jschuyler
All systems operationalDocsDevelopersPlatformPricing
PrivacyTerms© 2026 fndd, LLC