From 03089a12ce98cea4a2c8a2115149b960c9d08fda Mon Sep 17 00:00:00 2001 From: john Date: Fri, 11 Sep 2026 11:33:32 +0800 Subject: [PATCH] feat(portal): default to dark theme for new visitors First-time and cleared-storage users see dark mode; saved light preference is unchanged. Inline boot script avoids a light flash before React loads. Co-authored-by: Cursor --- index.html | 11 ++++++++++- public/oa-drive/app.js | 3 ++- src/utils/theme.ts | 3 ++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 48cd2fc..58d5cfa 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,16 @@ - + +