From b05ded032a12f9693d185838adbe522be1d807c9 Mon Sep 17 00:00:00 2001 From: mkfain Date: Sat, 23 May 2026 14:02:27 -0500 Subject: [PATCH] About: deeper, alternating dark-mode section backgrounds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces the previous near-uniform dark surfaces (#0e1218 / #11151c) with genuinely dark, alternating tones plus a subtle world-map texture on two sections, so the page reads as an editorial document in dark mode the same way it does in light mode. Section background mapping (dark mode) Section Was Now ----------------------- ---------- ------------ Hero #0a0c14 #0a0c14 (unchanged) Three steps #11151c #0a0c14 + texture Two ways to get paid #0e1218 #13181f + texture Frequently asked #11151c #0a0c14 Pick the side #0e1218 #13181f The two alternating tones (#0a0c14 / #13181f) preserve the cream/white rhythm from light mode. Sections 2 and 3 gain a dark-only world-map background image at 5-6% opacity (the same texture used in the hero) so they don't read as flat slabs. The texture is gated behind 'hidden dark:block' so it has zero impact on the light-mode rendering. Card surface lifted bg-[#1a1f29] → bg-[#1c2230] across StepCard, RailCard, GuideCard, the FAQ accordion card-row (reference mode), the FAQ card variant, and the FAQ tab pill. Hover-state for the tab pill follows from #222937 to #252b3a. Net effect: cards now sit ~12 lightness above the deepest section background and ~6 above the lifted one, keeping clear elevation against both tones. --- src/components/HelpFAQSection.tsx | 6 ++--- src/pages/AboutPage.tsx | 42 +++++++++++++++++++++++-------- 2 files changed, 34 insertions(+), 14 deletions(-) diff --git a/src/components/HelpFAQSection.tsx b/src/components/HelpFAQSection.tsx index 39e4c3b5..802ddf15 100644 --- a/src/components/HelpFAQSection.tsx +++ b/src/components/HelpFAQSection.tsx @@ -136,7 +136,7 @@ export function HelpFAQSection({ 'rounded-full px-4 py-2 text-sm font-semibold transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50', active ? 'bg-primary text-primary-foreground shadow-sm' - : 'bg-white dark:bg-[#1a1f29] text-gray-700 dark:text-gray-300 border border-gray-200 dark:border-white/10 hover:border-gray-300 dark:hover:border-white/20 hover:bg-gray-50 dark:hover:bg-[#222937]', + : 'bg-white dark:bg-[#1c2230] text-gray-700 dark:text-gray-300 border border-gray-200 dark:border-white/10 hover:border-gray-300 dark:hover:border-white/20 hover:bg-gray-50 dark:hover:bg-[#252b3a]', )} aria-pressed={active} > @@ -220,7 +220,7 @@ function FAQAccordionItem({ return ( {/* Left accent rule: orange when open, transparent otherwise */} +
diff --git a/src/pages/AboutPage.tsx b/src/pages/AboutPage.tsx index abc3d841..02cc4ce0 100644 --- a/src/pages/AboutPage.tsx +++ b/src/pages/AboutPage.tsx @@ -246,11 +246,21 @@ export function AboutPage() {
- {/* ── 2. How it works, in three steps (light cream / dark slate) ──── */} + {/* ── 2. How it works, in three steps (light cream / dark navy) ──── */}
+ {/* Subtle world-map texture in dark mode only */} +
- {/* ── 3. Two ways to get paid (white / dark slate) ────────────────── */} -
+ {/* ── 3. Two ways to get paid (white / dark navy variant) ─────────── */} +
+ {/* Subtle world-map texture in dark mode only */} +
- {/* ── 4. Need help? FAQ (cream / dark slate, integrated as three chapters) ───── */} + {/* ── 4. Need help? FAQ (cream / dark navy, integrated as three chapters) ───── */}
- {/* ── 5. Pick the side you're on (white / dark slate) ─────────────── */} -
+ {/* ── 5. Pick the side you're on (white / dark navy variant) ────────── */} +
+
+
{/* Gradient header strip */}
@@ -821,7 +841,7 @@ function GuideCard({ return ( {/* Image header */}