-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Compound background-image JIT not working #8165
Comments
Maybe there is a bug using single quotes. (the selector is just not valid) |
Hey! We've rewritten our default class candidate extractor and it should allow multiple backgrounds in arbitrary values even with mixed/missing quotes. Would you mind giving the insiders build a test and make sure that you're seeing what you expect? |
@thecrypticace I am getting an error in globals.css when importing tailwind base using @insiders @tailwind base; /* <- error */
@tailwind components;
@tailwind utilities;
* {
--primary-color: #00bcd4;
} Error: 'base' is not a valid value. Did you mean 'screens'?(invalidTailwindDirective) The error is gone if I switch back to tailwindcss@latest |
Is the error coming from the Intellisense plugin? Does it build properly? I'm testing the insiders build and I can see that it builds properly but did apparently cause the intellisense plugin to have an issue. Will look into that. Thanks! |
@thecrypticace I am not getting it to work. Just for reference, I am using: yarn create next-app --example with-tailwindcss with-tailwindcss-app;
yarn add tailwindcss@insiders;
yarn dev; bg-[var(--primary-color)] |
What version of Tailwind CSS are you using?
tailwindcss@3.0.24
What browser are you using?
Firefox
Doing compound bg-[] for background images is not working.
e.g.
Either of those work by themselves works, but when it is joined it is not working.
When I hover over it the CSS class it says it will create is correct.
https://play.tailwindcss.com/5sCBtDy3RZ
The text was updated successfully, but these errors were encountered: