Skip to content

Commit bf6e39e

Browse files
committed
fix: make hero titles visible by fixing gradient text colors
- Fix PageHero title visibility issue: - Change gradient from 'from-foreground to-muted-foreground' to 'from-white to-muted-foreground' - Keep text-transparent and bg-clip-text for proper gradient text effect - 'foreground' color was too similar to 'muted-foreground', making text invisible - 'white' provides better contrast and visibility - Problem solved: - Hero titles now visible on all pages (Brand, Product, sub-pages) - Maintains beautiful gradient text effect - Consistent with design system while ensuring readability - All hero elements (icon, title, description) now properly visible
1 parent 5f344bb commit bf6e39e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ui/PageHero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function PageHero({
4848
initial={{ opacity: 0, y: 30 }}
4949
animate={{ opacity: 1, y: 0 }}
5050
transition={{ duration: 0.8, delay: 0.2, ease: 'easeOut' }}
51-
className="text-5xl md:text-7xl font-bold mb-6 bg-gradient-to-r from-foreground to-muted-foreground bg-clip-text text-transparent"
51+
className="text-5xl md:text-7xl font-bold mb-6 bg-gradient-to-r from-white to-muted-foreground bg-clip-text text-transparent"
5252
>
5353
<BlurReveal duration={600}>
5454
{title}

0 commit comments

Comments
 (0)