ElectronSystemPreferences.setAppLevelAppearance method
ElectronSystemPreferences › setAppLevelAppearance
Unofficial
Sets the appearance setting for your application, this should override the system default and override the value ofgetEffectiveAppearance. Signature:
setAppLevelAppearance(appearance: "dark" | "light" | null): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| appearance | "dark" | "light" | null | The appearance to set, or null to reset. |
Returns: void