Forums Bug Reports Thread

Forum settings save-bar renders white text on white background in light theme

Patrick Bass · Jun 6 · 10 · 1 Locked
[Major] [High Priority] [Bug Fixed] [Always Reproduces]
🚀 OP Jun 6, 2026 8:51pm

Area: Forums (re-run) (audit p2r) · Surface: /forums/{slug}/settings (ForumSettingsController@show) · Dimension: Law 3 — contrast · Severity: major

The sticky 'unsaved changes' save bar at the bottom of forum settings hardcodes white text but pulls its background from the theme card token. The default (dark) theme card is dark so white text reads fine, but in the light theme the card token is #ffffff, producing white-on-white. The save count and the Save button label become unreadable exactly when a tenant moderator needs to know they have unsaved changes.

Evidence

platform/templates/forums/settings.php:442 — `.fs-savebar{position:fixed;...;background:var(--color-bg-card,#0E1228);color:#fff;...}`. The `#0E1228` is only a fallback when the var is unset. In the light theme `--color-bg-card:#ffffff` (style.css:9945, `[data-theme="light"]`), so the savebar resolves to white background with hardcoded `color:#fff` white text = invisible. The dark-page override at settings.php:448-451 only re-skins `.fs-card`, `.fs-tool`, `.fs-tabs` — it never touches `.fs-savebar`, so nothing corrects it for the light theme.

Suggested fix. Stop deriving the savebar background from the generic card token. Give it its own always-dark surface token (or set `color:var(--color-text-primary)` so the text follows the theme), and add a `[data-theme="light"]` rule that keeps a dark pill or flips the text to a dark ink. Mirror the dark-page override block that already exists for .fs-card.

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


Patrick Bass
@mobieus

🚀 Jun 7, 2026 4:59am

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

The .fs-savebar derived its background from var(--color-bg-card,#0E1228) but pairs it with permanent color:#fff; in light theme --color-bg-card resolves to #fff, giving white-on-white. Changed the background to a literal always-dark #0E1228 since the savebar is an intentionally dark floating pill, so the white text reads in both themes.

Status: fixed. Thread closed and locked.


Patrick Bass
@mobieus

Log in or register to reply to this thread.