import { BrowserWindow } from "electrobun/main"; import type { AppSettings } from "../shared/types"; /** * The preload globals every window gets. Single composition point: the UI * reads them in ui/src/app/core/platform.ts before first paint (window chrome and * root-component selection both depend on them). * * The persisted theme attributes are baked in here — mirroring the * delete/set logic of SettingsService.applyX — so the FIRST paint is already * themed (the inline