npm tailwindcss 4.0.0-alpha.26
v4.0.0-alpha.26

20 hours ago

Added

  • Add support for prefixes (#14501)
  • Expose timing information in debug mode (#14553)
  • Add support for blocklist in config files (#14556)
  • Add color-scheme utilities (#14567)
  • Add support for wrapping utilities in a selector (#14448)
  • Add support for marking all utilities as !important (#14448)
  • Experimental: Migrate @import "tailwindcss/tailwind.css" to @import "tailwindcss" (#14514)
  • Experimental: Migrate @apply utilities with the template codemods (#14574)
  • Experimental: Add template codemods for migrating variant order (#14524)
  • Experimental: Add template codemods for migrating bg-gradient-* utilities to bg-linear-* (#14537)
  • Experimental: Add template codemods for migrating prefixes (#14557)
  • Experimental: Add template codemods for removal of automatic var(…) injection (#14526)
  • Experimental: Add template codemods for migrating important utilities (e.g. !flex to flex!) (#14502)

Fixed

  • Use the right import base path when using the CLI to reading files from stdin (#14522)
  • Ensure that @utility is top-level and cannot be nested (#14525)
  • Only setup a single compiler in @tailwindcss/postcss for initial builds (#14565)
  • Ensure editing imported CSS files triggers a rebuild (#14561)
  • Ensure @apply and CSS functions work inside imported stylesheets (#14576)
  • Experimental: Improve codemod output, keep CSS after last Tailwind directive unlayered (#14512)
  • Experimental: Fix incorrect empty layer() at the end of @import at-rules when running codemods (#14513)
  • Experimental: Do not wrap comment nodes in @layer when running codemods (#14517)
  • Experimental: Ensure we don't lose selectors when running codemods (#14518)
  • Experimental: inject @import in a more expected location when running codemods (#14536)

Changed

  • Disallow bare values with decimal places (#14562)

Don't miss a new tailwindcss release

NewReleases is sending notifications on new releases.