From 4dc8506c9b8fc2f64e7822281b9e78e825073938 Mon Sep 17 00:00:00 2001 From: scheianu Date: Wed, 14 Oct 2026 22:45:09 +0300 Subject: [PATCH] Fix all remaining dark-theme colour bugs across the templates Follow-up to the player-modal / maintenance-page fix: the same root cause -- colours hard-coded for the light theme -- affected the whole app, in two places. 1) Inline style attributes (inline outranks the theme rules, so the light value survives dark mode and the inherited text colour turns light-on-light). base.html now carries a single, property-scoped dark-mode override layer that maps every light literal found in the templates to the theme variables: light backgrounds/whites -> dark surfaces, semantic pastels -> dark equivalents, dark text -> light text, light borders -> dark borders, plus .back-link. Scoped to body.dark-mode, so the light theme is untouched. This covers all templates, including ones not edited here and any added later. 2) Page-level