From 0fa723e482c334e95b9ca5c24b2ec1aa46b2c76b Mon Sep 17 00:00:00 2001 From: s8n Date: Fri, 8 May 2026 03:44:24 +0100 Subject: [PATCH] index.html: inline critical-path black bg + red button to kill pre-bundle flash --- docs/10-spa-runtime-shim.md | 64 ++++++++++++++++++++++++++++++++++++- web-overrides/index.html | 17 +++++++++- 2 files changed, 79 insertions(+), 2 deletions(-) diff --git a/docs/10-spa-runtime-shim.md b/docs/10-spa-runtime-shim.md index d2be58d..03bcfa0 100644 --- a/docs/10-spa-runtime-shim.md +++ b/docs/10-spa-runtime-shim.md @@ -131,7 +131,69 @@ private invite-only service. more code, add it to the IIFE in `bin/inject-shim.py` and re-run. - **First-paint flash.** Because the SPA still loads its own bundle, you may briefly see "Jellyfin" in the tab title before the observer kicks in. Sub-100ms - on a fast connection - acceptable. + on a fast connection - acceptable. For the colour flash (dark blue / grey + before Cineplex CSS arrives), see "Pre-bundle critical-path styles" below. + +--- + +## Pre-bundle critical-path styles + +A second inline block — a `