tailwindlabs / tailwindcss-intellisense

Intelligent Tailwind CSS tooling for Visual Studio Code
2.75k stars 183 forks source link

No color indicator for 'dark' variants #886

Closed CHE1RON closed 6 months ago

CHE1RON commented 6 months ago

What version of VS Code are you using?

v1.80.2

What version of Tailwind CSS IntelliSense are you using?

v0.10.2

What version of Tailwind CSS are you using?

v3.0.4

What package manager are you using?

pnpm

What operating system are you using?

macOS

Describe your issue

dark variants do not hint their color:

image

thecrypticace commented 6 months ago

Hey, I'm not seeing this issue:

Screenshot 2023-12-19 at 08 26 58

Can you provide a file that reproduces this issue?

Also I noticed you're on an older version of VSCode. I'd suggest updating to 1.85.1 and seeing if your problem disappears.

CHE1RON commented 6 months ago

Solved it .. I was missing darkMode: 'class' in my config file - without it, Tailwind considers dark to be custom / third-party class and hence no Intellisense is applied 😉