From 57a4f358d15409e22b585cd3fa3b387d29a0b067 Mon Sep 17 00:00:00 2001 From: Mark Henderson Date: Fri, 6 Mar 2026 10:47:45 -0800 Subject: [PATCH] QA: fix dark/light mode rendering across all scaffolds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aceternity (critical — light mode was completely broken): - text/muted/card/border now respond to isDark instead of only forcedLight - gradient-text h1 was white→transparent gradient (invisible on light bg); now switches to indigo gradient in light mode - Minimal nav background was hardcoded dark; now adapts per isDark - Floating nav background adapts per isDark - "Browse components" button bg adapts per isDark - 9x hardcoded color:"#fff" on content text replaced with color:text (lamp h1, typewriter word spans, feature titles, moving card names, bento MRR/Users/Uptime values, pricing prices, CTA heading, nav logo) DaisyUI: - noise background option now renders a visible SVG fractalNoise pattern Made-with: Cursor --- components/design-scaffolds/marketing.tsx | 44 +++++++++++++---------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/components/design-scaffolds/marketing.tsx b/components/design-scaffolds/marketing.tsx index e334ba5..d1e96ff 100644 --- a/components/design-scaffolds/marketing.tsx +++ b/components/design-scaffolds/marketing.tsx @@ -214,6 +214,9 @@ export function MarketingDaisy({ themeColor, config }: { themeColor?: ThemeColor {bgStyle === "pattern" && (
)} + {bgStyle === "noise" && ( +
+ )} {/* Nav */} {navStyle === "pill" ? ( @@ -505,10 +508,11 @@ export function MarketingAceternity({ themeColor, config }: { themeColor?: Theme const forceShader = bgStyle === "shader"; const bg = forcedBlack ? "#000" : forcedLight ? "#f8f9ff" : forceShader ? "#06010e" : isDark ? ACE_BG_BASE : ACE_BG_LIGHT; - const text = (forcedLight) ? "#1e1b4b" : "#fff"; - const muted = forcedLight ? "#6b7280" : "rgba(255,255,255,0.42)"; - const card = forcedLight ? "rgba(0,0,0,0.04)" : "rgba(255,255,255,0.04)"; - const border= forcedLight ? "rgba(0,0,0,0.09)" : "rgba(255,255,255,0.08)"; + // text/muted/card/border must respond to isDark (not just forcedLight=aurora) + const text = isDark ? "#fff" : "#1e1b4b"; + const muted = isDark ? "rgba(255,255,255,0.42)" : "#6b7280"; + const card = isDark ? "rgba(255,255,255,0.05)" : "rgba(0,0,0,0.04)"; + const border= isDark ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.1)"; const BgLayer = () => { if (bgStyle === "gradient") return ( @@ -623,7 +627,7 @@ export function MarketingAceternity({ themeColor, config }: { themeColor?: Theme {/* Nav */} {navStyle === "floating" ? (
-
) : ( -