-
-
Notifications
You must be signed in to change notification settings - Fork 0
♻️ move from tailwind v3 to v4 #369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,3 +44,5 @@ next-env.d.ts | |
|
|
||
| # claude | ||
| .claude-files/ | ||
|
|
||
| temp/ | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -57,7 +57,7 @@ export function GlossaryAlphabetNav({ availableLetters }: GlossaryAlphabetNavPro | |||||
| return ( | ||||||
| <div className="sticky top-24 z-30"> | ||||||
| <div className="max-w-5xl mx-auto px-4 md:px-0"> | ||||||
| <div className="rounded-lg shadow-xs bg-background/50 backdrop-blur-2xl p-2.5 border"> | ||||||
| <div className="rounded-lg shadow-2xs bg-background/50 backdrop-blur-2xl p-2.5 border"> | ||||||
|
||||||
| <div className="rounded-lg shadow-2xs bg-background/50 backdrop-blur-2xl p-2.5 border"> | |
| <div className="rounded-lg shadow-sm bg-background/50 backdrop-blur-2xl p-2.5 border"> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,7 +12,7 @@ const Featured: React.FC = async () => { | |||||
| const { t } = await getTranslation("components/marketing/landing/customer/featured"); | ||||||
|
|
||||||
| return ( | ||||||
| <header className="bg-gradient-to-t from-onruntime-magenta/10 to-transparent overflow-hidden"> | ||||||
| <header className="bg-linear-to-t from-onruntime-magenta/10 to-transparent overflow-hidden"> | ||||||
|
||||||
| <header className="bg-linear-to-t from-onruntime-magenta/10 to-transparent overflow-hidden"> | |
| <header className="bg-gradient-to-t from-onruntime-magenta/10 to-transparent overflow-hidden"> |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -17,7 +17,7 @@ const PageSwitcher: React.FC = () => { | |||||
| value={pathname} | ||||||
| className="w-fit mx-auto" | ||||||
| > | ||||||
| <TabsList className="grid w-full grid-cols-2 bg-background/50 shadow-xs backdrop-blur-2xl pointer-events-auto"> | ||||||
| <TabsList className="grid w-full grid-cols-2 bg-background/50 shadow-2xs backdrop-blur-2xl pointer-events-auto"> | ||||||
|
||||||
| <TabsList className="grid w-full grid-cols-2 bg-background/50 shadow-2xs backdrop-blur-2xl pointer-events-auto"> | |
| <TabsList className="grid w-full grid-cols-2 bg-background/50 shadow-sm backdrop-blur-2xl pointer-events-auto"> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,7 @@ const Featured: React.FC = async () => { | |
| const { t } = await getTranslation("components/marketing/landing/visitor/featured"); | ||
|
|
||
| return ( | ||
| <header className="bg-gradient-to-t from-onruntime-blue/10 to-transparent"> | ||
| <header className="bg-linear-to-t from-onruntime-blue/10 to-transparent"> | ||
|
||
| <div className="px-4 md:px-0 py-16 flex flex-col justify-center items-center max-w-5xl mx-auto"> | ||
| <div className="relative max-w-xl flex flex-col items-center gap-6"> | ||
| <h1 className="font-semibold text-5xl md:text-6xl text-foreground text-center"> | ||
|
|
@@ -48,7 +48,7 @@ const Featured: React.FC = async () => { | |
| height={30} | ||
| className={cn( | ||
| "z-[-1]", | ||
| "[mask-image:radial-gradient(300px_circle_at_center,white,transparent)]" | ||
| "mask-[radial-gradient(300px_circle_at_center,white,transparent)]" | ||
| )} | ||
| /> | ||
| </div> | ||
|
|
@@ -64,7 +64,7 @@ const Featured: React.FC = async () => { | |
| sizes="100vw" | ||
| /> | ||
|
|
||
| <div className="absolute inset-0 bg-gradient-to-t from-black/60 to-transparent flex flex-col justify-end items-center p-5 md:p-10 gap-5"> | ||
| <div className="absolute inset-0 bg-linear-to-t from-black/60 to-transparent flex flex-col justify-end items-center p-5 md:p-10 gap-5"> | ||
|
||
| <Image | ||
| className="hidden md:block self-start" | ||
| src={"/static/images/quotes.png"} | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -201,7 +201,7 @@ const Navbar: React.FC = () => { | |||||
| > | ||||||
| <div | ||||||
| className={ | ||||||
| "flex flex-col bg-background/50 rounded-lg shadow-xs backdrop-blur-2xl transition-all duration-300" | ||||||
| "flex flex-col bg-background/50 rounded-lg shadow-2xs backdrop-blur-2xl transition-all duration-300" | ||||||
|
||||||
| "flex flex-col bg-background/50 rounded-lg shadow-2xs backdrop-blur-2xl transition-all duration-300" | |
| "flex flex-col bg-background/50 rounded-lg shadow-sm backdrop-blur-2xl transition-all duration-300" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The gradient utility class syntax is incorrect for Tailwind v4. The class should use
bg-gradient-to-linstead ofbg-linear-to-l. In Tailwind v4, gradient utilities remain asbg-gradient-{direction}, notbg-linear-{direction}.