Skip to content

hyoban/tailwindcss-classname-highlight

Repository files navigation

Tailwind CSS ClassName Highlight

Visual Studio Marketplace Version

ScreenShot 2024-02-08 15 11 36

Highlight valid Tailwind CSS class names in your code, idea from UnoCSS VS Code Extension

Q & A

Note

You may need reload the plugin after installing dependencies or changing configuration.

I don't see any highlighting?

I see highlighting but some classes should not be highlighted?

This is how Tailwind works when detecting in your code. And we have already applied the same filtering strategy as UnoCSS.

Does it support Tailwind V4?

Yes, it does.

Does it work with monorepo?

Yes. It will detect all tailwind configurations in your workspace and use different configurations for different packages.

Currently, it does not support tailwind V4.

limitation

This extension can not detect valid className that doesn't generate any CSS. Like group, prose.

About

Highlight valid Tailwind CSS class names in your code.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 7