Toggles between light and dark theme modes.
Promise resolving to the new theme mode preference.
Sets the theme to dark mode.
Sets the theme to light mode.
Sets the theme to system preference (respects OS theme).
Promise resolving to whether system preference was applied.
Retrieves the current theme mode setting.
Promise resolving to the current mode: "dark", "light", or "system".
Theme mode control interface exposed to the renderer process. Provides methods to query and control the application's theme mode.
Source