refactor: update text colors in BlogPostPage, FeaturesSection, and HeaderSection components to use primary color

This commit is contained in:
javayhu 2025-08-24 21:10:08 +08:00
parent 610346055f
commit 00405d5335
3 changed files with 4 additions and 4 deletions

View File

@ -212,8 +212,8 @@ export default async function BlogPostPage(props: BlogPostPageProps) {
{relatedPosts && relatedPosts.length > 0 && (
<div className="flex flex-col gap-8 mt-8">
<div className="flex items-center gap-2">
<FileTextIcon className="size-4 text-muted-foreground" />
<h2 className="text-lg tracking-wider font-semibold text-gradient_indigo-purple">
<FileTextIcon className="size-4 text-primary" />
<h2 className="text-lg tracking-wider font-semibold text-primary">
{t('morePosts')}
</h2>
</div>

View File

@ -66,7 +66,7 @@ export default function FeaturesSection() {
<div className="grid gap-12 sm:px-12 lg:grid-cols-12 lg:gap-24 lg:px-0">
<div className="lg:col-span-5 flex flex-col gap-8">
<div className="lg:pr-0 text-left">
<h3 className="text-3xl font-semibold lg:text-4xl text-gradient_indigo-purple leading-normal py-1">
<h3 className="text-3xl font-semibold lg:text-4xl text-foreground leading-normal py-1">
{t('title')}
</h3>
<p className="mt-4 text-muted-foreground">{t('description')}</p>

View File

@ -43,7 +43,7 @@ export function HeaderSection({
{title ? (
<TitleComponent
className={cn(
'uppercase tracking-wider text-gradient_indigo-purple font-semibold font-mono',
'uppercase tracking-wider text-primary font-semibold font-mono',
titleClassName
)}
>