Skip to content

Commit 650c6f2

Browse files
Copilothuangyiirene
andcommitted
Fix homepage font colors for better readability
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
1 parent 93865a1 commit 650c6f2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

apps/docs/app/[lang]/page.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ export default async function HomePage({
2727
{t.hero.title.line1} <br/> {t.hero.title.line2}
2828
</h1>
2929

30-
<p className="mx-auto max-w-2xl text-lg text-fd-muted-foreground sm:text-xl leading-relaxed">
30+
<p className="mx-auto max-w-2xl text-lg text-fd-foreground/80 sm:text-xl leading-relaxed">
3131
{t.hero.subtitle.line1}
3232
<br className="hidden sm:inline" />
33-
<span className="text-fd-foreground font-medium">{t.hero.subtitle.line2}</span>
33+
<span className="text-fd-foreground font-semibold">{t.hero.subtitle.line2}</span>
3434
</p>
3535

3636
<div className="flex flex-col sm:flex-row items-center justify-center gap-4 pt-4">
@@ -124,7 +124,7 @@ export default async function HomePage({
124124

125125
{/* Personas Section */}
126126
<div className="mt-32 mb-16 w-full max-w-5xl px-4">
127-
<h2 className="text-3xl font-bold tracking-tight mb-12 bg-gradient-to-r from-fd-foreground to-fd-muted-foreground bg-clip-text text-transparent">
127+
<h2 className="text-3xl font-bold tracking-tight mb-12 bg-gradient-to-r from-fd-foreground to-fd-foreground/70 bg-clip-text text-transparent">
128128
{t.personas.heading}
129129
</h2>
130130
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
@@ -166,7 +166,7 @@ function FeatureCard({ icon, title, description, href }: { icon: React.ReactNode
166166
<h3 className="mb-2 text-lg font-semibold text-fd-card-foreground group-hover:text-fd-primary transition-colors">
167167
{title}
168168
</h3>
169-
<p className="text-sm text-fd-muted-foreground leading-relaxed">
169+
<p className="text-sm text-fd-foreground/70 leading-relaxed">
170170
{description}
171171
</p>
172172
</div>
@@ -188,7 +188,7 @@ function PersonaCard({ icon, title, description, href, action }: { icon: React.R
188188
<Link href={href} className="flex flex-col items-start p-8 rounded-2xl bg-fd-secondary/30 border border-fd-border/50 hover:bg-fd-secondary/60 hover:border-fd-primary/30 transition-all group text-left">
189189
{icon}
190190
<h3 className="text-xl font-bold mb-3">{title}</h3>
191-
<p className="text-fd-muted-foreground mb-6 text-sm leading-relaxed flex-grow text-left">
191+
<p className="text-fd-foreground/70 mb-6 text-sm leading-relaxed flex-grow text-left">
192192
{description}
193193
</p>
194194
<div className="flex items-center text-sm font-semibold text-fd-primary mt-auto group-hover:translate-x-1 transition-transform">

0 commit comments

Comments
 (0)