Skip to content

Commit deaeb31

Browse files
committed
style: adopt renamed Tailwind v4 utilities
- Rename bg-gradient-to-r to bg-linear-to-r (v4 renamed linear gradients), resolving the linter suggestion. - Rename bare `rounded` to `rounded-sm` so the docs nav keeps its v3 radius (v4 shifted the radius scale, so bare `rounded` no longer maps to 0.25rem).
1 parent 4d4f4f9 commit deaeb31

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

web/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default function Home() {
8585
>
8686
Sync any database,
8787
<br />
88-
<span className="bg-gradient-to-r from-(--flow) to-(--flow-2) bg-clip-text text-transparent">
88+
<span className="bg-linear-to-r from-(--flow) to-(--flow-2) bg-clip-text text-transparent">
8989
anywhere.
9090
</span>
9191
</h1>

web/components/DeveloperSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function DeveloperSection() {
3131
Made by{" "}
3232
<ExtLink
3333
href={DEVELOPER.portfolio}
34-
className="bg-gradient-to-r from-(--flow) to-(--flow-2) bg-clip-text text-transparent hover:no-underline"
34+
className="bg-linear-to-r from-(--flow) to-(--flow-2) bg-clip-text text-transparent hover:no-underline"
3535
>
3636
{DEVELOPER.name}
3737
</ExtLink>

web/components/DocsNavLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export function DocsNavLink({
2323
<Link
2424
href={href}
2525
aria-current={active ? "page" : undefined}
26-
className={`block rounded px-2 py-1 text-sm no-underline transition-colors hover:bg-(--ink-2) hover:text-(--paper) hover:no-underline ${
26+
className={`block rounded-sm px-2 py-1 text-sm no-underline transition-colors hover:bg-(--ink-2) hover:text-(--paper) hover:no-underline ${
2727
active
2828
? "border-l-2 border-(--flow) bg-(--ink-2) pl-2.5 font-medium text-(--paper)"
2929
: "text-(--muted)"

0 commit comments

Comments
 (0)