[V4] Custom Colors Not Displaying in Tailwind CSS v4 with Vite Setup #16338
Unanswered
lkingch310
asked this question in
Help
Replies: 1 comment
-
As per the documentation:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What version of Tailwind CSS are you using?
v4.0.4
What build tool (or framework if it abstracts the build tool) are you using?
Vite 6.1.0
What version of Node.js are you using?
22.13.1
What browser are you using?
Chrome, Edge
What operating system are you using?
For example: Windows
Reproduction URL
Playground support HTML+CSS, but not TSX
Describe your issue
Environment: Vite + Tailwind CSS
npm create vite@latest # (react+ts) npm install tailwindcss @tailwindcss/vite
Configuration:
Issue:
App.tsx
info
anddanger
colors display.App.tsx
Expected Result:
All custom colors should display correctly.
Beta Was this translation helpful? Give feedback.
All reactions