Replies: 1 comment 1 reply
-
Hey! So Tailwind UI v1 (before Tailwind CSS v2 came out) had a custom color palette (that's part of what you got when you installed the @tailwindcss/ui plugin). This is because we discovered while working on Tailwind UI that the default Tailwind color palette in Tailwind CSS v1 just wasn't good enough, and we were having a hard time designing with it. The So you are either looking at an old Tailwind UI project that hasn't been updated to Tailwind 2.0, or maybe you are browsing the Now the other component to your question is the Similarly, we have The default palette in Tailwind is an example of a custom palette curated from the extended palette, with aliases applied. We use So I tried to cover all of this very extensively in the "Customizing Colors" documentation, so give that a read if you haven't already 👍🏻 |
Beta Was this translation helpful? Give feedback.
-
Can someone explain to me why Tailwind has a particular set of colors, and TailwindUI's package has a different set of colors?
For example,
bg-yellow-50
is#fdfdea
in TailwindUI and#fefce8
in core Tailwind.Beta Was this translation helpful? Give feedback.
All reactions