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:
parent
db074e2ddd
commit
a0c2f38ef0
1 changed files with 6 additions and 0 deletions
|
|
@ -88,6 +88,12 @@ const VALID_THEMES = new Set([
|
|||
'dracula',
|
||||
'nord',
|
||||
'tokyo-night',
|
||||
'countrysidecastle',
|
||||
'darkmatter',
|
||||
'emeraldforest',
|
||||
'lightgreen',
|
||||
'neobrut',
|
||||
'starrynight',
|
||||
'custom',
|
||||
])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue