heybourn/headwind

Support for breakpoints grouping

chenjau opened this issue · 1 comments

current behavior:
div class='md:h-21 md:w1/2 fixed top-0 z-10 flex-shrink-0 w-full h-16'
expect:
div class='fixed top-0 z-10 flex-shrink-0 w-full md:w1/2 h-16 md:h-21'


I think the problem is these classes don't exist in sort order list, and adding these numerous classes to config is impossible.


Maybe we can just ignore breakpoint prefixes, md:h-21 == h-21 for example?

Hello,
It would be awesome if support for breakpoints is added.
In my case it's important to be able to read the classes in a mobile first order. maybe sorting breakpoints by the order in screens in tailwind configuration?