Skin and mode are per-profile localStorage, and every desktop window is a separate renderer on the same origin that reads them once at boot. Changing the theme in the HUD therefore repainted the HUD alone; the app window still held its startup value and reverted the moment you looked at it. Listen for `storage`, which fires in the OTHER windows of an origin — exactly the set that needs to catch up. |
||
|---|---|---|
| .. | ||
| backend-sync.test.ts | ||
| backend-sync.ts | ||
| color.ts | ||
| context.test.tsx | ||
| context.tsx | ||
| index.ts | ||
| install.test.ts | ||
| install.ts | ||
| presets.test.ts | ||
| presets.ts | ||
| profile-theme.test.ts | ||
| skin.test.ts | ||
| skin.ts | ||
| types.ts | ||
| use-skin-command.ts | ||
| user-themes.test.ts | ||
| user-themes.ts | ||
| vscode.test.ts | ||
| vscode.ts | ||