From 8bfcabd58d7f53604384b4745bc5b676f69530ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Sun, 28 Jun 2026 14:12:37 +0200 Subject: [PATCH] Match system color scheme at page load MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a synchronous head script to the compliance portal that sets the .dark class on when the OS prefers a dark scheme, so the v2 Radix theme resolves to dark values before first paint with no flash. Declare a color-scheme meta so native UI matches the active scheme. Signed-off-by: Émile Ré --- apps/compliance-portal/index.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/compliance-portal/index.html b/apps/compliance-portal/index.html index 330c337e5..e61611c40 100644 --- a/apps/compliance-portal/index.html +++ b/apps/compliance-portal/index.html @@ -12,6 +12,16 @@ })(); + + + +