bug(dark-mode): primary save button blends into dark page background #94
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: High — core action is hard to find in dark mode
On the New Document and Edit Document pages in dark mode, the save bar contains two problems:
"SAVE & MARK AS REVIEWED" / "SAVE" primary button — uses
background: #002850(brand-navy) which is nearly indistinguishable from the dark page background (~#0f172aor similar). The button has barely any contrast against the container it sits in."SAVE" outlined button — the border color inherits a dark value, making it invisible. The button outline disappears into the dark background entirely.
The result: in dark mode the most important action on the page (saving) is visually buried.
Options
Option A — Raise primary button brightness in dark mode
Map the primary button to a lighter shade of navy in dark mode:
Contrast of
#1a4a8aon#0f172a: ~5.2:1 ✓ AAOption B — Use brand-mint as the primary action color in dark mode
#A6DAD8(brand-mint) on dark backgrounds reads as a strong, warm highlight. Use it as the button background with black text:This is fully brand-compliant (mint is an official accent), high contrast, and visually distinctive.
Option C — Add a visible border/glow to the existing navy button
Keep the dark navy background but add
box-shadow: 0 0 0 1px rgba(166,218,216,0.4)(mint ring) to make it stand out from the container without changing the color.Recommendation: Option B
Using brand-mint (
#A6DAD8) with black text in dark mode is the most distinctive and brand-consistent solution. It gives 12:1 contrast (AAA), immediately signals "primary action", and follows the brand rule of using mint as an accent against dark/black. Option A is a safe fallback if mint feels too prominent.Outlined "SAVE" button fix (both options):