eslint-plugin-vanilla-extract/src/css-rules/prefer-theme-tokens
Ante Budimir 1d88c12e3d
Some checks failed
CI / Build (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
feat 🥁: add prefer-theme-tokens rule
- Enforce theme tokens over hard-coded values in vanilla-extract styles (colors, spacing, font sizes, border radius/widths, shadows, z-index, opacity, font weights, transitions)
- Provide token suggestions from configured theme contracts; optional auto-fix for unambiguous replacements
2025-11-14 08:09:39 +02:00
..
__tests__ feat 🥁: add prefer-theme-tokens rule 2025-11-14 08:09:39 +02:00
index.ts feat 🥁: add prefer-theme-tokens rule 2025-11-14 08:09:39 +02:00
rule-definition.ts feat 🥁: add prefer-theme-tokens rule 2025-11-14 08:09:39 +02:00
theme-contract-analyzer.ts feat 🥁: add prefer-theme-tokens rule 2025-11-14 08:09:39 +02:00
theme-token-processor.ts feat 🥁: add prefer-theme-tokens rule 2025-11-14 08:09:39 +02:00
theme-token-visitor-creator.ts feat 🥁: add prefer-theme-tokens rule 2025-11-14 08:09:39 +02:00
value-evaluator.ts feat 🥁: add prefer-theme-tokens rule 2025-11-14 08:09:39 +02:00