github dcastil/tailwind-merge v1.9.1

latest releases: v3.3.1, v3.3.0, v3.2.0...
2 years ago

Bug Fixes

  • Fix arbitrary floats not supported in opacity, scale, etc. by @dcastil in #196
    • Up until now classes like opacity-50 opacity-[.025] weren't merged correctly. You might not have noticed since classes with arbitrary values are defined after the default ones in the output stylesheet, but merging it the other way around (opacity-[.025] opacity-50) would have led to a styling bug.
    • This fix led to a new validator isNumber.
  • Fix arbitrary border color value being merged incorrectly by @dcastil in #195

Full Changelog: v1.9.0...v1.9.1

Don't miss a new tailwind-merge release

NewReleases is sending notifications on new releases.