Forums Bug Reports Thread

mobieusAI Q&A drawer source pill hardcodes blue text (#1d4ed8) that fails on dark themes

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

Area: mobieusAI (audit p11) · Surface: mobieusAI floating Q&A drawer (#mai-drawer, every logged-in member with the flag) · Dimension: Law 3 contrast · Severity: minor

The mobieusAI answer drawer tags each cited source with a small 'kind' pill (KNOW / FORUM / etc.). The pill's text color is a hardcoded dark blue that was chosen for the light theme; on dark themes it becomes dark navy text on a faint blue tint over a black bubble, hard to read. The rest of the drawer is token-clean, making this an easy fix.

Evidence

platform/templates/partials/mobieus-ai-drawer.php:86-90 `#mai-stream .meta-pill { ... background:rgba(95,134,255,.14); color:#1d4ed8; ... }`. The pill sits inside `.msg.ai` whose background is `var(--color-bg-card,#fff)` (line 71). In dark themes `--color-bg-card` is near-black (#0a0a0a), so the pill is a faint blue tint with a dark navy `#1d4ed8` label — dark-on-dark. Every other color in this partial correctly uses `var(--color-text-*)`/`var(--color-accent)` tokens, so this one hardcoded value is an outlier.

Suggested fix. Change `.meta-pill` color from `#1d4ed8` to `var(--color-accent, #5f86ff)` (the accent token is already used elsewhere in this same file, e.g. line 83 for source links) and let the background tint stay.

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 .meta-pill color from hardcoded #1d4ed8 to var(--color-accent,#5f86ff) on line 88 of mobieus-ai-drawer.php, keeping the rgba(95,134,255,.14) background tint. Now uses the same accent token already used for source links (line 83) so the pill text follows the active theme. php -l clean.

Status: fixed. Thread closed and locked.


Patrick Bass
@mobieus

Log in or register to reply to this thread.