Tailwind doesn't override the default colors. #13572
Replies: 1 comment 2 replies
-
Seems to work okay in a sandbox example: https://play.tailwindcss.com/O1K08YHVAW Can you share the entire config file? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using the latest Tailwind version. In the docs, it says "If you’d like to completely replace the default color palette with your own custom colors, add your colors directly under the theme.colors". I have tried that and it doesn't work.
Here's my custom colors:
If I use text-blue, it shows my custom color: #0F62FE, but if i try text-blue-800, it shows the default color: #1e40af, NOT my custom color: #3F81FE.
Why does the variants like 800 does not work? Is there another way to completely replace the default colors?
Beta Was this translation helpful? Give feedback.
All reactions