tailwindcss/packages
Ben Maurer b92b9f7bdd Add a colorMixPolyfill option to @tailwindcss/postcss
The compiler always emits the color-mix() compatibility pair — a plain
fallback declaration plus the original gated behind
@supports (color: color-mix(in lab, red, red)) — for browsers without
color-mix() support (Safari < 16.2). For projects whose browser floor is at
or above Tailwind's own supported targets, the gated arm always wins and the
fallback arm is dead bytes on the render-blocking path. Measured in a large
app: 342 duplicated @supports blocks, ~42KB decoded / ~4KB gzipped, with
zero rendering difference on every supported browser.

colorMixPolyfill?: boolean (default true, existing behavior unchanged)
masks Polyfills.ColorMix out of the compile, mirroring how the plugin
already varies the polyfill set per input (Polyfills.All ^
Polyfills.AtProperty for CSS Modules). The compiler-cache key gains the
flag so two configs sharing an input file cannot reuse each other's
compiler.
2026-08-29 22:36:41 -07:00
..
@tailwindcss-browser Bump dependencies (#20381) 2026-08-04 13:55:03 +02:00
@tailwindcss-cli Bump dependencies (#20381) 2026-08-04 13:55:03 +02:00
@tailwindcss-node Bump dependencies (#20381) 2026-08-04 13:55:03 +02:00
@tailwindcss-postcss Add a colorMixPolyfill option to @tailwindcss/postcss 2026-08-29 22:36:41 -07:00
@tailwindcss-standalone Bump dependencies (#20381) 2026-08-04 13:55:03 +02:00
@tailwindcss-turbopack Add Turbopack loader integration coverage 2026-07-31 15:13:38 +02:00
@tailwindcss-upgrade Bump dependencies (#20381) 2026-08-04 13:55:03 +02:00
@tailwindcss-vite Do not force full page reloads when using @tailwindcss/vite (#20414) 2026-08-13 17:00:08 +02:00
@tailwindcss-webpack 4.3.3 (#20334) 2026-07-16 07:21:50 -04:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Don't space out and/or/not inside function calls in supports-[…] variants (#20420) 2026-08-14 19:43:33 +00:00
tsconfig.base.json Improve debug logs (#15303) 2024-12-11 15:27:20 +01:00