JavaScript is required to toggle light/dark mode..
The API reference below documents the shared SDK and the supported sensor client packages.