From 514567ec34ff9db20083e294a0e70f770650b7e5 Mon Sep 17 00:00:00 2001 From: Jack Hsu Date: Thu, 26 Mar 2026 16:23:02 -0400 Subject: [PATCH] fix(misc): make webinar banner theme-aware with light mode support ## Current Behavior The webinar banner has a hardcoded dark background (`bg-zinc-950`) with white text, making the close button barely visible in light mode since Starlight's global styles can override inherited text colors. ## Expected Behavior The banner adapts to the current theme: light mode shows a white background with dark text and a dark CTA button (matching the Framer marketing site), while dark mode retains the existing dark background with white text and pink CTA. ## Related Issue(s) Fixes DOC-457 --- nx-dev/ui-common/src/lib/webinar-notifier.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/nx-dev/ui-common/src/lib/webinar-notifier.tsx b/nx-dev/ui-common/src/lib/webinar-notifier.tsx index 3952e331310..d08a4a6ee97 100644 --- a/nx-dev/ui-common/src/lib/webinar-notifier.tsx +++ b/nx-dev/ui-common/src/lib/webinar-notifier.tsx @@ -65,13 +65,13 @@ export function WebinarNotifier({ damping: 30, mass: 1, }} - className="fixed bottom-0 left-0 right-0 z-30 w-full overflow-hidden bg-zinc-950 text-white shadow-lg md:bottom-4 md:left-auto md:right-4 md:w-[512px] md:rounded-lg" + className="fixed bottom-0 left-0 right-0 z-30 w-full overflow-hidden border border-zinc-200 bg-white text-zinc-900 shadow-lg md:bottom-4 md:left-auto md:right-4 md:w-[512px] md:rounded-lg dark:border-transparent dark:bg-zinc-950 dark:text-white" style={{ originY: 1 }} >