From b48d67a82335b032b4d357a19eb6108f0c1be882 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 19 Oct 2026 14:34:08 +0800 Subject: [PATCH] pin the boot fallback to the dark palette The inline boot styles and FOUC script still branched on the removed light/dark and ink/comic settings, so the first paint flashed the old light surface before Vue mounted. Match the single dark theme and give the logo sweep the neon tint. --- packages/client/index.html | 44 ++++++-------------------------------- 1 file changed, 6 insertions(+), 38 deletions(-) diff --git a/packages/client/index.html b/packages/client/index.html index 46bfb0a..b979379 100644 --- a/packages/client/index.html +++ b/packages/client/index.html @@ -6,7 +6,7 @@ - + @@ -20,25 +20,17 @@ body { margin: 0; - background: #f7f7f4; - } - - html.dark body { - background: #1a1a1a; + background: oklch(0.155 0.012 250); } .boot-fallback { min-height: 100vh; display: grid; place-items: center; - color: #222222; + color: oklch(0.945 0.006 200); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; } - html.dark .boot-fallback { - color: #f0f0f0; - } - .boot-fallback__logo-wrap { position: relative; display: block; @@ -52,7 +44,7 @@ content: ""; position: absolute; inset: 0; - background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.85) 48%, transparent 66%); + background: linear-gradient(105deg, transparent 30%, rgba(45, 212, 191, 0.55) 48%, transparent 66%); transform: translateX(-140%); mix-blend-mode: screen; pointer-events: none; @@ -80,33 +72,9 @@ } - +