[object Object]

← back to Rentv

consulting portal: remove dead theme-aware CSS (superseded by forced-black bg)

0960554d2bbe64865418a8cc188b1d1bcbf25ced · 2026-08-06 11:56:54 -0700 · Steve

The theme-aware --gold/accent scheme + its html.rentv-night/body.theme-dark override
never took effect once the page pinned a permanent black background (daynight doesn't
touch the accent vars at all — only the bg needed pinning). Collapse the base :root to
the bright values that actually render and drop the dead night-override rule + comment.
Visually neutral: final computed accent values unchanged.

Files touched

Diff

commit 0960554d2bbe64865418a8cc188b1d1bcbf25ced
Author: Steve <steve@designerwallcoverings.com>
Date:   Thu Aug 6 11:56:54 2026 -0700

    consulting portal: remove dead theme-aware CSS (superseded by forced-black bg)
    
    The theme-aware --gold/accent scheme + its html.rentv-night/body.theme-dark override
    never took effect once the page pinned a permanent black background (daynight doesn't
    touch the accent vars at all — only the bg needed pinning). Collapse the base :root to
    the bright values that actually render and drop the dead night-override rule + comment.
    Visually neutral: final computed accent values unchanged.
---
 public/consulting/portal.html | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/public/consulting/portal.html b/public/consulting/portal.html
index 0529cc27..ae6a1088 100644
--- a/public/consulting/portal.html
+++ b/public/consulting/portal.html
@@ -11,21 +11,15 @@
 <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:var(--wash,#121722);--ink:#eef1f6;--gold:#8a6a24;--line:rgba(200,161,90,.22);--dim:var(--sub,rgba(238,241,246,.66));--pos:#2e7d51;--neg:#b3402f;--info:#2d5fd0}
-/* Accents are theme-aware: deep readable tones on the white DAY background (daynight.js'
-   site-wide default), bright tones on the dark NIGHT background. daynight only manages
-   --bg/--ink/--sub/--wash/--line, so --gold + the semantic red/green/blue accents were
-   washing out (pale gold-on-white) in day mode until pinned here. Night is signalled by
-   html.rentv-night (FOUC pre-apply in <head>) and body.theme-dark (the daynight toggle). */
-html.rentv-night,body.theme-dark{--gold:#c8a15a;--pos:#9fd6b0;--neg:#e8a0a0;--info:#78aaff}
+: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));--pos:#9fd6b0;--neg:#e8a0a0;--info:#78aaff}
 /* 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;
       /* bg is pinned black in BOTH toggle states, so pin the BRIGHT dark-ground accents
          unconditionally too — the deep day-mode tones (gold #8a6a24 etc.) only read on
-         white and go muddy on black, so text stops standing out. These win over line 14
-         AND the night-only rule above, in day and night alike. */
+         white and go muddy on black, so text stops standing out. These win over the
+         base :root accents above, in day and night alike. */
       --gold:#c8a15a!important;--pos:#9fd6b0!important;--neg:#e8a0a0!important;--info:#78aaff!important}
 html,body{background:#000!important;color:var(--ink)!important}
 /* --dim (muted body text) and --panel (card surfaces) were hardcoded to dark-theme values,

← b1faccd8 harden(feeds): Cody sweep — xmlEsc the channel-level <link>  ·  back to Rentv  ·  Fix /consulting/slideshow dead 403: INTERNAL_STATIC guard no f8daa54d →