From Dev.to
Migrating to Tailwind CSS v4 @theme & OKLCH Without Breaking WCAG Contrast Ratios
Moving from tailwind.config.js to Tailwind CSS v4's CSS-first @theme tokens and oklch() color scales feels much cleaner—until Lighthouse flags failing WCAG AA (4.5:1) contrast in dark mode or colors c...
