Replies: 1 comment
-
|
Tailwind gradients rely on CSS variables that rely on |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
here is the situation :
I have created a npm package, basically its a widget and I am uisng tailwind as css in it.
for css I am injecting the unpkg file at rendering time and I am rendering this widget in a shadow dom.
now when i test it in a newly created react applicaiton its working but when I embedded it in my main project which is aslo using tailwind for css the gradient is not working.
as you can see in index.css showing in image there is all tailwind classes and variables defined for gradient but idk why not working here ?
I implement some AI suggested solutions like
Beta Was this translation helpful? Give feedback.
All reactions