• 0 Posts
  • 10 Comments
Joined 1 year ago
cake
Cake day: June 29th, 2023

help-circle
  • gestalt@lemmy.worldtoProgrammer Humor@lemmy.ml***
    link
    fedilink
    arrow-up
    4
    ·
    7 months ago

    That’s where the good system design part comes in.

    If you have a dozen identical looking components, they should have been one component imported into a dozen places. Keep it DRY.

    If you’re more concerned about stuff like common borders or background colors being applied everywhere, you can always use the “@apply” directive to create a new reusable class.

    Tailwind makes creating and iterating through design concepts so much faster and easier if your system is designed well.