Skip to content

Completely disabling the default theme shows errors #1248

@mkx419

Description

@mkx419

What version of VS Code are you using?

v1.97.2

What version of Tailwind CSS IntelliSense are you using?

v0.14.8

What version of Tailwind CSS are you using?

v4.0.9

What package manager are you using?

pnpm

What operating system are you using?

Windows 11

Tailwind config

@import "tailwindcss";

@theme {
  --*: initial;

  /* Spacing */
  --spacing: 0.25rem;
}

VS Code settings

{
  "files.associations": {
    "*.css": "tailwindcss"
  },
  "[tailwindcss]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode",
    "editor.tabSize": 2
  }
}

Describe your issue
I disabled the default theme based on the official documentation, and an error was showed.

Image

I think it's related to #1215 and #1237.

I'm not very good at English, so I'm using Google Translate.
I'm sorry if it's hard to understand.

Thanks for the great extension!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions