Description
This is minor (and I'm a bit of an edge case upgrading manually) but hopefully it's quick and easy to add another class or two to the upgrade guide to save others some time.
What component (if applicable)
- URL for category: https://tailwindcss.com/docs/upgrade-guide
- Component name: Docs
Describe the bug
The list of deprecated classes in the v4 upgrade guide doesn't mention a class that was previously used in Tailwind UI Plus themes. Specifically:
- <div class="absolute -right-60 -top-44 h-60 w-[36rem] transform-gpu md:right-0 bg-[linear-gradient(115deg,var(--tw-gradient-stops))] from-[#9DA39A] from-[28%] via-[#B98389] via-[40%] to-[#DB2955] rotate-[-10deg] rounded-full blur-3xl"></div>
+ <div class="absolute -right-60 -top-44 h-60 w-[36rem] transform-gpu md:right-0 bg-linear-115 from-[#9DA39A] from-28% via-[#B98389] via-40% to-[#DB2955] rotate-[-10deg] rounded-full blur-3xl"></div>
To Reproduce
- Use Radiant theme for Tailwind v3 (using
tailwindcss-rails
gem and importmaps... no JS tooling such asnpm
oryarn
) - Upgrade to Tailwind 4 (without upgrade tooling)
- Search and replace codebase for deprecated class changes
- Theme remains broken
It's possible this would have been avoided by using the upgrade tooling but I wanted to see if I could upgrade to v4 without installing npm or yarn.
Expected behavior
Docs should mention that bg-[linear-gradient(115deg,var(--tw-gradient-stops))]
has been deprecated (especially since it was used in an "official" theme)
Screenshots
N/A
Browser/Device (if applicable)
N/A
Additional context
N/A