-
-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Labels
context-v3Related to tailwind-merge v3Related to tailwind-merge v3featureIs new featureIs new feature
Description
Announced in Tweet https://x.com/adamwathan/status/1905670109441446391
Tailwind CSS v4.1 coming next week π€π»
Changes to check
Everything in https://github.com/tailwindlabs/tailwindcss/releases/tag/v4.1.0.
Added
- Add
details-content
variant (#15319) - Add
inverted-colors
variant (#11693) - Add
noscript
variant (#11929, #17431) - Add
items-baseline-last
andself-baseline-last
utilities (#13888, #17476) - Add
pointer-none
,pointer-coarse
, andpointer-fine
variants (#16946) - Add
any-pointer-none
,any-pointer-coarse
, andany-pointer-fine
variants (#16946) - Add safe alignment utilities (#14607)
- Add
user-valid
anduser-invalid
variants (#12370) - Add
wrap-anywhere
,wrap-break-word
, andwrap-normal
utilities (#12128) - Add
@source inline(β¦)
and@source not inline(β¦)
(#17147) - Add
@source not "β¦"
(#17255) - Add
text-shadow-*
utilities (#17389) - Add
mask-*
utilities (#17134) - Add
bg-{position,size}-*
utilities for arbitrary values (#17432) - Add
shadow-*/<alpha>
,inset-shadow-*/<alpha>
,drop-shadow-*/<alpha>
, andtext-shadow-*/<alpha>
utilities to control shadow opacity (#17398, #17434) - Add
drop-shadow-<color>
utilities (#17434) - Improve compatibility with older versions of Safari and Firefox (#17435)
Fixed
- Follow symlinks when resolving
@source
directives (#17391) - Don't scan ignored files for classes when changing an ignored file triggers a rebuild using
@tailwindcss/cli
(#17255) - Support negated
content
rules in legacy JavaScript configuration (#17255) - Interpret syntax like
@("@")md:β¦
as@md:β¦
in Razor files (#17427) - Disallow top-level braces, top-level semicolons, and unbalanced parentheses and brackets in arbitrary values (#17361)
- Ensure the
--theme(β¦)
function still resolves to the CSS variables when using legacy JS plugins (#17458) - Detect used theme variables in CSS module files (#17433, #17467)
Changed
- Ignore
node_modules
by default (can be overridden by@source β¦
rules) (#17255) -
@source
rules that include file extensions or point insidenode_modules/
folders no longer consider your.gitignore
rules (#17255) - Deprecate
bg-{left,right}-{top,bottom}
in favor ofbg-{top,bottom}-{left,right}
utilities (#17378) - Deprecate
object-{left,right}-{top,bottom}
in favor ofobject-{top,bottom}-{left,right}
utilities (#17437)
ivan-plotnikov and sectsectMartinCura
Metadata
Metadata
Assignees
Labels
context-v3Related to tailwind-merge v3Related to tailwind-merge v3featureIs new featureIs new feature