Replies: 1 comment 1 reply
-
Ok on investigating further it looks like it's using the color palette from Tailwind CSS v2. The question is why? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks, I'm trying to configure my repo to allow either
tw
orclassNames
props, so that I can merge two code bases.I have come across something strange with colors:
As you can see there are two different shades of green resulting from the same class
bg-green-500
. From what I can tell the top one is actually Emerald 500 from the Tailwind CSS palette.The above is in a fresh repo with:
It happens both in dev and with prod build so I don't think it's the Babel cache mentioned in other discussions.
In other experiments I've had a color not found error when trying to use a color from the default Tailwind CSS palette:
So does Twin use its own palette?
Beta Was this translation helpful? Give feedback.
All reactions