From 667b8038afbf59740503d08e86c8f70ccef7f1f8 Mon Sep 17 00:00:00 2001 From: RhenCloud Date: Sun, 2 Aug 2026 08:14:03 +0800 Subject: [PATCH] feat(web): auto dark mode for terms and privacy pages Tokenize the legal page palette into CSS variables and add a prefers-color-scheme:dark override so /terms and /privacy follow the device theme, matching the landing page and admin console. --- src/legal-routes.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/legal-routes.ts b/src/legal-routes.ts index defd2e2..7af7ef3 100644 --- a/src/legal-routes.ts +++ b/src/legal-routes.ts @@ -30,7 +30,8 @@ function layout(opts: { ${title} ยท WebHooker