plugin for CapacitorJs checking if device is in dark theme
npm install theme-status-plugin
npx cap sync
isDarkMode(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>