Open phacks opened 2 years ago
Hi. How is it going? Looks like the test has been failed. Can you guys fix it, please?
oops! Done!
Any word on a merge for this?
Edit: actually I gave it a try and it doesn't seem to work:
<View className='lg:text-black sm:text-black xl:text-black dark:bg-black flex-1 text-black bg-white'>
We would want the modifiers after the base classes
Hey everyone! This PR adds sorting for Tailwind modifier classes:
md:w-12
,hover:bg-gray-500
...The sort is as follows:
md:
), the sort is the same assortOrder
This PR does not introduce all possible variations of all possible classes, but instead does the following:
sortOrder
Example:
Closes #52, #104 and #142.
I’m not sure whether we should make the order of modifier classes, or modified vs. non-modified classes customizable. I’d suggest tackling this in a subsequent PR should we want to!