mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-11-03 17:22:20 +01:00
console.html and logs.html are always-dark terminal pages that deliberately do not load theme.css, so the var(--text-secondary) the notice asked for resolved to nothing there and the text fell back to Bootstrap's near-black body colour — roughly 1:1 against the navy background, i.e. invisible. Fixed twice over. Every colour in the demo CSS now carries a fallback, so a page without theme.css degrades to a readable light notice instead of to nothing — that closes the whole class of bug rather than this one instance. And console.html restyles the notice in its own palette, alongside the other hardcoded colours it already owns. Measured contrast: console 12.22:1, light theme 7.76:1, dark theme 5.71:1 (WCAG AA for small text is 4.5:1). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>