Skip to content

fix: remove deprecated Tailwind CSS variants configuration#277

Open
andygrunwald wants to merge 1 commit intomainfrom
fix/remove-deprecated-tailwind-variants
Open

fix: remove deprecated Tailwind CSS variants configuration#277
andygrunwald wants to merge 1 commit intomainfrom
fix/remove-deprecated-tailwind-variants

Conversation

@andygrunwald
Copy link
Member

Summary

  • Remove ~120 lines of variants configuration from tailwind.config.cjs
  • In Tailwind CSS v3+, all variants are enabled by default and the variants key is completely ignored
  • This was dead configuration adding noise and potential confusion

Test plan

  • astro build succeeds
  • Verify site styling is unchanged (variants had no effect in v3)

🤖 Generated with Claude Code

The variants section (~120 lines) is completely ignored in Tailwind
CSS v3+, where all variants are enabled by default. This was dead
configuration adding noise to the config file.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@netlify
Copy link

netlify bot commented Mar 21, 2026

Deploy Preview for lively-frangollo-e43a02 ready!

Name Link
🔨 Latest commit 054a5d7
🔍 Latest deploy log https://app.netlify.com/projects/lively-frangollo-e43a02/deploys/69bf00735af77e0008024cab
😎 Deploy Preview https://deploy-preview-277--lively-frangollo-e43a02.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant