Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Migration tool does not migrate theme in Svelte files #16637

Closed
benmccann opened this issue Feb 18, 2025 · 0 comments
Closed

Migration tool does not migrate theme in Svelte files #16637

benmccann opened this issue Feb 18, 2025 · 0 comments

Comments

@benmccann
Copy link

benmccann commented Feb 18, 2025

What version of Tailwind CSS are you using?

v4

What build tool (or framework if it abstracts the build tool) are you using?

Vite

What version of Node.js are you using?

22.11.0

What browser are you using?

Chrome

What operating system are you using?

Linux

Reproduction URL

Create a new Svelte + Tailwind 3 project with npx [email protected] create and choose tailwind when setting up the project

Describe your issue

When you run the migration tool, it does not add @reference "tailwindcss/theme"; to your .svelte files. It took me awhile to figure out why my site wasn't working after running the migration tool and this turned out to be the main issue

@tailwindlabs tailwindlabs locked and limited conversation to collaborators Feb 21, 2025
@RobinMalfait RobinMalfait converted this issue into discussion #16719 Feb 21, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant