[object Object]

← back to Rentv 2026

consulting portal: force permanent black background (override daynight day-mode washout)

0e0b17f3cd5723afac153eac8db9dcda5c40f603 · 2026-08-06 11:00:35 -0700 · Steve Abrams

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit 0e0b17f3cd5723afac153eac8db9dcda5c40f603
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Aug 6 11:00:35 2026 -0700

    consulting portal: force permanent black background (override daynight day-mode washout)
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 public/consulting/portal.html | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/public/consulting/portal.html b/public/consulting/portal.html
index 47609cf0..b47578cc 100644
--- a/public/consulting/portal.html
+++ b/public/consulting/portal.html
@@ -11,7 +11,17 @@
 <script src="https://unpkg.com/leaflet.markercluster@1.5.3/dist/leaflet.markercluster.js"></script>
 <script src="/consulting/deal-score.js"></script>
 <style>
-:root{--bg:#0c1016;--panel:#121722;--ink:#eef1f6;--gold:#c8a15a;--line:rgba(200,161,90,.22);--dim:rgba(238,241,246,.66)}
+:root{--bg:#0c1016;--panel:var(--wash,#121722);--ink:#eef1f6;--gold:#c8a15a;--line:rgba(200,161,90,.22);--dim:var(--sub,rgba(238,241,246,.66))}
+/* Force a permanent BLACK background on this page. daynight.js sets --bg/--ink/--sub/--wash/--line
+   as INLINE styles on <html> without !important; a stylesheet !important rule outranks a
+   non-important inline style, so these pins win in BOTH day and night mode and can't wash out. */
+:root{--bg:#000!important;--ink:#eef1f6!important;--sub:rgba(238,241,246,.66)!important;--wash:#121722!important;--line:rgba(200,161,90,.22)!important}
+html,body{background:#000!important;color:var(--ink)!important}
+/* --dim (muted body text) and --panel (card surfaces) were hardcoded to dark-theme values,
+   but the site-wide daynight.js toggle only overrides --bg/--ink/--sub/--wash/--line on <html>.
+   In day mode that left near-white --dim text on a white --bg (invisible) and dark --panel cards
+   on a white page. Point these two orphans at the theme vars daynight manages so they flip in
+   lockstep; the dark literals remain as fallbacks if the toggle ever isn't loaded. */
 *{margin:0;padding:0;box-sizing:border-box}
 body{background:var(--bg);color:var(--ink);font-family:'Jost',system-ui,sans-serif;font-size:19px;line-height:1.75;-webkit-font-smoothing:antialiased}
 .disp{font-family:'Cormorant Garamond',Georgia,serif}a{color:inherit;text-decoration:none}

← f57a571a Move Regions + Market Snapshot into the right hamburger (Sec  ·  back to Rentv 2026  ·  consulting portal: make gold + semantic accents theme-aware d72a1293 →