From b8ecfce5f0a14207eb9dda5845a897c6fcd4cb2b Mon Sep 17 00:00:00 2001 From: ijuanes Date: Tue, 23 Jun 2026 20:54:15 +0100 Subject: [PATCH] Add dark mode toggle with persistence and fix visibility issues - Add Font Awesome for moon/sun icons - Add dark mode CSS styles for body, inputs, tables, flash messages - Add theme toggle button next to language switcher - Add localStorage persistence for theme preference - Fix code/bg-gray-100 visibility in dark mode - Fix table header text color in dark mode --- templates/base.html | 124 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) diff --git a/templates/base.html b/templates/base.html index 705aa98..b748570 100644 --- a/templates/base.html +++ b/templates/base.html @@ -11,6 +11,9 @@ + + + @@ -129,6 +215,12 @@ {{ lang_name }} {% endfor %} + + + + 🌙 + + @@ -221,5 +313,37 @@ + + +