-
-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
context-v1Related to tailwind-merge v1Related to tailwind-merge v1
Description
Describe the bug
Using text-balance
from the Tailwind Insiders package with a text color utility class, such as text-white
, results in only the last class being kept. If I do text-balance text-white
, only text-white
is kept. If I do text-white text-balance
, only text-balance
is kept. Unfortunately, these two classes do two different things and should, therefore, not conflict when merging.
To Reproduce
npm install tailwindcss@insiders
and then try using twMerge('text-white text-balance')
Expected behavior
The two classes should not conflict with each other so that they're both added to the final output of twMerge
Environment
- tailwind-merge version: 1.14.0
- tailwind version: 0.0.0-insiders.614c7e2
Metadata
Metadata
Assignees
Labels
context-v1Related to tailwind-merge v1Related to tailwind-merge v1