npm tailwind-merge 1.12.0
v1.12.0

latest releases: 3.0.1-dev.d862881bc0cb556d80956f50d253cdd4fe56d33c, 3.0.1-dev.2e8f3d5a7476f89e779498565eadc212fec25877, 3.0.1-dev.431c42ad661a55c5908c8a76e5b9f525bf301b18...
22 months ago

With this release tailwind-merge supports all features introduced in Tailwind CSS v3.3.

New Features

  • Add support for postfix modifier by @dcastil in #214
    • This adds support for line-height modifiers in font-size utilities like text-lg/7 and more potential postfix modifiers in the future (learn more).
    • All classes are checked for postfix modifiers since there will be more in the future and they'll be configurable with plugins.
    • tailwind-merge can't know from the class syntax alone whether something is a modifier or not. E.g. there is w-1/2 which doesn't contain a modifier. So tailwind-merge always checks whether class without potential modifier exists and if it doesn't it checks for full class. This behavior might get reversed in the next major version as a breaking change (learn more).
    • Added conflictingClassGroupModifiers object to tailwind-merge config (learn more).

Full Changelog: v1.11.0...v1.12.0

Don't miss a new tailwind-merge release

NewReleases is sending notifications on new releases.