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

Unknown at rule @referencecss (unknownAtRules) #1147

Open
oluijks opened this issue Jan 27, 2025 · 1 comment
Open

Unknown at rule @referencecss (unknownAtRules) #1147

oluijks opened this issue Jan 27, 2025 · 1 comment
Assignees

Comments

@oluijks
Copy link

oluijks commented Jan 27, 2025

What version of VS Code are you using?

v1.96.4

What version of Tailwind CSS IntelliSense are you using?

v0.14.1

What version of Tailwind CSS are you using?

v4.0.0

What package manager are you using?

pnpm

What operating system are you using?

Linux

VS Code settings

{
    "files.associations": {
        "*.css": "tailwindcss"
    }
}

Describe your issue

Followed the docs at: https://tailwindcss.com/docs/installation/framework-guides/sveltekit

Unknown at rule @referencecss (unknownAtRules)

When adding lang=postcss attribute the message goes away:

<style lang="postcss">
  @reference "tailwindcss/theme";
  
  :global(html) {
    background-color: theme(--color-gray-100);
  }
</style>
@thecrypticace thecrypticace self-assigned this Jan 28, 2025
@thecrypticace
Copy link
Contributor

Ah yeah I think we need to update the docs here. I'm not sure we can catch that error and hide it.

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

No branches or pull requests

2 participants