If I remember right, the design philosophy around why Tailwind encourages you to write all the different classes out individually each time is that it wants you to reuse components rather than CSS classes because as the codebase scales and gets more complex you now know that any changes are only going to affect that component and not that component + whatever dev decided to use that custom class you made somewhere else. The other issue it solves is loads of devs making custom classes that are almost identical and cluttering up the codebase. If you're working on personal projects and know you're only ever going to need to change those three things about buttons then this is probably a great thing to use but be aware that if you're creating a commercial project and may have lots of people working on it, this is probably not the way to to go. I will see if I can find the exact part of the tailscale docs where they go into this and update this comment with the link later.<p>Edit:
The core concepts section is worth a read in it's entirety but I believe this is the relative part:<p><a href="https://tailwindcss.com/docs/reusing-styles#avoiding-premature-abstraction" rel="nofollow noreferrer">https://tailwindcss.com/docs/reusing-styles#avoiding-prematu...</a>
This looks like a very good project. I am setting up for a new project and I was planning on using ShadcnUI for it, but after reading this blog post I'm interested in trying Daisy. I like the way it's structured for customizability. Does anyone have any thoughts on using this vs Shadcn?
A wonderful UX on my mobile device. I personally am fond of Microsoft’s Fluent UI, but I can’t get their websites to work in Safari—either it doesn’t render anything (Blazor) or it manages to render but it’s just not mobile ready (React). That’s a show stopper concern for any UI library. Nevertheless I made a couple of mock-ups for which I solved those rendering issues, which later went in production. But I must say, that Daisy UI site is amazing and just a true eye candy. I think I’ll try it for my blog, it’s been long overdue to refresh the UI.
Hello, thank you for this. I recently got PR(s) to add astro/tailwind/daisyui to yakshalang.github.io from 2 devs. I'm blown away from how good the website looks now. :) Happily deleted my homegrown and badly written CSS.
I’m not surprised tailwind was not enough. If you use tailwind you’ve decided css or scss was not enough, meaning probably nothing will ever be enough for you.<p>Those unable to walk will always trade in their crutches for wheelchairs.