Back to Explore

wrabit/tailwind-merge-python

GitHub
1 watchersOpen source

Last release:

Tailwind Merge Python is a pure Python utility that merges lists of Tailwind CSS class strings intelligently, removing redundant and conflicting classes according to Tailwind’s rules. It’s useful when you build class strings from multiple sources or conditions, so the final result stays clean and applies the intended styles.

Project status

  • The repository appears quiet, with the last upstream push on 2025-07-23 (roughly 14 months before 2026-09-10), so it does not look actively maintained right now.
  • Updates cadence is low in recent history: 0.2.0 (2025-03-17), 0.3.2 (2025-05-01), 0.3.3 (2025-07-23), then no further updates after 0.3.3.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 0.3.3

    Release 0.3.3 fixes Tailwind class merging behavior for placeholder colors and updates the PyPI publishing automation. The code changes add placeholder color handling to the merge rules, with new tests covering basic, dark variant, and multiple modifier cases.

  • 0.3.2

    Release 0.3.2 focuses on improving how the library resolves Tailwind class conflicts, specifically by fixing base stub conflicts and changing the grouping filter logic. It also claims added support for prefixes, which is reflected in the updated conflict grouping behavior for modifiers and class prefixes.

    Features
  • 0.2.0

    Release 0.2.0 was published on 2025-03-17, but the publisher did not provide any release notes. As a result, there is no documented information about new features, breaking changes, bug fixes, security updates, performance improvements, or migration steps in this release.