Skip to content

Commit 63361e4

Browse files
author
GeneAI
committed
fix: Improve blog tag contrast - change from blue on blue to neutral colors
Changed blog post tags from blue background with blue text to neutral background with primary text color for better readability and accessibility. Before: bg-[var(--primary)] bg-opacity-10 text-[var(--primary)] After: bg-[var(--border)] text-[var(--text-primary)] Fixes blue-on-blue contrast issue reported by user.
1 parent 549738d commit 63361e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/app/blog/[slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default async function BlogPostPage({ params }: PageProps) {
9090
{post.tags.map((tag) => (
9191
<span
9292
key={tag}
93-
className="px-3 py-1 bg-[var(--primary)] bg-opacity-10 text-[var(--primary)] rounded-full text-sm font-semibold"
93+
className="px-3 py-1 bg-[var(--border)] text-[var(--text-primary)] rounded-full text-sm font-semibold"
9494
>
9595
{tag}
9696
</span>

0 commit comments

Comments
 (0)