Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update upgrade CLI to handle containers config correctly #16169

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

joulev
Copy link
Contributor

@joulev joulev commented Feb 2, 2025

Right now, if you have

{
  containers: {
    foo: "1rem",
  },
}

the generated CSS will be

@theme {
  --containers-*: initial;
  --containers-foo: 1rem;
}

which is incorrect – it should be container not containers. Yes I spent a while thinking the Tailwind IntelliSense extension is not working, but in fact the extension is working fine and it's my CSS file that is invalid.

@joulev joulev requested a review from a team as a code owner February 2, 2025 06:43
@philipp-spiess
Copy link
Member

Thanks for spotting this!

@philipp-spiess philipp-spiess merged commit ac202ff into tailwindlabs:main Feb 3, 2025
5 checks passed
@joulev joulev deleted the patch-1 branch February 4, 2025 04:01
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.

3 participants