Hello,
I am trying to use tailwind theme colors inside SCSS and I am getting an error:
I am basically copying this use directly from an example on tailwind docs.
Any help?
Thanks!
Hello,
I am trying to use tailwind theme colors inside SCSS and I am getting an error:
I am basically copying this use directly from an example on tailwind docs.
Any help?
Thanks!
Hey. Can you share your full output as text, not an image, and provide a link to the Tailwind doc example you’re referencing, plus relevant parts of your app.scss
?
At first glance, wrap the param passed to theme()
in quotes.
Also, in case you haven’t seen, be aware of the pitfalls of using SCSS with Tailwind,