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
plugin()
What version of Tailwind CSS are you using?
v4.0.1
What build tool (or framework if it abstracts the build tool) are you using?
What version of Node.js are you using?
For example: v12.0.0
What browser are you using?
v20.13.0
What operating system are you using?
macOS 14.6.1 (23G93)
Reproduction URL
https://codesandbox.io/p/live/27a50c21-9a15-410a-be6e-f846fdbb6102
Run the build script and check the terminal output.
build
Describe your issue
When defining my @theme with :
@theme
@theme { --breakpoint-*: initial; --breakpoint-phone: 30rem; --breakpoint-tablet: 48rem; --breakpoint-default: 75rem; }
I was expecting for only my custom breakpoints/screens to exist. But instead it's adding them on top of the existing one when definition a plugin:
{ sm: '40rem', md: '48rem', lg: '64rem', xl: '80rem', '2xl': '96rem', phone: '30rem', tablet: '48rem', default: '75rem', __CSS_VALUES__: { phone: 0, tablet: 0, default: 0 } } ≈ tailwindcss v4.0.1 Done in 113ms
Unless, is it expected to use the __CSS_VALUES__ object?
__CSS_VALUES__
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Tailwind CSS are you using?
v4.0.1
What build tool (or framework if it abstracts the build tool) are you using?
What version of Node.js are you using?
For example: v12.0.0
What browser are you using?
v20.13.0
What operating system are you using?
macOS 14.6.1 (23G93)
Reproduction URL
https://codesandbox.io/p/live/27a50c21-9a15-410a-be6e-f846fdbb6102
Run the
build
script and check the terminal output.Describe your issue
When defining my
@theme
with :I was expecting for only my custom breakpoints/screens to exist.
But instead it's adding them on top of the existing one when definition a plugin:
Unless, is it expected to use the
__CSS_VALUES__
object?The text was updated successfully, but these errors were encountered: