A7mad
Is DaisyUI like bootstrap on top of Tailwind? Isn’t this the opposite of what Tailwind advocates?
I decided to finally check what DaisyUI is after seeing this post as I mostly work on the backend.
Did they just reinvent bootstrap on top of Tailwind? Isn’t this the exact opposite of what Tailwind advocates?
Most Liked
josevalim
If it helps, this is discussed in the Daisy docs as well: Introduction — daisyUI Tailwind CSS Component UI Library
mayel
Don’t know (or really care) what Tailwind advocates, but using Daisy for a couple years has been a joy, and even if you don’t use any of the provided components (which anyway don’t get included during compilation unless used) it’s great just for the theming capability, so instead of bg-green-500, bg-orange-600, etc you use bg-primary, bg-secondary, etc which gives you not only light/dark themes, but the ability to easily swap colours and themes across your whole website/app (and to provide user-chosen or even user-defined themes).
waseigo
You can already define custom colors for Tailwind like primary, secondary, or anything else.
$ grep surf tailwind.config.js
surf: '#006DA3',
The real benefit of DaisyUI is that it offers ready-baked components for most situations.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex









