From d09aaff78f858d64b459bc2370eea6ca168845b5 Mon Sep 17 00:00:00 2001
From: dcccrypto
Date: Thu, 16 Jul 2026 08:43:28 +0100
Subject: [PATCH] fix(theme): light-mode contrast stragglers
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- DEVNET header pill: var(--warning) instead of hardcoded amber-400
(#fbbf24 is ~1.7:1 on the light theme's white header)
- Trade utility row: address chip, copy button, Analytics link, usd/tokens
toggle, and the mobile sheet close button move from --text-dim (ghost
decoration tier, ~1.5:1) to --text-muted — they carry information or are
interactive, so they shouldn't sit in the deliberately-invisible tier
- Dashboard connect-gate preview: crisp ghost (opacity only) instead of
blur-sm, which dissolved into shapeless smudges on the light theme
Co-Authored-By: Claude Fable 5
---
app/app/dashboard/page.tsx | 7 +++++--
app/app/trade/[slab]/page.tsx | 12 ++++++------
app/components/layout/Header.tsx | 7 +++++--
3 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/app/app/dashboard/page.tsx b/app/app/dashboard/page.tsx
index b9998fba..7e441de4 100644
--- a/app/app/dashboard/page.tsx
+++ b/app/app/dashboard/page.tsx
@@ -240,9 +240,12 @@ export default function DashboardPage() {
Your personal command centre for trading on Percolator
- {/* Blurred preview */}
+ {/* Ghost preview of the dashboard layout behind the connect gate.
+ Crisp at reduced opacity, NOT blurred: blur-sm + near-white
+ panels on the light theme's white bg dissolved into shapeless
+ smudges that read as a rendering glitch rather than a preview. */}
@@ -517,7 +517,7 @@ function TradePageInner({ slab }: { slab: string }) {
Shown on all breakpoints (the pre-rebuild page only showed this on
mobile; desktop had no equivalent, which was inconsistent). */}
- {/* DEVNET badge — non-interactive pill */}
+ {/* DEVNET badge — non-interactive pill. var(--warning), not
+ hardcoded amber-400: #fbbf24 lands at ~1.7:1 on the light
+ theme's white header (near-invisible); the token resolves to a
+ readable amber-700 in light mode and stays amber in dark. */}
{network === "devnet" && (
devnet