Skip to content

feat: support CSS imports in playground #1383

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

Merged
merged 3 commits into from
Jun 17, 2025
Merged

feat: support CSS imports in playground #1383

merged 3 commits into from
Jun 17, 2025

Conversation

dummdidumm
Copy link
Member

Add support for things like import './app.css', which can also influence tailwind's output

Add support for things like `import './app.css'`, which can also influence tailwind's output
Copy link

vercel bot commented Jun 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
svelte-dev ✅ Ready (Inspect) Visit Preview Jun 15, 2025 9:34pm

@Ocean-OS
Copy link
Contributor

Is it a bug that the background is white in dark mode here?

@Serator
Copy link

Serator commented Jun 16, 2025

#1263 - similar issue with the white background.

@dummdidumm
Copy link
Member Author

The logic right now is that we override the base CSS completely when there's custom CSS, which is probably the more sensible behavior (we can't really know what you're doing in your CSS, for example in which way you support dark mode). Merging CSS could result in weird outcomes.

@dummdidumm dummdidumm merged commit 1d6dbf6 into main Jun 17, 2025
4 checks passed
@dummdidumm dummdidumm deleted the tailwind-css branch June 17, 2025 20:34
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