Replies: 1 comment
-
None of them work because Furthermore, the second doesn't work because:
The correct form is |
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
-
What version of Tailwind CSS are you using?
v4.0.0
What build tool (or framework if it abstracts the build tool) are you using?
Vite 5.2.12
What version of Node.js are you using?
10.9.0
What browser are you using?
Arc/Chrome
What operating system are you using?
macOS
Reproduction URL
https://play.tailwindcss.com/K2Rma8KsrH
Describe your issue
When migrating to tailwind v4, I noticed that one of my background patterns disappeared. When recreating this scenario with the tailwind sandbox, I noticed that this is only an issue with svgs. In my attempt, I tried 3 different ways to get it to work: using @theme variables, using :root variables, and inserting the link inline. None of these worked
You can see what I am attempting to do if you go to https://alan-khalili.com/ and look and look at the sliding text with my github repos.
edit: After tinkering with this more, I noticed that when the url directly contains the '.svg' extension, it works (playground link), but that still does not work with some services like https://uploadthing.com/ that do not have file extensions in the link
Beta Was this translation helpful? Give feedback.
All reactions