From ea1a9bb4e55796fc70678c4ffa46b49f2bd22254 Mon Sep 17 00:00:00 2001 From: glass beadian Date: Tue, 13 Oct 2026 19:42:06 +0000 Subject: [PATCH] =?UTF-8?q?e2e:=20brand=20palette=20guard=20=E2=80=94=20fa?= =?UTF-8?q?ils=20on=20blue-family=20colors=20in=20the=20embedded=20surface?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OKLCH-based: any computed color with hue 200–300° and chroma > 0.006 on /chat or /files/drive (both iframes included) fails the check. Run after Element/oCIS image bumps; PLAYWRIGHT_PATH can point at an existing node_modules. Found by the branding panel; threshold from the brand spec. --- scripts/e2e/brand-palette-check.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/e2e/brand-palette-check.mjs b/scripts/e2e/brand-palette-check.mjs index f2aae5c..46c0b45 100644 --- a/scripts/e2e/brand-palette-check.mjs +++ b/scripts/e2e/brand-palette-check.mjs @@ -121,7 +121,7 @@ async function checkSurface(name, url, waitMs) { console.log(`checked ${name}`); } -await checkSurface("/chat", `${API.replace("/api", "https://app.occupymedia.cc")}/chat`.replace("https://app.occupymedia.cc", "https://app.occupymedia.cc"), 16000); +await checkSurface("/chat", "https://app.occupymedia.cc/chat", 16000); await checkSurface("/files/drive", "https://app.occupymedia.cc/files/drive", 15000); if (failures.length > 0) {