From 66128c73d8a6b64757444b40f6935803bdf53a7a Mon Sep 17 00:00:00 2001 From: Marco Sadjadi Date: Sat, 23 May 2026 18:43:57 +0200 Subject: [PATCH] fix(web): mobile menu background via inline style (Tailwind v4 quirk) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tailwind v4's `bg-[--color-X]` bracket-arbitrary syntax does not wrap the value in var(), so it compiles to `background-color: --color-bg-elevated` — an invalid color, which the browser falls back to transparent. The mobile menu was the one element that depended solely on this utility for its background, so it rendered with none. Use an inline style with explicit var() and color-mix to match the nav bar's frosted look (var(--color-bg) at 80% + backdrop-blur). Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/web/components/marketing-mobile-menu.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/apps/web/components/marketing-mobile-menu.tsx b/apps/web/components/marketing-mobile-menu.tsx index 7b1bc93..ebffe32 100644 --- a/apps/web/components/marketing-mobile-menu.tsx +++ b/apps/web/components/marketing-mobile-menu.tsx @@ -27,7 +27,16 @@ export function MarketingMobileMenu() { {open ? : } {open && ( -
+