theme() is not recognized #2197
Unanswered
MihneaNandra
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know it may be a silly question but I cannot find the answer anywhere.
I'm using Tailwind with CRA and CSS modules.
I've overwritten the default theme colors to my own ones.
When I try to use the colors inside my CSS modules like this,
.amountSign { color: theme('colors.pink'); }
it seems like theme() is not recognized.
Should I import something from somewhere to make theme() recognizable? Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions