From 391d18a11ea4451c2efc2c624dcc90ce6dcbd009 Mon Sep 17 00:00:00 2001 From: Liam Warfield Date: Sat, 10 Jan 2026 14:24:15 -0700 Subject: [PATCH] web: fix flash of unstyled content during load MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add background color to #main in loader styles to prevent white flash while app CSS loads after WASM initialization. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- gui/public/loader.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gui/public/loader.js b/gui/public/loader.js index 1a86cfc..f9cb200 100644 --- a/gui/public/loader.js +++ b/gui/public/loader.js @@ -30,6 +30,9 @@ '}' + '@keyframes wasm-spin {' + 'to { transform: rotate(360deg); }' + + '}' + + '#main {' + + 'background-color: oklch(0.15 0.01 338.64);' + '}'; document.head.appendChild(style);