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) <noreply@anthropic.com>
This commit is contained in:
Padreug 2026-06-12 17:36:19 +02:00
commit a0c2f38ef0

View file

@ -88,6 +88,12 @@ const VALID_THEMES = new Set([
'dracula',
'nord',
'tokyo-night',
'countrysidecastle',
'darkmatter',
'emeraldforest',
'lightgreen',
'neobrut',
'starrynight',
'custom',
])