@tailwindcss/postcss
4.3.4 · 2 Nov 2026MIT59.4M / weekRepositoryHomepagenpmAtom feed
4.3.4 is the newest release of 4.x.
In short
15 fixed
Release note
Fixed
Support
--watch --poll[=ms]in@tailwindcss/cliwhen filesystem events are unreliable or unavailableCanonicalization: Match arbitrary hex colors against theme colors case-insensitively (e.g.
bg-[#fff]andbg-[#FFF]→bg-white)Prevent Preflight from overriding Firefox's native
iframe:focus-visibleoutline stylesEnsure
theme('colors.foo')in JS plugins resolves correctly when both--color-fooand--color-foo-barexistEnsure fractional opacity modifiers work with named shadow sizes like
shadow-sm/12.5,text-shadow-sm/12.5,drop-shadow-sm/12.5, andinset-shadow-sm/12.5Parse selectors like
[data-foo]divas two selectors instead of oneEnsure
@tailwindcss/postcssrebuilds when a preprocessor like Sass changes the input CSS without changing the input file on diskEnsure CSS nesting is handled even when Lightning CSS isn't run, such as in
@tailwindcss/browserand Tailwind PlayPrevent achromatic theme colors from shifting hue when mixed in polar color spaces like
oklchEnsure
--spacing(0)is optimized to0pxinstead of0so it remains a<length>when used incalc(…)Load
@parcel/watcheronly when needed in@tailwindcss/cli --watchmode, so one-off builds and--watch --pollwork when@parcel/watchercan't be loadedUse explicit platform fonts instead of
system-uiandui-sans-serifso CJK text respects the page'slangattribute on WindowsPrevent
@tailwindcss/upgradefrom rewriting ignored files when run from a subdirectoryEnsure earlier
@sourcerules pointing to nested files are scanned when later@sourcerules point to files in parent foldersPrevent
@tailwindcss/vitefrom triggering full page reloads when scanned files are processed by Vite but haven't been loaded as modules yet