Tailwindcss colors not working in adonisjs? #4277
Answered
by
RomainLanz
MichaelBelgium
asked this question in
Help
-
I followed this page, but not all colors are working somehow? Eg text-white is working but not text-green-800, bg-green-500 etc Am i missing something? EDIT: i am using htmx that loads a view after a http request like:
Is it that why it can't detect the colors i used? |
Beta Was this translation helpful? Give feedback.
Answered by
RomainLanz
Oct 27, 2023
Replies: 1 comment 1 reply
-
Hey @MichaelBelgium! 👋🏻 The issue is the way you construct your classes. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MichaelBelgium
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @MichaelBelgium! 👋🏻
The issue is the way you construct your classes.
https://tailwindcss.com/docs/content-configuration#dynamic-class-names