This project has been moved to the following monorepo: capawesome-team/capacitor-plugins.
@robingenz/capacitor-android-dark-mode-support
Capacitor plugin to support dark mode on Android.
| Maintainer | GitHub | Social |
|---|---|---|
| Robin Genz | robingenz | @robin_genz |
npm install @robingenz/capacitor-android-dark-mode-support
npx cap syncThis plugin will use the following project variables (defined in your app’s variables.gradle file):
$androidxWebkitVersionversion ofandroidx.webkit:webkit(default:1.2.0)
No configuration required for this plugin.
A working example can be found here: robingenz/capacitor-plugin-demo
The plugin only needs to be installed.
It enables the correct behavior of the prefers-color-scheme CSS media feature.
See CHANGELOG.md.
See LICENSE.
