theme-status-plugin

plugin for CapacitorJs checking if device is in dark theme

Install

npm install theme-status-plugin
npx cap sync

API

isDarkMode(...)

isDarkMode(options: { value: string; }) => Promise<{ value: string; }>
Param Type
options { value: string; }

Returns: Promise<{ value: string; }>