Skip to content

Add lang="postcss" to SvelteKit guide example #2085

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 1 commit into from
Feb 12, 2025

Conversation

thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Feb 11, 2025

This is necessary to silence linter warnings from VSCode’s CSS language server.

Closes tailwindlabs/tailwindcss-intellisense#1147

Without this you'll see this in a Svelte document that uses <style> tags and @reference:

Screenshot 2025-02-11 at 13 50 24

After you'll see the diagnostic is gone:

Screenshot 2025-02-11 at 13 50 30

This is only neceessary to silence linter warnings from VSCode’s CSS language server.
Copy link

vercel bot commented Feb 11, 2025

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

Name Status Preview Comments Updated (UTC)
tailwindcss-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 11, 2025 6:50pm

@philipp-spiess philipp-spiess changed the title Add lang=“postcss” to SvelteKit guide example Add lang="postcss" to SvelteKit guide example Feb 12, 2025
@thecrypticace thecrypticace merged commit b4430e0 into main Feb 12, 2025
2 checks passed
@thecrypticace thecrypticace deleted the fix/svelte-kit-style branch February 12, 2025 15:08
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.

Unknown at rule @referencecss (unknownAtRules)
2 participants