set_theme
Switch the UI theme to dark, light, or auto mode to match the OS appearance. Changes take effect instantly and persist without restart.
Instructions
Switch the UI theme. "dark" / "light" force one mode; "auto" follows the OS appearance. Mirrors Settings → Appearance → Theme. Persists to electron-store and propagates to the renderer (light-theme body class + localStorage.windy_theme) live — no app restart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | Yes | Theme mode. |