Skip to content

remorses/tailwind-variant-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@tailwindcss/vite @variant feature detection bug

Reproduction for tailwindlabs/tailwindcss#19964

A CSS file imported via JS that only uses @variant is silently skipped by @tailwindcss/vite because @variant is not in the feature detection check.

pnpm install
pnpm dev

Open the page with .dark class on <html>. The background should be --color-neutral-950 (very dark) but stays white because overrides.css was never processed by Tailwind.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors