From 04b96fb36c4008e7f39e6c74893d61ac0cd0dcba Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 15 Jul 2026 10:43:24 -1000 Subject: Add a light and dark theme toggle The button is emitted hidden and only revealed by the script, so a browser without JavaScript never shows a control that cannot work and the page keeps tracking the system theme. --- source/ui-shared.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/ui-shared.c') diff --git a/source/ui-shared.c b/source/ui-shared.c index 83454fe..88e5075 100644 --- a/source/ui-shared.c +++ b/source/ui-shared.c @@ -1082,6 +1082,9 @@ static void print_header(void) html_txt(ctx.cfg.root_desc); html("

\n"); } + + html("\n"); html("\n"); } -- cgit v2.8.0