Dynamical background issue @adamwathan #6810
boosting-my-adrenaline
started this conversation in
General
Replies: 1 comment 1 reply
-
Hey! See docs: https://tailwindcss.com/docs/content-configuration#dynamic-class-names |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After migrating from v2 I faced with dynamical background color / border color / shadow color issue:
className:{
bg-${color}-500
}**className: {
bg-${color}-500 bg-emerald-500
} ** or className: {bg-${color}-500 bg-amber-500
}and then erase it back to previous className:{
bg-${color}-500
} it appears and works till I restart servermacOS, Chrome,
"tailwindcss": "^3.0.8",
"postcss": "^8.4.5",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "5.0.0",
Node v16.11.0
Webpack 5.65.0
Beta Was this translation helpful? Give feedback.
All reactions