You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So in the prior version of tailwindcss, I used to have config file which helped me to set a custom theme for the entire app based on the value of an env variable.
But ever since the tailwind config was deprecated in favor of .css way of doing things, I am unable to do this. Even including the config file in the css file doesn't seem to work. Basically I just want to be able to use the clientTheme as the color utility classes but the value has to be taken from the env file. I am at a loss on how to do this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
So in the prior version of tailwindcss, I used to have config file which helped me to set a custom theme for the entire app based on the value of an env variable.
But ever since the tailwind config was deprecated in favor of .css way of doing things, I am unable to do this. Even including the config file in the css file doesn't seem to work. Basically I just want to be able to use the
clientTheme
as the color utility classes but the value has to be taken from the env file. I am at a loss on how to do this.Beta Was this translation helpful? Give feedback.
All reactions