Comments (6)
Hey! I think the issue here is you need to be on @tailwindcss/[email protected]
(you're currently on alpha.9) but when I install alpha 10 the site never even loads, so there's definitely some issue here. I wouldn't be surprised if there's some conflict with our Vite plugin and the Remix Vite plugin that we need to track down. Will take a look this week!
from tailwindcss.
We've released @tailwindcss/[email protected]
which works around the issue in Vite.
Your reproduction appears to work after updating.
You can run the following to update:
pnpm install -D tailwindcss@next @tailwindcss/vite@next
Thanks for reporting!
from tailwindcss.
I want to add that placed a workaround in the reproduction repo because I also use it for a demo tomorrow at my dayjob.
from tailwindcss.
Related: vitejs/vite#16135 (comment)
from tailwindcss.
Something similar is happening on tailwind 3 as well.. I cannot set variables with multiple words like --primary-color: 255 255 255
or --primary-50: 255 255 255
but --primary: 255 255 255
works as expected. So maybe there's another issue?
from tailwindcss.
We've released
@tailwindcss/[email protected]
which works around the issue in Vite.Your reproduction appears to work after updating.
You can run the following to update:
pnpm install -D tailwindcss@next @tailwindcss/vite@next
Thanks for reporting!
What is the merged PR? Would love to read a bit through the related changes to get a better grasp on how that specific side of the tw project works. Thanks in advance🤙
from tailwindcss.
Related Issues (20)
- [v4] NextJS font variable not applying inside tailwind
- Position sticky is not working on IOS but working on android and web HOT 1
- [v4]: Border and Outline styles don't work HOT 2
- Arbitrary groups is not working
- No `Hot Reload` when importing TailwindConfig from another `tailwind.config.ts` file HOT 2
- safelist pattern can not find some classes but can find others HOT 2
- Tailwind CDN page is empty HOT 14
- line clamp bug
- 3.4.2 contains a breaking change related to `@apply` HOT 3
- In Firefox v124, some styles fail to apply due to missing fallback values for custom properties. HOT 2
- [V4] Box Shadow Color doesn't work HOT 5
- [v4] Styles not being generated on project build HOT 3
- Tailwind classes not work in mfe remote module
- Shadow does not apply when size is instantiated on hover HOT 5
- Add group values to Tailwind CSS
- [V4] - @keyframes not being hoisted into built css HOT 1
- group not working in conjunction to data selectors? HOT 4
- Breaking changes in plugins potentially caused by parser changes HOT 12
- Vendor prefix not being applied for `backdrop-filter`, using CLI tool HOT 2
- feat: text-shadow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tailwindcss.