You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello tailwindcss lovers!
I have an idea that if you make a mode for the collector that will set the classes itself, which is exactly assumed. I called it 'groups'. For example, if a developer added align-center justify-center classes, this explicitly indicates that the element must be flex. What if you make a build mode where such classes are put in by themselves. Yes, this will result in code that the programmer did not explicitly specify, but tailwindcss is already an abstraction, often classes are not just one property. On the plus side, the code will be shorter and not so horizontal.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello tailwindcss lovers!
I have an idea that if you make a mode for the collector that will set the classes itself, which is exactly assumed. I called it 'groups'. For example, if a developer added
align-center justify-center
classes, this explicitly indicates that the element must beflex
. What if you make a build mode where such classes are put in by themselves. Yes, this will result in code that the programmer did not explicitly specify, but tailwindcss is already an abstraction, often classes are not just one property. On the plus side, the code will be shorter and not so horizontal.Beta Was this translation helpful? Give feedback.
All reactions