From a0c2f38ef0e9820c5d5e7b1027088420a62725f8 Mon Sep 17 00:00:00 2001 From: Padreug Date: Fri, 12 Jun 2026 17:36:19 +0200 Subject: [PATCH] fix(machine): add 6 new themes to electron VALID_THEMES allowlist db074e2 added countrysidecastle/darkmatter/emeraldforest/lightgreen/ neobrut/starrynight to the renderer's ThemeId union and style.css but not to the electron main-process branding allowlist. branding.json 'theme' values outside the allowlist were silently dropped (theme=null), so the renderer fell through to the localStorage theme (cyberpunk). Co-Authored-By: Claude Opus 4.8 (1M context) --- apps/machine/electron/main.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/machine/electron/main.ts b/apps/machine/electron/main.ts index 59cbcd5..2ed9b12 100644 --- a/apps/machine/electron/main.ts +++ b/apps/machine/electron/main.ts @@ -88,6 +88,12 @@ const VALID_THEMES = new Set([ 'dracula', 'nord', 'tokyo-night', + 'countrysidecastle', + 'darkmatter', + 'emeraldforest', + 'lightgreen', + 'neobrut', + 'starrynight', 'custom', ])