Why do we add the hsl() in the tailwind config and not in the global.css file? #306
Answered
by
mrzachnugent
rachelslurs
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
mrzachnugent
Jan 14, 2025
Replies: 1 comment 1 reply
-
Hey @rachelslurs, it allows the opacity modifier to work (ex: Reference: https://tailwindcss.com/docs/customizing-colors#using-css-variables |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rachelslurs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @rachelslurs, it allows the opacity modifier to work (ex:
bg-foreground/50
)Reference: https://tailwindcss.com/docs/customizing-colors#using-css-variables