Unable to utilize custom colors and their associated classes #158
-
I have this config:
If I use This doesn't work:
This works and bg-secondary has the appropriate values generated:
This is how I import tailwind in my main CSS:
This is how I import my main css inside
Is there something missing with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It shouldn't be a babel cache issue then since you've cleared your cache folders. Perhaps make a change in the I replicated your setup here and got it working so perhaps you could compare. |
Beta Was this translation helpful? Give feedback.
It shouldn't be a babel cache issue then since you've cleared your cache folders. Perhaps make a change in the
Nav
component file to trigger a recompile just to make sure.I replicated your setup here and got it working so perhaps you could compare.
Make sure your config matches the twin config in
package.json
too.