From f25dfaa81ba8014b892500946bc9c7075a5c8ffd Mon Sep 17 00:00:00 2001 From: Nicolas Ettlin Date: Sun, 2 Aug 2026 14:06:54 -0700 Subject: [PATCH] Fix text contrast in menu elements --- src/components/MegaMenuItem.tsx | 4 +++- src/components/Navbar.tsx | 14 ++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/components/MegaMenuItem.tsx b/src/components/MegaMenuItem.tsx index 3fdc4cb16..9579062eb 100644 --- a/src/components/MegaMenuItem.tsx +++ b/src/components/MegaMenuItem.tsx @@ -82,7 +82,9 @@ export function MegaMenuItem({ {/* Rest = neutral tint (Figma neutral/tint/200); brightens to text-primary on hover. Plain string (not twMerge) so the DS size utility and the color utilities coexist. */} - + {title} {badge ? ( diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 77312b85e..b291cec4e 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -1005,7 +1005,9 @@ function MegaMenuContent({ variant === 'mobile' && sectionIndex > 0 && 'pt-3', )} > -
+
{section.label}
-
+
Blog & Release Notes
0 ? (
-
+
{aboutSection.label}
{/* "Work with" + the TanStack lockup read together as "Work with TanStack" (Figma: terracotta/200 label above the landscape mark). */} -
+
{rail.title}