v2.2.8 not generating global variables
See original GitHub issueWhat version of Tailwind CSS are you using?
2.2.6
What build tool (or framework if it abstracts the build tool) are you using?
vite 2.4.3, postcss 8.3.6, typescript 4.3.5
What version of Node.js are you using?
v14
What browser are you using?
Safari, Chrome
What operating system are you using?
macOS
Reproduction repository
https://github.com/mattiaz9/tailwind-global-variable-issue
Describe your issue
I believe is the same issue as this: https://github.com/tailwindlabs/tailwindcss/issues/5034
What I noticed is that the problem occurs when using @apply
rather than utility classes.
To run the reproduction repository: yarn && yarn dev
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Global role variables — DebOps v2.2.8-16-g15075c1fe ...
One place where users can define variables that are always guaranteed to be present is the Ansible inventory. However roles cannot modify the...
Read more >Loading Project and Katalon Studio is stuck at "Generating ...
Please check all of your Global Variable profiles, some of your variables are invalid so KS could not generate GlobalVariable.class when ...
Read more >2.7: Global Variables - Engineering LibreTexts
The problem is that example2 creates a new local variable named been_called . The local variable goes away when the function ends, and...
Read more >Create a global value - Automation Anywhere Documentation
When the global value is initialized, you cannot change the name. Global values cannot be named Java keywords such as String, Boolean, Integer, ......
Read more >Refactor Global Variables Out of Functions - Free Code Camp
In this functional programming tutorial we refactor global variables out of functions. This video constitutes one part of many where I cover ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Another fix for this issue, instead of downgrading to 2.2.4 is to add missing vars to your utility section :
@adamwathan looks like it’s working (mostly), but I noticed that the var
--tw-backdrop-filter
is missing and the backdrop filter doesn’t work. Apparently this issue is there since the version 2.2.5.