Skip to content

Documentation issue - deprecated class missing in upgrade guide #1684

Closed
@matt17r

Description

@matt17r

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)

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

  1. Use Radiant theme for Tailwind v3 (using tailwindcss-rails gem and importmaps... no JS tooling such as npm or yarn)
  2. Upgrade to Tailwind 4 (without upgrade tooling)
  3. Search and replace codebase for deprecated class changes
  4. 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions