We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What version of Tailwind CSS are you using?
4.0.0-alpha.33
What build tool (or framework if it abstracts the build tool) are you using?
vite 5.4.11
What version of Node.js are you using?
—
What browser are you using?
Chrome
What operating system are you using?
Windows
Reproduction URL
Describe your issue
--color-primary is not works properly on build result but works as expected in development mode.
--color-primary
Steps to Reproduce
<div style="background-color: var(--color-primary); width: 40px; height: 40px; margin-top: 10px; margin-bottom: 10px;"> </div>
@theme { --color-primary: light-dark(theme(--color-cyan-700), theme(--color-cyan-300)); }
dev mode result
build result
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Tailwind CSS are you using?
4.0.0-alpha.33
What build tool (or framework if it abstracts the build tool) are you using?
vite 5.4.11
What version of Node.js are you using?
—
What browser are you using?
Chrome
What operating system are you using?
Windows
Reproduction URL
—
Describe your issue
--color-primary
is not works properly on build result but works as expected in development mode.Steps to Reproduce
dev mode result
build result
The text was updated successfully, but these errors were encountered: