Forums Bug Reports Thread

mv-price-unit uses --color-text-muted (#888 in light) on the dark mobieusVerified banner

Patrick Bass · Jun 6 · 16 · 1 Locked
[Minor] [Normal Priority] [Bug Fixed] [Always Reproduces]
🚀 OP Jun 6, 2026 7:06pm

Area: Monetization (audit p10) · Surface: /account/verified (unsubscribed sales banner) · Dimension: contrast · Severity: minor

The "/month" price unit sits on a fixed dark blue banner but is colored with the muted text token, which becomes #888 in light theme. Dark gray on dark blue is a low-contrast pairing for small text. This is the exact 'dark-mode/muted token on a hardcoded dark background' pattern Law 3 warns against. The surrounding intentional whites (rgba(255,255,255,...)) are fine; only this token-derived unit is at risk.

Evidence

platform/templates/account/verification.php:103 `.mv-price-unit { ... color: var(--color-text-muted); }` rendered inside the dark gradient banner at line 354 `<div class="mv-price">$5<span class="mv-price-unit">/month</span></div>` (the banner background is platform/templates/account/verification.php:24 `linear-gradient(135deg, #0a1628 0%, #162550 40% ...)`). In light theme --color-text-muted resolves to #888888 (platform/public/css/style.css:9956), giving ~3.4:1 dark-gray-on-dark-blue for the small "/month" text.

Suggested fix. On the dark banner, set .mv-price-unit to a fixed light value (e.g. rgba(255,255,255,0.6)) consistent with the .mv-sub treatment, rather than the theme-variable muted token.

Filed by the automated tenant-app audit and adversarially evidence-verified. Status: verified. Open — not yet actioned.


Patrick Bass
@mobieus

🚀 Jun 7, 2026 5:44am

Resolved — fixed and deployed. Commit 059d6bf29b6f, shipped dev-first then to all tenants on 2026-06-06.

Changed .mv-price-unit color from var(--color-text-muted) to fixed rgba(255,255,255,0.6) so the '/month' unit on the always-dark mv-banner stays legible in light theme, matching the sibling .mv-sub fixed-light treatment. php -l clean.

Status: fixed. Thread closed and locked.


Patrick Bass
@mobieus

Log in or register to reply to this thread.