Replies: 2 comments 7 replies
-
No, I see where you're coming from. I've def thought about this too. I do this with regular CSS as well; I tend to go from as broad as possible to as specific. That means that things that will have the largest impact on appearance go first. I also tend to split layout and styling into separate files, but since that's not an option here, I'll omit that. Anyway. I'd start with layout, then move onto colours wherever applicable (background, foreground, borders, images etc) then onto finer detail (text underlines, font styles, border radii, animations etc. Hope that helps |
Beta Was this translation helpful? Give feedback.
-
I’ve been using https://github.com/heybourn/headwind to sort styles 😄 |
Beta Was this translation helpful? Give feedback.
-
I really like the idea of this library but the one bottleneck I'm having is when I go back to refactor a component, I find I spend most of my time having to search through all the classes in that component. Is anyone using a systematic approach to applying tailwind classes? eg. structure styles first then skin styles or just alpha. Is this even an issue for anyone?
Beta Was this translation helpful? Give feedback.
All reactions