Skip to content

Commit 817490e

Browse files
committed
refactor(website): update GitHubRepo styling and remove shadow effect
1 parent 9fe07e9 commit 817490e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

apps/website/components/GitHubRepo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { GithubInfo } from "fumadocs-ui/components/github-info";
44
export function GitHubRepo({ className, token, ...rest }: Parameters<typeof GithubInfo>[0]) {
55
return (
66
<GithubInfo
7-
className={cn("rounded-lg", "bg-gray-100", "dark:bg-gray-800", className)}
7+
className={cn("rounded-lg", "bg-fd-card", "outline", "outline-fd-border", className)}
88
token={token ?? process.env["GITHUB_TOKEN"] ?? ""}
99
{...rest}
1010
/>

apps/website/content/docs/community.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export function CommunityShowcases() {
3535
<div className="not-prose grid grid-cols-1 gap-4 md:grid-cols-2">
3636
{repos.map(({ owner, repo }) => (
3737
<GitHubRepo
38-
className="shadow-sm"
3938
key={`${owner}/${repo}`}
4039
owner={owner}
4140
repo={repo}
@@ -50,7 +49,6 @@ export function CommunityPresets() {
5049
<div className="not-prose grid grid-cols-1 gap-4 md:grid-cols-2">
5150
{presets.map(({ owner, repo }) => (
5251
<GitHubRepo
53-
className="shadow-sm"
5452
key={`${owner}/${repo}`}
5553
owner={owner}
5654
repo={repo}

0 commit comments

Comments
 (0)